RISC-V MCU中文社区

【求助】 【求助】Hbirdv2 make upload 时遇到如下问题,"monitor" command not supported by this target. 有没有已经解决的老哥们, 求指教

发表于 开源蜂鸟E203 2022-11-02 15:27:25
0
305
0

执行命令$Make Upload Soc=Hbirdv2 Board=Ddr200t Core=E203 Download=Ilm,出现以下问题:

Download and run helloworld.elf
riscv-nuclei-elf-gdb helloworld.elf -ex “set remotetimeout 240” \
-ex “target remote | openocd -c \”gdb_port pipe; log_output openocd.log\” -f ../../../SoC/hbirdv2/Board/ddr200t/openocd_hbirdv2.cfg” \
—batch -ex “monitor reset halt” -ex “load” -ex “monitor resume” -ex “quit”
Nuclei OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev-00036-gbfc178ffb (2021-02-01-06:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Remote communication error. Target disconnected.: Connection reset by peer.
“monitor” command not supported by this target.
You can’t do that when your target is `exec’
“monitor” command not supported by this target.

make run_openocd的提示:

Start openocd server
openocd -c “gdb_port 3333” -f ../../../SoC/hbirdv2/Board/ddr200t/openocd_hbirdv2.cfg
Nuclei OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev-00036-gbfc178ffb (2021-02-01-06:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Using libusb driver
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: riscv.cpu: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Unsupported DTM version: 15
Info : Listening on port 3333 for gdb connections
Error: Target not examined yet

Error: Unsupported DTM version: 15
make: * [run_openocd] 错误 1

我看之前有遇到过同样问题的帖子,但具体怎么解决的并没有说,求指教
喜欢0
用户评论
卓而

卓而 实名认证

懒的都不写签名

积分
问答
粉丝
关注
  • RV-STAR 开发板
  • RISC-V处理器设计系列课程
  • 培养RISC-V大学土壤 共建RISC-V教育生态
RV-STAR 开发板