|
本帖最后由 国产娃娃菜 于 2024-8-4 11:00 编辑
弄了快两星期了还是没有解决,实在没招了,前来求助大佬们!
使用KEIL和Pro的下载算法均能下载进qspi flash,但是使用openocd就不行,换了多个模板修改(qspi寄存器,qspi大小,qspi引脚),使用了w25q64,w25q128,w25q256都报错,信息都是一样"Info : No id from flash1 Info : No id - set flash parameters manually",详细信息如下,求大佬帮帮忙!
[0mOpen On-Chip Debugger 0.12.0 (2023-10-02) [https://github.com/sysprogs/openocd]
[0mLicensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results mi
ght differ compared to plain JTAG/SWD
none separate
Info : clock speed 1800 kHz
Info : STLINK V2J43S7 (API v2) VID ID 0483:3748
Info : Target voltage: 3.214708
Info : [stm32h750xbh6.cpu0] Cortex-M7 r1p1 processor detected
Info : [stm32h750xbh6.cpu0] target has 8 breakpoints, 4 watchpoints
Info : gdb port disabled
[stm32h750xbh6.cpu0] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080002b0 msp: 0x200004f8
Info : No id from flash1
Info : No id - set flash parameters manually
** Programming Started **
Info : Device: STM32H74x/75x
Info : flash size probed value 128k
Info : STM32H7 flash has a single bank
Info : Bank (0) size is 128 kb, base address is 0x08000000
Info : No id from flash1
Info : No id - set flash parameters manually
Info : No id from flash1
Info : No id - set flash parameters manually
Info : No id from flash1
Info : No id - set flash parameters manually
Error: Bank is invalid
embedded:startup.tcl:1467: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 1532
at file "embedded:startup.tcl", line 1467
|
|