Hello. I am reviewing the controller LPC2368. It has 512 kb flash ram and 32 kb ram (too few). Can I use flash memory as a ram? How slowly does it work?
Flash can be read like a RAM from the ARM core, but cannot be written like a RAM.
If you need more RAM, then you should consider an MCU with more RAM. Or alternatively use external RAM (requires MCU with external memory bus).
Thanks for the answer. How to write to RAM during program execution? Any serial interface?
SRAM or SDRAM which is connected to the memory bus is simply a memory mapped area, like the internal RAM.
So no need for any serialization.
"Flash can be read like a RAM from the ARM core, but cannot be written like a RAM."
How is the writing performed in this case?
Sorry, my bad. How to write to FLASH during program execution? SPI, I2C, UART?
Look into the specification of the respective flash device:
Retrieving data ...