初级会员

- 积分
- 60
- 金钱
- 60
- 注册时间
- 2021-2-22
- 在线时间
- 15 小时
|

楼主 |
发表于 2021-9-6 22:54:49
|
显示全部楼层
D:\clion\OpenOCD-20210625-0.11.0\bin\openocd.exe -s D:\clion\OpenOCD-20210625-0.11.0\share\openocd\scripts -f D:\code\RCT6T\st_nucleo_f103rb.cfg -c "tcl_port disabled" -c "gdb_port disabled" -c "tcl_port disabled" -c "program \"D:/code/RCT6T/cmake-build-debug-mingw/RCT6T.elf\"" -c reset -c shutdown
[0m[0mOpen On-Chip Debugger 0.11.0 (2021-06-25) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : DEPRECATED target event trace-config
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 1 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x1ba01477
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: stm32f1x.cpu -- clearing lockup after double fault
Polling target stm32f1x.cpu failed, trying to reexamine
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : gdb port disabled
target halted due to debug-request, current mode: Thread
xPSR: 00000000 pc: 0xc000c000 msp: 0xc000c000
** Programming Started **
Info : device id = 0x10036414
Info : flash size = 256kbytes
Error: timeout waiting for algorithm, a target reset is recommended
Error: flash write failed at address 0x8000000
Error: error writing to flash at address 0x08000000 at offset 0x00000000
embedded:startup.tcl:501: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 566
at file "embedded:startup.tcl", line 501
这是错误目录 |
|