Difference between revisions of "1. Using AndroidTool."

From ESS-WIKI
Jump to: navigation, search
(Created page with " '''<span lang="EN-US" style="font-size:9.0pt">Step1 </span><span style="font-size:9.0pt">请先准备一条mirco USB 线材和Debug Cable</span>''' '''<span lang="EN-US" sty...")
 
 
(8 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
'''Debug Cable'''
 
'''Debug Cable'''
  
<span style="color:#ff0000;">插一张Debug cable 图片</span>
+
[[File:ROM-5780 debug cable.png|600x300px|ROM-5780 debug cable.png]]
  
 
'''Step2 Double click DriverInstal'''
 
'''Step2 Double click DriverInstal'''
  
<span style="color:#ff0000;">插一张DriverInstall图片</span>
+
[[File:ROM-5780 driverInstall.png|600x300px|ROM-5780 driverInstall.png]]
  
'''<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Step3 Enter into MASKROM mode .</span></span></span></span>'''
+
'''<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Step3 Enter into MASKROM mode .</span></span></span></span>'''
  
<span lang="EN-US" style="font-size:10.5pt"><span style="background:yellow"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">There are two ways to enter MASKROM</span></span></span></span>
+
<span lang="EN-US" style="font-size:10.5pt"><span style="background:yellow"><span style="font-family:"><span style="color:#252525">There are two ways to enter MASKROM</span></span></span></span>
  
'''<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">1. Hardware way to enter MASKROM</span></span></span></span>'''
+
'''<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">1. Hardware way to enter MASKROM</span></span></span></span>'''
  
<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Step1</span></span></span><span style="font-size:10.5pt"><span style="font-family:等线"><span style="color:#252525">将</span></span></span>'''<span lang="EN-US" style="font-size:9.0pt"><span style="font-family:等线">Mirco USB</span></span><span style="font-size:9.0pt"><span style="font-family:等线">的OTG端插在板卡的USB0_OTG1端口上,USB端插在PC上,如下图</span></span>'''
+
<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Step1</span></span></span><span style="font-size:10.5pt"><span style="font-family:等线"><span style="color:#252525">将</span></span></span>'''<span lang="EN-US" style="font-size:9.0pt"><span style="font-family:等线">Mirco USB</span></span><span style="font-size:9.0pt"><span style="font-family:等线">的OTG端插在板卡的USB0_OTG1端口上,USB端插在PC上,如下图</span></span>'''
  
<span style="color:#ff0000;">'''<span style="font-size:9.0pt"><span style="font-family:等线">插一张图片</span></span>'''</span>
+
[[File:ROM-5780 Mirco USB.png|600x300px|ROM-5780 Mirco USB.png]]
  
 
Step 2 将底板ROM-DB5901的SW1(BOOT SEELECT)拨码如下
 
Step 2 将底板ROM-DB5901的SW1(BOOT SEELECT)拨码如下
  
<span style="color:#ff0000;">插一张SW1拨码开关的图片</span>
+
[[File:ROM-5780 SW1.png|600x300px|ROM-5780 SW1.png]]
  
Step 3 使用12V 3A的电源上电,并打开瑞芯微开发工具V2.65,如下图
+
Step 3 使用12V 3A的电源上电,并打开瑞芯微开发工具V2.71,如下图
  
<span style="color:#ff0000;">插一张进入MASROM设备模式的图片</span>
+
[[File:ROM-5780 Maskrom.png|600x400px|ROM-5780 Maskrom.png]]
  
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Step 4</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">当板卡进入</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">MASKROM</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">模式后,将底板ROM-DB5901&nbsp;</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">SW1</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">的</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">4</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">、</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">5</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">拨回</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">OFF</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">(</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">1-6</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">均为</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">OFF</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">),再点击“执行”开始进行烧录。</span></span></span>
+
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Step 4</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">当板卡进入</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">MASKROM</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">模式后,将底板ROM-DB5901&nbsp;</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">SW1</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">的</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">4</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">、</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">5</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">拨回</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">OFF</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">(</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">1-6</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">均为</span></span><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">OFF</span></span></span><span style="font-size:10.5pt"><span style="color:#252525">),再点击“执行”开始进行烧录。</span></span></span>
  
<span style="color:#ff0000;">插一张ADB的图片</span>
+
[[File:ROM-5780 ADB.png|600x400px|ROM-5780 ADB.png]]
  
<span style="background:white">'''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">2. Software way to enter MASKROM</span></span></span>'''</span>
+
<span style="background:white">'''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">2. Software way to enter MASKROM</span></span></span>'''</span>
  
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">When the device boot up to android or debian, you can use ADB or Debug console, send command "reboot loader" .</span></span></span></span>
+
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">When the device boot up to android or debian, you can use ADB or Debug console, send command "reboot loader" .</span></span></span></span>
  
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Or Press "ctrl + c" key when booting into uboot, until get the following information on debug console :</span></span></span></span>
+
<span style="background:white"><span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Or Press "ctrl + c" key when booting into uboot, until get the following information on debug console&nbsp;:</span></span></span></span>
  
<span style="background:white">'''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Android 10</span></span></span>''''''<span style="font-size:10.5pt"><span style="color:#252525">:</span></span>'''</span>
+
<span style="background:white">''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Android 10</span></span></span>'''''<span style="font-size:10.5pt"><span style="color:#252525">:</span></span>'''</span>
<div style="border:solid #cccccc 1.0pt; border-top:none; padding:0cm 8.0pt 8.0pt 8.0pt"><pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
<div style="border:solid #cccccc 1.0pt; border-top:none; padding:0cm 8.0pt 8.0pt 8.0pt"><pre style="border:none; margin-bottom:6.0pt; padding:0cm">Hit any key to stop autoboot:0
<pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
</pre>
<pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
 
<pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
rkboot # <INTERUPT>
 +
 
 +
rkoot # =>rbrom
 +
 
 +
I2C2 speed: 100000Hz
 
</div>  
 
</div>  
<span style="background:white">'''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:" arial",sans-serif"=""><span style="color:#252525">Debian 9.x</span></span></span>''''''<span style="font-size:10.5pt"><span style="color:#252525">:</span></span>'''</span>
+
<span style="background:white">''<span lang="EN-US" style="font-size:10.5pt"><span style="font-family:"><span style="color:#252525">Debian 9.x</span></span></span>''''''<span style="font-size:10.5pt"><span style="color:#252525">:</span></span>'''</span>
<div style="border:solid #cccccc 1.0pt; border-top:none; padding:0cm 8.0pt 8.0pt 8.0pt"><pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
<div style="border:solid #cccccc 1.0pt; border-top:none; padding:0cm 8.0pt 8.0pt 8.0pt"><pre style="border:none; margin-bottom:6.0pt; padding:0cm">Hit any key to stop autoboot:0
<pre style="border:none; margin-bottom:6.0pt; padding:0cm"><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></pre>
+
</pre>
  
<span lang="EN-US" style="font-size:10.0pt"><span style="font-family:" lucida="" console""=""><span style="color:black">rkboot # rbrom</span></span></span>
+
rkboot # <INTERUPT>
 +
 
 +
rkoot # =>rbrom
 
</div>  
 
</div>  
<span style="color:#ff0000;">插一张loader图片</span>
+
[[File:ROM-5780 Loader.png|600x400px]]
  
 
点击“高级功能”,进行选择,点击“进入Maskrom”,如下图所示:
 
点击“高级功能”,进行选择,点击“进入Maskrom”,如下图所示:
  
<span style="color:#ff0000;">插两张设置图片</span>
+
[[File:ROM-5780 Loader-1.png|600x400px]]
 +
 
 +
[[File:ROM-5780 Loader-2.png|600x400px]]

Latest revision as of 10:04, 26 May 2023

Step1 请先准备一条mirco USB 线材和Debug Cable

Mirco USB

RTENOTITLE

Debug Cable

ROM-5780 debug cable.png

Step2 Double click DriverInstal

ROM-5780 driverInstall.png

Step3 Enter into MASKROM mode .

There are two ways to enter MASKROM

1. Hardware way to enter MASKROM

Step1Mirco USB的OTG端插在板卡的USB0_OTG1端口上,USB端插在PC上,如下图

ROM-5780 Mirco USB.png

Step 2 将底板ROM-DB5901的SW1(BOOT SEELECT)拨码如下

ROM-5780 SW1.png

Step 3 使用12V 3A的电源上电,并打开瑞芯微开发工具V2.71,如下图

ROM-5780 Maskrom.png

Step 4当板卡进入MASKROM模式后,将底板ROM-DB5901 SW145拨回OFF1-6均为OFF),再点击“执行”开始进行烧录。

ROM-5780 ADB.png

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

Hit any key to stop autoboot:0

rkboot # <INTERUPT>

rkoot # =>rbrom

I2C2 speed: 100000Hz

Debian 9.x'

Hit any key to stop autoboot:0

rkboot # <INTERUPT>

rkoot # =>rbrom

ROM-5780 Loader.png

点击“高级功能”,进行选择,点击“进入Maskrom”,如下图所示:

ROM-5780 Loader-1.png

ROM-5780 Loader-2.png