Content originally posted in LPCWare by Dill on Tue Oct 07 13:46:56 MST 2014 I just figured out that this is the problem. I was told, that there is no practical difference between AHB SRAM and local SRAM. And: I could not find any information about AHB SRAM. How to handle it?
Anyway there are four 16k blocks of AHB SRAM. When the 512 bytes I want to copy to flash are located fully in one block, it works:
// ---- OK, this is completely in the third of four blocks
flash_storage 0x2000be00 0x200 Data Lc IAP.o [1]
// ---- NOT OK, this is in the third and fourth block
flash_storage 0x2000be04 0x200 Data Lc IAP.o [1]
Content originally posted in LPCWare by TheFallGuy on Tue Oct 07 12:39:37 MST 2014 Looks like you are trying to copy from AHB RAM. Don't you need to copy from local SRAM (0x10000000)?