STM32F746 IAR QSPI Verification error
Hello.
I am using mb1191-F746NGH6-C01, IAR Embedded Workbench for ARM 9.50.1.69506, CubeMX V6.12.1 and
TouchGFX V6.22.0. I generated the project in TouchGFX for IAR. TouchGFX locate the backgrounds and widgets in external flash memory. The Discovery STM32F746 board has MT25QL128ABA1EW9 memory.
In IAR I select "Use Flash Bootloader"
Select STM32F746G-DISCO_QSPI.flash
When I press the button "Download and Debug"
I have the next information in the log:
Wed Oct 16, 2024 21:00:42: Hardware reset with strategy 0 was performed
Wed Oct 16, 2024 21:00:42: Verification error at 0x9000'0000: mem = 0x00, file = 0x0B
Wed Oct 16, 2024 21:00:42: Download completed but verification failed.
Wed Oct 16, 2024 21:00:42: Hardware reset with strategy 0 was performed
Wed Oct 16, 2024 21:00:42: Target reset
Wed Oct 16, 2024 21:00:42: There were 1 error and 1 warning during the initialization of the debugging session.
Memory window in the IAR
Part of the array where it is stored backgrounds image
LOCATION_PRAGMA("ExtFlashSection")
KEEP extern const unsigned char image_alternate_theme_images_backgrounds_480x272_gradient_dark[] LOCATION_ATTRIBUTE("ExtFlashSection") = { // 480x272 RGB565 pixels.
0x0b, 0x2a, 0x0b, 0x2a, 0x0b, 0x22, 0x2c, 0x2a, 0x2b, 0x2a, 0x2c, 0x2a, 0x0b, 0x2a, 0x2b, 0x2a,
0x2c, 0x2a, 0x0b, 0x22, 0x2c, 0x2a, 0x2c, 0x2a, 0x2b, 0x2a, 0x0b, 0x2a, 0x2c, 0x2a, 0x2c, 0x2a,
0x2c, 0x2a, 0x2b, 0x22, 0x2c, 0x2a, 0x2c, 0x2a, 0x2c, 0x2a, 0x2c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a,
0x2c, 0x2a, 0x2c, 0x2a, 0x2c, 0x2a, 0x2c, 0x2a, 0x4c, 0x2a, 0x2c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a,
0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a,
0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x4c, 0x2a, 0x6d, 0x32, 0x4c, 0x2a, 0x4c, 0x2a,
0x4c, 0x2a, 0x4c, 0x2a, 0x4d, 0x2a, 0x6d, 0x32, 0x6c, 0x32, 0x6d, 0x2a, 0x6d, 0x32, 0x6d, 0x32,
1) I can't understand what the file = 0x0B means in the following error?
Wed Oct 16, 2024 21:00:42: Verification error at 0x9000'0000: mem = 0x00, file = 0x0B
2) Where can I find this file?
3) I don't understand why there is a verification error? Where did I make a mistake? Perhaps additional settings need to be made? I would be very grateful for any help and ideas.
The project is attached to this post.
Thanks!
