1. Using AndroidTool.
Step1 请先准备一条mirco USB 线材和Debug Cable
Mirco USB
Debug Cable
插一张Debug cable 图片
Step2 Double click DriverInstal
插一张DriverInstall图片
Step3 Enter into MASKROM mode .
There are two ways to enter MASKROM
1. Hardware way to enter MASKROM
Step1将Mirco USB的OTG端插在板卡的USB0_OTG1端口上,USB端插在PC上,如下图
插一张图片
Step 2 将底板ROM-DB5901的SW1(BOOT SEELECT)拨码如下
插一张SW1拨码开关的图片
Step 3 使用12V 3A的电源上电,并打开瑞芯微开发工具V2.65,如下图
插一张进入MASROM设备模式的图片
Step 4当板卡进入MASKROM模式后,将底板ROM-DB5901 SW1的4、5拨回OFF(1-6均为OFF),再点击“执行”开始进行烧录。
插一张ADB的图片
2. Software way to enter MASKROM
When the device boot up to android or debian, you can use ADB or Debug console, send command "reboot loader" .
Or Press "ctrl + c" key when booting into uboot, until get the following information on debug console :
'Android 10':
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">Hit any key to stop autoboot: 0</span></span></span></span></span></span>
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">rkboot # <INTERRUPT></span></span></span></span></span></span>
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">rkboot # => rbrom</span></span></span></span></span></span>
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">I2c2 speed: 100000Hz</span></span></span></span></span></span>
'Debian 9.x':
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">Hit any key to stop autoboot: 0</span></span></span></span></span></span>
<span style="background:#f6f6f6"><span style="background:#f6f6f6"><span style="line-height:14.4pt"><span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">rkboot # <INTERRUPT></span></span></span></span></span></span>
rkboot # rbrom
插一张loader图片
点击“高级功能”,进行选择,点击“进入Maskrom”,如下图所示:
插两张设置图片