LPC2368 FLASH as RAM
06-24-2018
01:37 AM
2,180件の閲覧回数
pazdimpazdim
Contributor II
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
返信
5 返答(返信)
06-25-2018
01:15 AM
1,763件の閲覧回数


NXP Employee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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).
Regards,
Bernhard.
返信
06-25-2018
07:39 AM
1,763件の閲覧回数
pazdimpazdim
Contributor II
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks for the answer. How to write to RAM during program execution? Any serial interface?
06-25-2018
08:56 AM
1,763件の閲覧回数


NXP Employee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
返信
06-25-2018
10:45 AM
1,763件の閲覧回数
pazdimpazdim
Contributor II
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
"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?
07-02-2018
04:59 AM
1,764件の閲覧回数


NXP Employee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Look into the specification of the respective flash device:
- Internal flash: data sheet & user's manual of the LPC2368 (look for "In Application Programming", IAP)
- External flash: data sheet of the parallel flash or serial SPI flash
