打印
[RISC-V MCU 应用开发]

使用HPM5300EVK板载仿真器烧写时遇到的问题

[复制链接]
52|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
开始下载程序: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了,但直接下载还是不行



使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1190

主题

35053

帖子

1122

粉丝