Update debugger
Update history
Date | Version | Author | Update content |
---|---|---|---|
2025-02-10 | v0.8 | Serika |
|
Overview
All Sipeed Tang series have onboard debugger (except standalone SOM). The debuggers are separate MCUs with their own firmware. Users could update the firmware for these debuggers to get feature updates and bug fixes.
We need to use the BouffaloLabDevCube to program these onboard debugger chips, and documentation about the *chips & tools* can be found here.
- Download and install the corresponding edition of the *tools* according to your OS.
- Get the updated debugger firmware for your board from Sipeed Download Station.
- Refer to the official documentation of BouffaloLabDevCube to update the firmware of the onboard debugger.
- For Windows users, there are detailed step-by-step tutorial below. Also, the steps for other operating systems are similar.
Tutorial
Preparation for Hardware
To put the onboard debugger into DFU mode, press the *Update Button* or short the corresponding *Test Points* before power on the board or connecting the board's debug USB port with a cable.
Please refer to the below for the corresponding *Update Button* and *Test Points*.
Tang nano series
Tang nano 1k
The 2
Test Points
is in the upper left corner of the board TOP side, behind theKEY-B
.
Tang nano 4k
The 2
Test Points
is in the upper left corner of the board TOP side, behind the USB-C connector.
Tang nano 9k
The 2
Test Points
is in the middle left of the board TOP side, behind the USB-C connector.
Tang nano 20k
The
Update Button
behind the HDMI connector on the TOP side has the silkscreenUPDATE
.
Tang Primer series
Tang Primer 25k Dock
The 2
Test Points
is in the upper left corner of the board BOT side, marked as3V3
&TDO
.
Tang Primer 20k Dock
The white
Update Button
is on the lower right side of the TOP side of the Dock board between USB-C debug port and HDMI port, marked as702-BOOT
Tang Primer 15k Dock(Not yet released)TBD
Tang Mega series(include Tang Console)
Tang Mega Neo Dock(inclede Tang Mega 138K Dock)
The
Update Button
is blow the USB-C connector marked as DEBUG-USB2 on the TOP side.
Tang Mega 138K Pro Dock
The
Update Button
is on the left of the USB-C connector marked as JATG|UART on the TOP side.
Tang Console
The
Update Button
is on the other side the USB-C connector on the TOP side, the shorter of the 2 buttons marked adBOOT
.
Preparation for Software
- First, download BouffaloLabDevCube from BouffaloLab Official Website, The latest version is
1.9.0
(February 10, 2025).
- Unzip the downloaded content and execute the corresponding executable file, for Windows this is
BLDevCube.exe
- In the pop-up window, select Chip model as BL616/618.
- In the new window, check the
Enable
checkbox in blow the *Single download option. Click theBrowse
* button to select the firmware file to be updated.
- Let the onboard debugger into DFU mode, it should be a CDC-ACM device for both BL702 or BL616. On Windows, this registers a new COM port, in this example is
COM12
. For Linux users, CDC-ACM usual register as/dev/ttyACMx
. For macOS users, it may register as/dev/tty.usbmodemxxxx
or/dev/cu.usbmodemxxxx
. (Eachx
represents a digit)
- Now, set the BLDevCube up as shown below. Set the firmware file location, the port for DFU mode, then click
Open UART
, and finally clickCreate & Download
.
- Wait for the download to complete as shown in the image below.
Confirm the results
After completing the above steps, we need to confirm that the firmware of the onboard debugger is successfully burned. Usually replug the USB cable or re-poweron the board will confirm it.
- In Windows, you can see two new devices in the device manager:
USB Converter A
andUSB Converter B
.
- To confirm the debugger firmware version, double-click any
USB Converter
and go to the Details tab. Then selectParent
Options from the drop-down menu:
- As shown in the figure below, the last 10 digits
2025102315
are the serial number of the debugger firmware version. Linux & macOS users could use commanddmesg
to check the serial number in kernel log.
Latest firmware
The latest firmware serial numbers of all Tang series onboard debuggers are recorded here:
Board | MCU model | Download | Serial num. | Firmware SHA256 Checksum |
---|---|---|---|---|
nano 1K | BL702 | N/A | N/A | N/A |
nano 4K | BL702 | N/A | N/A | N/A |
Nano 9K | BL702 | N/A | N/A | N/A |
Primer 20K | BL702 | N/A | N/A | N/A |
nano 20K | BL616 | Click | 2025012315 | bl616_fpga_partner_20kNano.sha256 |
Primer 25K | BL616 | Click | 2025012315 | bl616_fpga_partner_25kDock.sha256 |
Mega NEO | BL616 | Click | 2025012315 | bl616_fpga_partner_NeoDock.sha256 |
Mega 138K Pro | BL616 | Click | 2025012315 | bl616_fpga_partner_138kproDock.sha256 |
Console | BL616 | Click | 2025012319 | bl616_fpga_partner_Console.sha256 |
Troubleshooting
If you encounter any problems during use, or have any comments or suggestions on the document, please feel free to give us your feedback. Contact details are below.
In most cases, BouffaloLab's official documentation is sufficient for troubleshooting. Click here to get them.
FAQ
- TBD, waiting for feedback to be collected before adding.
Communication Methods
- Reddit : reddit.com/r/GowinFPGA/
- Telegram : t.me/sipeed
- Discussion forum: maixhub.com/discussion
- QQ discussion group: 834585530
- Leave a message directly below this page
- Business email : support@sipeed.com