Question
STM32F7 DISCO - Storing data in NOR
Posted on November 12, 2015 at 19:10
Hello everyone,
I just started using the STM32F7-DISCO board and i wanted to start with writing a small UI app with a single image, with the image data being stored in the NOR flash. but the application doesn't seems to load the image on the screen. To write the image data to NOR i used __attribute__((section(''.ExtQSPIFlashSection''))). I checked the MAP file and checked the memory using ST-LINK and i can confirm that the data is written to NOR, but for some reason my application cannot read it.Load Region LR_QSPI (Base: 0x90000000, Size: 0x0000459c, Max: 0x00ffffff, ABSOLUTE)
Execution Region ER_QSPI (Base: 0x90000000, Size: 0x0000459c, Max: 0x00ffffff, ABSOLUTE)
Base Addr Size Type Attr Idx E Section Name Object
0x90000000 0x0000459a Data RO 331 .ExtQSPIFlashSection wndmaindlg.o
Image data (trimmed for display here.
static const U8 _acImage_0[17818] __attribute__((section(''.ExtQSPIFlashSection''))) = { huge array here}
#nor-read-only-qspi-rom #stm32f7