This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Place const data in external flash memory - STM32F429

I am using the STM32F429 microcontroller to control a controller display via the FCM peripheral. Currently this is working since it takes the images saved as bitmap in the internal flash. Due to limited space, the idea is to use an external nor flash memory.

All these images are defined in a .c file, each one represented by a const array. In scatter file it was defined that this file is placed in the external flash (0x600000000). Then the program compiles and links without problem and when the variables are displayed in the display window they have the correct memory position.

However, all external memory is full of 0xFF, it does not store the values ​​of the variables.

How can this goal be achieved? Is the solution well posed using const array for each bitmap or is there a better solution?