I am using a hardware based on RT1064. Hardware is booting from internal Flash. No I wan't to use same flash for storing some data. I notice that I can't run program in flash and store data at the same time.
Only change is here to run the program in internal SRAM than in the flash. Is there an example how I have to set the linker file hat MCU is booting from Flash, copying all data to SRAM and than running application from SRAM ?
I can now programming the flash in the application as long as i didn't initialize the RTOS and I2S-DMA. But for my application I need that. How can I reallocating all functions to SRAM instead?
best regards
Daniel
Hello @DanielDFM ,
In this case please check the last section of the following link.
Best Regards,
Alexis Andalon
Thanks, that helps much
Hello @DanielDFM,
Instead of running all your code from the internal SRAM you could try only reallocating the functions that write/read the flash memory. In the following document there's an example where you can check how to do it.
Best Regards,
Alexis Andalon