External QSPI Loader data read failed message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-31 1:52 PM
Hello,
I followed the STMicro YouTube tutorial for developing an external QSPI loader. I am using the W25Q128 attached to the NUCLEO-H7A3ZI-Q. The flash is working fine with my driver using the test program "main_test.c" provided with the tutorial, and I can access the flash contents at 0x090000000 in memory-mapped mode from the STM32CubeIDE debugger. I compile the external loader with the linker script provided in the tutorial and move the .stldr file into the external loader folder for STMCubeProgrammer. I select my loader from the list of loaders, but when I try to view external flash contents at 0x090000000, I get data read failed. If I try to download data to the external flash from STMCubeProgrammer I get:
16:35:41 : Time elapsed during the read operation is: 00:00:00.009
16:35:50 : Memory Programming ...
16:35:50 : Opening and parsing file: testbinary1M.bin
16:35:50 : File : testbinary1M.bin
16:35:50 : Size : 1.13 MB
16:35:50 : Address : 0x09000000
16:35:50 : Erasing memory corresponding to segment 0:
16:35:50 : Download in Progress:
16:35:50 : Error: failed to download Segment[0]
16:35:50 : Error: failed to download the File
Is there a log file from STM32CubeProgrammer that would give me any details about the failure so I can debug this issue?
I attached my loader source which I adapted from the H7 loader file included with the tutorial.
Thanks,
Dan
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-09 7:44 AM
...I had the external flash address entered correctly in ST-Link Utility but was missing a zero in the address in STM32CubeProgrammer. ... It works fine with the correct address.
You can mark your answer as solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-11 1:42 AM
Hello @DWWelch,
Thank you for your feedback.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

- « Previous
-
- 1
- 2
- Next »