Skip to main content

Tools & Drivers

Flashing toolchain overview placeholder 960 x 540 px

Image placeholder: 960 × 540 px (suggested use: build or download flow diagram). Replace it later with a verified image of the same dimensions.

Every tool below is published in the Development tools section of the TBoard Drive. Most are portable archives — unzip and run, no installer.

Windows​

ToolExecutablePurpose
RK Driver AssistantDriverInstall.exeUSB driver for Maskrom / Loader mode. Uninstall the old driver first
RKDevToolRKDevTool.exeFlash update.img to eMMC, flash single partitions
FactoryToolFactoryTool.exeBatch flashing for production
CH340 driverCH341SER.EXEUSB-to-serial adapter used for the debug console
MobaXtermportableSerial console and SSH client in one window

Run every flashing tool as administrator. If RKDevTool reports Download Boot Fail, the cause is almost always the cable, a USB hub, or a front-panel port — use a rear port and the shortest cable you have.

Linux and macOS​

ToolPurpose
upgrade_tool (Rockchip)Flash update.img from a Linux host over USB
rkdeveloptoolOpen-source alternative for the same job
dd / xzcatWrite a microSD image
balenaEtcherCross-platform microSD writer with verification

upgrade_tool lives in the SDK at tools/linux/Linux_Upgrade_Tool/:

sudo ./upgrade_tool ld                     # list connected devices and the mode
sudo ./upgrade_tool uf update.img # write and reboot
sudo ./upgrade_tool uf update.img -noreset # write, keep the device in Loader mode

ld prints Mode=Maskrom or Mode=Loader. If nothing is listed, the board is not in flashing mode or the USB cable carries no data.

Entering flashing mode​

ModeHow to enterWhen to use
MaskromShort the Maskrom pin to GND while applying powereMMC empty or bootloader broken
LoaderShort the Loader/Recovery pin to GND while applying powerNormal upgrade, or after reboot loader
ADBBooted system with USB debuggingRKDevTool can switch an ADB device to Rockusb

Flashing requires two connections: the USB A-to-A cable from the PC to a USB 3.0 port for data, and the Type-C supply into PWR IN for power.

Which tool for which image​

ImageTool
*.img / *.img.xz for microSDbalenaEtcher, Win32DiskImager, dd
update.img for eMMCRKDevTool (Windows) or upgrade_tool (Linux)
Single partition for debuggingRKDevTool Advanced tab, upgrade_tool di -p