页次: 1
@表慌张
现在我用的w25q64,使用您这个.cfg,我改成我板子的引脚,也报错,qspi flash可以确定是没有硬件问题的
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override u
se 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results mi
ght differ compared to plain JTAG/SWD
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK V2J43S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.211024
Info : [stm32h750vbt6.cpu0] Cortex-M7 r1p1 processor detected
Info : [stm32h750vbt6.cpu0] target has 8 breakpoints, 4 watchpoints
Info : gdb port disabled
[stm32h750vbt6.cpu0] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080015d4 msp: 0x24080000
** 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
比较一下w25q64和w25q256的区别
试了w25q64,修改了引脚,烧录一次成功后,后面就烧录不了了,用测试qspi程序能读写flash,就是烧录不了,不知道为什么。下面是openocd的烧录信息:
Info : The selected transport took over low-level target control. The results mi
ght differ compared to plain JTAG/SWD
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK V2J43S7 (API v2) VID:PID 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: 0x080015d4 msp: 0x24080000
Info : Unable to match requested speed 24000 kHz, using 4000 kHz
Info : Unable to match requested speed 24000 kHz, using 4000 kHz
** 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
我的是w25q256的flash,模板用64改,也不行
gcc编译环境对于习惯了STM32的老人真是太难了,抽空移植到了keil,有需要的可以联系,目前因boot跟公司其他产品通用,暂时没有开源
https://whycan.com/files/members/8049/微信截图_20240329133209.jpg
大佬,请给我一份你截图中的工程,谢谢!我的邮箱是:211184101@qq.com
gcc编译环境对于习惯了STM32的老人真是太难了,抽空移植到了keil,有需要的可以联系,目前因boot跟公司其他产品通用,暂时没有开源
https://whycan.com/files/members/8049/微信截图_20240329133209.jpg
求一份keil版的!
解决了,24楼晕哥有提到
F1C100S裸奔framebuffer+PWM+GPIO驱动
https://whycan.com/t_1457.html
烧录了这个帖子的裸奔程序,lcd屏幕出现一条线条,怎么解决?
F1C100S的Keil裸机USB+LCD+PWM+GPIO工程搞定,修复GNU工具链BUG
https://whycan.com/t_3645.html
页次: 1