Clion开发STM32F103C8T6出现的问题

335 阅读1分钟
D:\OpenOCD\bin\openocd.exe -s D:\OpenOCD\share\openocd\scripts -f E:\GitHub\STM32\STM32F103C8T6-Software\ClionTemplate\TestLED\DALINK.cfg -c "tcl_port disabled" -c "gdb_port disabled" -c "tcl_port disabled" -c "program "E:/GitHub/STM32/STM32F103C8T6-Software/ClionTemplate/TestLED/cmake-build-debug/TestLED.elf"" -c reset -c shutdown
•[0mOpen On-Chip Debugger 0.11.0 (2021-11-18) [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; use TPIU events {pre,post}-{enable,
disable}
none separate

•[0mInfo : CMSIS-DAP: SWD  supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 1.11
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x1ba01477
Info : stm32f1x.cpu: Cortex-M3 r1p1 processor detected
Info : stm32f1x.cpu: target has 6 breakpoints, 4 watchpoints
Info : gdb port disabled
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x1ffff020 msp: 0x200001fc
** Programming Started **
Info : device id = 0x10006412
Info : flash size = 32kbytes
** Programming Finished **
shutdown command invoked

代码失败,代码不运行


但是烧录成功是显示以下情况,但是开发板用的不是STM32F103而是STM32H750

问题可能出现在STM32F103C8T6用的可能是Cotex-m3的内核上,跟STM32H750本质上有不同(跟STM32H750用的内核不同)