I know Cortex-M4 doesn't support virtual memory. Do you always have to load VA from some LA in flash? For instance you allocate empty value memory at compile time.
Sorry, I wasn't clear on the mapping. ExtRAMData section VA is in ram at 0x2000099c and it is loaded from 0x08017170. The size of ExtRAMData is 0x19000.
Hi jvanmont,
I think I understood your situation. You should copy from 0x08017170 (flash) to 0x2000099c (SRAM) in the startup routine. The value of SRAM area is undefined and you should initialize it by the values in the flash. If the ExtRAMData is an array of null data, you can directly write the values of 0 in the ExtRAMData. The program would be carried out only by VA.
Best regards,Yasuhiko Koumoto.