STM32F746 Disco hex code cannot be flashed through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 7:07 AM
I created a new project with STM32Cube based on STM32F746 board and tried to use external flash to store images. When I used ST-link to flash the hex file, ST-Link can only flash the internal flash memory, not the external SPI flash. ST-Link can flash the demo hex file without any problems. Attached is the hex file.
- Labels:
-
ST-Link
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 9:49 AM
Either you've got the addresses of the external memories wrong, or lack the External Loader for the memory in question.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 10:20 AM
I use the discovery board and use the same scatter file as demo code. I check the memory, the external flash starts at 0x90000000, which is same as demo. Does the qspi driver inside the source code matter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 10:24 AM
I can download the demo code, this should indicate the external load in ST-Link is configured correctly, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 11:07 AM
The QSPI driver in your code will let you access the content, it should not impact the ST-LINK's ability to access and program it.
What error messages exactly do you get in the progress window?
Perhaps use the STM32 Cube Programmer, select the External Loader(s), and set the diagnostic output to the highest level to get the most detail
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-17 1:49 PM
STM32 Cube Programmer works fine, I don't know why, problem solved. Thank you very much!
