[RISC-V MCU 应用开发] 使用HPM5300EVK板载仿真器烧写时遇到的问题

[复制链接]
 楼主| dirtwillfly 发表于 2025-6-22 10:43 | 显示全部楼层 |阅读模式
开始下载程序:2025-06-22 10:41:22
执行完毕, 耗时:1ms.
D:\RT-ThreadStudio>cd /d D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\HPMicro\OpenOCD-HPMicro\0.4.0\bin
D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\HPMicro\OpenOCD-HPMicro\0.4.0\bin>openocd.exe -f D:/RT-ThreadStudio/workspace/hpm5300/board/debug_scripts/openocd/probes/ft2232.cfg -f D:/RT-ThreadStudio/workspace/hpm5300/board/debug_scripts/openocd/soc/hpm5300.cfg -f D:/RT-ThreadStudio/workspace/hpm5300/board/debug_scripts/openocd/boards/hpm5300evk.cfg -c "init; halt; flash write_image erase D:/RT-ThreadStudio/workspace/hpm5300/flash_debug/rtthread.elf; reset; shutdown"
Open On-Chip Debugger 0.11.0+dev-02365-g488108c93 (2023-09-18-18:58)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'
DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'
DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'
DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: hpm5301.cpu tap/device found: 0x1000563d (mfg: 0x31e (Andes Technology Corporation), part: 0x0005, ver: 0x1)
Info : [hpm5301.cpu0] datacount=4 progbufsize=8
Info : Examined RISC-V core; found 1 harts
Info :  hart 0: XLEN=32, misa=0x4090112f
[hpm5301.cpu0] Target successfully examined.
Info : starting gdb server for hpm5301.cpu0 on 3333
Info : Listening on port 3333 for gdb connections
Info : Flash write discontinued at 0x80001090, next section at 0x80003000
Warn : Adding extra erase range, 0x80001090 .. 0x80001fff
Warn : Adding extra erase range, 0x8001d5d0 .. 0x8001dfff
Info : JTAG tap: hpm5301.cpu tap/device found: 0x1000563d (mfg: 0x31e (Andes Technology Corporation), part: 0x0005, ver: 0x1)
shutdown command invoked
 楼主| dirtwillfly 发表于 2025-6-22 13:06 | 显示全部楼层
用UsbDriverTool设置了,可以debug了,但直接下载还是不行

微信截图_20250622105734.png

幻境之眼 发表于 2025-7-9 14:12 | 显示全部楼层
我看了log不是执行完毕么?没有报错呀
Labyrinth 发表于 2025-7-14 14:58 | 显示全部楼层
幻境之眼 发表于 2025-7-9 14:12
我看了log不是执行完毕么?没有报错呀

是的,我也看到已经是执行完毕了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1194

主题

35082

帖子

1122

粉丝
快速回复 在线客服 返回列表 返回顶部