Nano Debugger (NDB) 3.2025.955L (17672:6292) Err:启动调试失败: -4

 

- [如何适配新芯片 - Powered by MinDoc](https://www.nanocode.cn/wiki/docs/gedu_ntp_wiki/newsoc)


- [使用挥码枪调试幽兰\\_哔哩哔哩\\_bilibili](https://www.bilibili.com/video/BV1LtWGe2EkJ/?vd_source=589169a942bb977a9dbcdd5f0ea6318b)

注意:在幽兰代码本上使用usb鼠标,会报错。

 

Starting new session...
Nano Debugger (NDB) 3.2025.955L (17672:6292)
Err:启动调试失败: -4
Starting KD session type=usb,proto=ocd,opt=rxsbu,targetname=yl
transport name already used
transport name already used
transport name already used
transport name already used
debug_level: 3debug_level: 3

Interface already configured, ignoring
Interface already configured, ignoring
Transport "swd" was already selected
Transport "swd" was already selected
\\?\C:\NanoCode\data\yl.cfg:30: Error: invalid command name "swd"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "\\?\C:\NanoCode\data\yl.cfg", line 30
\\?\C:\NanoCode\data\yl.cfg:30: Error: invalid command name "swd"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "\\?\C:\NanoCode\data\yl.cfg", line 30
NTP: \\?\C:\NanoCode\data\yl.cfg:30: Error: invalid command name "swd"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "\\?\C:\NanoCode\data\yl.cfg", line 30

NTP: \\?\C:\NanoCode\data\yl.cfg:30: Error: invalid command name "swd"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "\\?\C:\NanoCode\data\yl.cfg", line 30

NTP: \\?\C:\NanoCode\data\yl.cfg:30: Error: invalid command name "swd"
in procedure 'script' 
at file "embedded:startup.tcl", line 26
at file "\\?\C:\NanoCode\data\yl.cfg", line 30
Failed to setup NTP connection(0xfffffffc).
Make sure turn on target. For GDK8, try Fn + 5 on remote controller to enable JTAG.
Failed to setup KD proxy for 0xfffffffc. Session ends.
*IDLE*

 


- [Nano Code](https://www.nanocode.cn/#/ntp/index)
- [挥码枪上手指南 - Powered by MinDoc](https://www.nanocode.cn/wiki/docs/gedu_ntp_wiki/ntp_started_guide)

 

posted @ 2026-06-28 23:06  rgqancy  阅读(6)  评论(0)    收藏  举报