DebuggingBouffaloLabChipsWithGDB:修订间差异

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




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


==== 通过USB连接到PC ====
= How to debug the DVK light development board via CKLink: =


[[文件:BL616DVK Light CKLinkLite.jpg| 600像素 | BL616DVKLight_CKLinkLite]]
==== 1. Connect to the PC via USB. ====
GPIO 1   TCK
 
GPIO 3   TDI
 
GPIO 2   TDO


GPIO 0   TMS


==== 进行GDB调试 ====
[[文件:BL616DVK Light CKLinkLite.jpg| 600像素 | BL616DVKLight_CKLinkLite]]


这里以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>

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