你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

CUBEIDE升级1.9.0后老项目不能调试了Target halted (DBGRQ, PC = 0xF3AF4804),Failed to read mem

[复制链接]
疯狂电子 提问时间:2022-3-17 10:30 / 未解决
STM32H723ZG ,CUBEIDE原来版本是1.7.0,升级1.9.0后原来项目编译就报错了,后来用1.9.0版本重新生成新的代码,移植原来的用户代码,移植后编译成功,可以连接目标板,但是没法调试,也不运行,调试配置好像都没问题,下载时有错误警告...Target halted (DBGRQ, PC = 0xF3AF4804),连接下载信息如下:,大神给看看什么问题呀SEGGER J-Link GDB Server V7.62a Command Line Version

JLinkARM.dll V7.62a (DLL compiled Feb 23 2022 16:58:13)

Command line: -port 2331 -s -device STM32H723ZG -endian little -speed 1000 -if swd -swoport 2332 -vd
-----GDB Server start settings-----
GDBInit file:                  none
GDB Server Listening port:     2331
SWO raw output listening port: 2332
Terminal I/O port:             2333
Accept remote connection:      localhost only
Generate logfile:              off
Verify download:               on
Init regs on start:            off
Silent mode:                   off
Single run mode:               on
Target connection timeout:     0 ms
------J-Link related settings------
J-Link Host interface:         USB
J-Link script:                 none
J-Link settings file:          none
------Target related settings------
Target device:                 STM32H723ZG
Target interface:              SWD
Target interface speed:        1000kHz
Target endian:                 little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled May  7 2021 16:26:12
Hardware: V9.20
Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
Checking target voltage...
Target voltage: 3.25 V
Listening on TCP/IP port 2331
Connecting to target...
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
WARNING: Failed to read memory @ address 0xF3AF4804
Received monitor command: WriteDP 0x2 0xF0
O.K.
Received monitor command: ReadAP 0x2
O.K.:0xE00FE003
Reading 32 bytes @ address 0xE00FEFD0
Connected to 127.0.0.1
Reading all registers
WARNING: Failed to read memory @ address 0xF3AF4804
Received monitor command: reset
Resetting target
Downloading 88 bytes @ address 0x08000000 - Verified OK
Downloading 4 bytes @ address 0x08000058 - Verified OK
Downloading 4 bytes @ address 0x0800005C - Verified OK
Writing register (PC = 0x 8000000)
Starting target CPU...
GDB closed TCP/IP connection (Socket 1108)
...Target halted (DBGRQ, PC = 0xF3AF4804)
Reading all registers
WARNING: Failed to read memory @ address 0xF3AF4804
GDB closed TCP/IP connection (Socket 1112)
Restoring target state and closing J-Link connection...
Shutting down...

收藏 评论0 发布时间:2022-3-17 10:30

举报

0个回答

所属标签

相似问题

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32Cube扩展软件包
意法半导体边缘AI套件
ST - 理想汽车豪华SUV案例
ST意法半导体智能家居案例
STM32 ARM Cortex 32位微控制器
关注我们
st-img 微信公众号
st-img 手机版