通过STM32CubeIDE软件将程序写入Mikrobus Clicker 2 (STM32F407VG)开发板,并使用ST-LINK/V2连接开发板。
我已配置引脚并将其设置为串行线模式,调试模式设置为SWD。
出现了以下错误:
STMicroelectronics ST-LINK GDB server. Version 5.5.0
Copyright (c) 2019, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
LogFile Name : /Users/admin/STM32CubeIDE/workspace_1.3.0/myproject/Debug/st-link_gdbserver_log.txt
Logging Level : 31
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Enabled
SWD Debug : Enabled
Target connection mode: Attach
Hardware watchpoint supported by the target
COM frequency = 4000 kHz
ST-LINK Firmware version : V2J36S7
Device ID: 0x413
PC: 0xfffffffe
ST-LINK device status: HALT_MODE
ST-LINK detects target voltage = 1.19 V
ST-LINK device status: HALT_MODE
ST-LINK device initialization OK
Waiting for debugger connection...
Waiting for connection on port 61234...
Accepted connection on port 61234...
Debugger connected
CM4 Failed to read all registers
FAILED to REGISTER Values from the target
Debugger connection lost.
Shutting down...
|
|