SRAM vs FLASH
I would like to store data in a 16kByte SRAM. When the memory of the SRAM has for example reached 10kByte it must send it to a FLASH sd- memorycard of 1GB.
Meanwhile the SRAM is still storing new data in the SRAM cells.
Does someone knows if reading and writing simultaneously in SRAM is possible ?
And is there a maximum write/erase cycle for SRAM?
(not mentionned in ATmega datasheet)
Thank you !
Related Forum Messages
Hi, Can someone please expalin to me how the Arduino decides on flash or Sram? e.g. I have written a 4k program to the atmel328P which has 32k flash, 2k Sram amp 1k EEprom. The IDE shows the amount of flash available but the code runs in Sram. I need some clarification on this isue. Thanks.I have an STM32 dev board with some external SRAM. I would like to execute my code from that external SRAM, but my processor only supports booting from the Flash, internal SRAM or System memory (a part of the internal SRAM). What is the easiest way to run code from an external SRAM? Notes: I load code with OpenOCD through JTAG, and I use GDB.I am testing a board that has external SRAM. Apparently the SRAM is relatively sensitive to the soldering heat from the manufacturing process, and so careful testing must be done to check integrity of SRAM for newly manufactured boards. What is the best (bare-metal) way to test SRAM? I have a driver that initialises the SRAM for read/write access. My first thought is to run tests such as: 1) Set all bits in SRAM to 1, and check that the SRAM was properly written. 2) Write the digits of Pi in SRAM, and check that the write was done properly. ...I use a Atmega88 as a power controller in a larger system with another processor. I have some state information in SRAM that I'd like preserved on the AVR side. What I've observed is that if the other processor uses the serial programming interface (SPI) of the AVR to simply read Flash or EEPROM data of the AVR, when the AVR runs again, the SRAM contents are not affected. (when I disable clearing of SRAM at init in CV-AVR). But when the other processor reprograms that AVR (uses chip erase/write program memory/write EEPROM memory commands) then it looks like the ...Hi Experts, On the LPC1668, there are totally 64kB of SRAM, 32kB of main SRAM, and two 16kB AHB SRAM. Is it possible to use the 32kB main SRAM as heap, and 8kB on one of the 16kB AHB SRAM as stack? If yes, how can we do that? Thanks very much! Regards, JessamineHere is the problem. Code is located in 0x1000_0000 (Chip select 0), it is an external flash. The program can boot off there and run. I need to be able to write to the flash. I tried appending the keyword "__ramfunc" and it just jumps to the area 0x4 (Not sure what error that is). I am a computer scientist, with no formal computer engineering training. And i am the sole person working on this project. So i am a bit out of my league. I have a flash driver written, and i am able to get the Manufacturer ID and Device ...Dear all, Here i have some doubt please help me. I am interfacing 1Mb SRAM to LM3S3748 processor using SPI protocol. For this i used 4 GPIO pin and configured as SPI protocol. I can able to write and read data from memory location of SRAM separately. My doubt is that in LM3S3748 limited in built RAM is there so i cant store all my ...I want to interface SRAM with ATMEGA-128. By searching google I have found some references in which the size of SRAM is: 62256 (32K x 8-bit). Is it possible to interface more than (32K x 8-bit) SRAM like 64K ? If possible then what is the that SRAM/CMOS RAM? And if not possible then please elaborate it.Hi, We are trying to re-design an application that uses old H8 and we want to consider Xmega. Existing device has flash and SRAM connected on 16 bit address line and 8 bit data line. I would like to know if this is possible with Xmega device. I only see an example in the datasheet about connecting SRAM on the DMA. Unfortunately I haven't used DMA/Bus architecture before and not clear exactly how it works. Is it possible to connect external flash on the bus along with external RAM. Also can some body help me if it is possible to ...I have an ARM Cortex 3M (reference manual here) connected through the FSMC (Flexible Static Memory Controller) to a Spartan 6 FPGA. In turn, the Spartan 6 is connected to some external SRAM. I need to production test the SRAM. As I see it, I have two options: - Write an SRAM driver directly from the FPGA (without involving the Cortex). - Route the Cortex memory pins through the FPGA to the memory. Reading through the specs of the SRAM, it seems that writing an SRAM driver for the FPGA is a relatively difficult task. I am therefore inclined to ...Hi All, I am working on a program that captures an image form a camera and displays it on a screen. The data received from the camera is too big to fit into an array so I am storing it on an external SRAM IC. So I want to take a picture, store it in the SRAM IC, retrieve it from the SRAM IC, and display it to the screen. The screen, camera and SRAM IC all have separate libraries but how can I get them working together? If I create an SRAM object in main() how do I pass ...Hello all. I'm working on a rather software-intensive application (video encoder) at the moment, and am trying everything possible to optimise my code. I have discovered that the on-board 32kB SRAM does not seem to be as fast as it should be: After writing some simple data-copying benchmarks, I have the following results: DDR to DDR copy = 40.8 MB/s (copyback mode) DDR to DDR copy = 79.2 MB/s (write-through mode) SRAM to SRAM copy = 129.6 MB/s Cache to cache copy = 399.2 MB/s (Platform is MCF54450 at 240MHz with mobile-DDR ...Hi All. problem --------- At 5V a micro system using a wide volt tolerance SRAM works ok When the voltage is brought down to 3V and using 5-3 V level converter the SRAM does not work. data output is just a glitch pulse. The SRAM is voltage spec'ed 2.4 ~5.5V and a 55nS part The micro instruction cycle is 25MHz / 4 Any pointer were to start to debug would be appreciated. JGI had written a basic program to STORE data in SRAM and compiled it with the data memory window open. The result was as expected. The data from a register was STORED into the SRAM location. The program was as below.... rogram to store data into SRAM location 0x60 .include "m32def.inc" .org 0x000 rjmp STORE STORE: ldi r16,10 sts 0x60,r16 ;store direct into SRAM rjmp STOREHello I'm trying to access SRAM 62256 but all I get is 0xFF or some random data. SRAM is connected as in the schematic. MCU is a PIC18F452, xtal 8MHz (HS). Here is code for reading and writing: Code:Hello everybody. I modify a flash.sct file in SAM3U-EK example code for running boot code that is stored in embedded flash memory(128KB) by sram(32KB) Base concept is 'copy the codes from Flash to SRAM and jump to the SRAM and excute it' Before Code:I thought I would see how well SPI SRAM works when shared. The Mini is writing to the SRAM and the Panda is reading it to display. There is no direct communication so they just wait for the CS line to be free before using it. The gates are slow at 3V so the max speed would be 3Mhz and it's stable at 2Mhz.For our prototypes we used STMicroelectronics SRAM 4Mbit, 512Kx8, 55ns (M68AW511AL). Now it is getting near production I find that they have stopped making that memory. Lots of other companies make equivalent SRAM, but can I assume it is going to work ok? Our application requires an access time of 60ns to the SRAM, so within the SRAM spec. In an ideal world I'd get one of the new types and prototype with it before ordering, but lead times are so long at the moment. So I want to place an order (1000 units) for our production run asap. Is that a bad idea? Thanks, JimHi ,All ,i am a beginner of AVR. Now I am doing a project. Part of them is about communicating data betwwen PC and microcontroller AVRmega 8515: I want to give two number ,for example ,A=0x001122, B=0x223333 to microcontroller.In microcontroller ,I have already write the algorithm "multiplication",Now I want to send A and B to SRAM (memory of Microcontroller)from PC, and store A and B in SRAM .then I load A and B to register using the algorithm"multiplication" to compute the result of A*B. After that I store the result to SRAM, and then I want give the result stored ...hi, I am working on one of the Automation Project.so my code is too long with using of more Variables and Flash memory of the MCU. So now i wants to Extend my SRAM by interfacing of SRAM Externally. But if its compatible to interface with PIC18F46J11 amp also How ? Please guide me . Regards,
- Flash vs Sram
- Running executable from external SRAM
- Testing the integrity of SRAM
- SRAM cleared from serial programming ?
- About the usage of SRAM
- Copy External Flash to External Ram, then Execute
- Memory Mapping 1Mb SRAM to LM3S3748
- More than 32K RAM with ATMEGA-128
- Help with Xmega
- Microprocessor controlling SRAM through an FPGA
- Passing Objects Around
- MCF54450 V4e SRAM performance
- SRAM woes
- Is this a BUG??…avrstudio help…
- [SOLVED] SRAM 62256 read/write
- Running boot code by embedded sram.
- 2 FEZ 1 SRAM
- Is all SRAM created equal?
- I Need Your HELP! Communicating bewwen PC and SRAM of AVR
- Extended SRAM interfacing with PIC18F46j11