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.
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.