DebuggingBouffaloLabChipsWithGDB:修订间差异

来自Bouffalo Lab Docs
跳转到导航 跳转到搜索
张良留言 | 贡献
无编辑摘要
张良留言 | 贡献
 
(未显示同一用户的4个中间版本)
第2行: 第2行:




= 通过CKLink调试DVK light开发板 =


==== 通过USB连接到PC ====
= How to debug the DVK light development board via CKLink: =
 
==== 1. Connect to the PC via USB. ====
GPIO 1   TCK
 
GPIO 3   TDI
 
GPIO 2   TDO
 
GPIO 0   TMS


[[文件:BL616DVK Light CKLinkLite.jpg| 600像素 | BL616DVKLight_CKLinkLite]]
[[文件:BL616DVK Light CKLinkLite.jpg| 600像素 | BL616DVKLight_CKLinkLite]]




==== 进行GDB调试 ====


这里以Ubuntu为例,此时应该可以看到 <code>/dev/ttyACM0</code> 设备(以实际为准)
==== 2. Perform GDB debugging. ====
分别运行如下两条命令
 
<code>DebugServerConsole</code>
Using Ubuntu as an example, run the following two commands separately:<code>DebugServerConsole</code>
 
<code>riscv64-unknown-elf-gdb *.elf</code>
<code>riscv64-unknown-elf-gdb *.elf</code>


[[文件:BL616DVKLight_CKLinkLite.gif| BL616DVKLight_CKLinkLite]]
[[文件:BL616DVKLight_CKLinkLite.gif| BL616DVKLight_CKLinkLite]]

2026年6月24日 (三) 01:09的最新版本



How to debug the DVK light development board via CKLink:

1. Connect to the PC via USB.

GPIO 1   TCK

GPIO 3   TDI

GPIO 2   TDO

GPIO 0   TMS

BL616DVKLight_CKLinkLite


2. Perform GDB debugging.

Using Ubuntu as an example, run the following two commands separately:DebugServerConsole

riscv64-unknown-elf-gdb *.elf


BL616DVKLight_CKLinkLite