<Guest26>
I encountered some issues while using OpenOCD and made some attempts to solve them.
<Guest26>
First of all, my environment is Windows 11, and the chip I am using is STM32H750VBT6.
<Guest26>
I am able to use OpenOCD to download the compiled bin file into the internal flash, but I am unable to download other code into the external flash.
<Guest26>
I have verified the communication between OpenOCD and the external flash. OpenOCD is able to read the chip ID and size of the W25Q64 chip using the 'flash info 1' command.
<Guest26>
The external flash is driven by QSPI, and I have also reviewed your documentation related to QSPI.
<Guest26>
Before downloading, I also used the 'init' and 'halt' commands. After these two commands, I used the 'flash write_image erase xxxx.bin 0x00000000' command.
<Guest26>
The following is the information displayed after executing this command:
<Guest26>
Device: STM32H74x/75x
<Guest26>
Flash size probed value 128k
<Guest26>
STM32H7 flash has a single bank
<Guest26>
Bank (0) size is 128 kb, base address is 0x08000000
<Guest26>
No QSPI, no OCTOSPI at 0x52005000
<Guest26>
No flash bank found for address 0x00000000
<Guest26>
Auto erase enabled
<Guest26>
Wrote 0 bytes from file BootLoader_Application/Application/cmake-build-debug/Application.bin in 0.023228s (0.000 KiB/s)
<Guest26>
If I modify 0x00000000 to 0x90000000, the following message will be displayed: