Difference between revisions of "RSB-3710 user guide"

From ESS-WIKI
Jump to: navigation, search
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== '''資源特性(Features)''' ==
 
  
*Rockchip Arm® Cortex®-A72 RK3399 up to 1.8 GHz
+
== '''產品介紹(Product introduction )''' ==
*Onboard LPDDR4 2GB
 
*HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS
 
*1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out
 
*1 mini-PCIe for 3G/4G
 
*UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C
 
*Supports Debian9/10 and Android7.1/10.0
 
*Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information
 
  
== '''訂購資訊(Ordering Information)''' ==
+
=== '''產品特性(Product Features)''' ===
  
[[File:RSB-3710 orderinfo2021-11-02 100552.jpg|RTENOTITLE]]
+
*Rockchip Arm® Cortex®-A72 RK3399 up to 1.8 GHz
 +
*Onboard LPDDR4 2GB
 +
*HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS
 +
*1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out
 +
*1 mini-PCIe for 3G/4G
 +
*UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C
 +
*Supports Debian9/10 and Android7.1/10.0
 +
*Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information
  
== '''规格(Specifications)''' ==
+
=== '''產品官網連結(Product Features) ''' ===
  
== '''接口布局和尺寸(Layout and Sizes)''' ==
+
[https://www.advantech.com/en/search/?q=RSB-3710&st=support&from=support '''RSB-3710''']
 +
 
 +
== '''硬件接口說明(Hardware interface introduction)''' ==
 +
 
 +
=== '''接口布局和尺寸(Layout and Sizes)''' ===
  
 
=== '''接口布局圖 Board Dimension Layout ''' ===
 
=== '''接口布局圖 Board Dimension Layout ''' ===
Line 22: Line 25:
 
[[File:RSB-3710 product pic11 2021-11-02 100745.jpg|RTENOTITLE]]
 
[[File:RSB-3710 product pic11 2021-11-02 100745.jpg|RTENOTITLE]]
  
 
+
 
  
 
[[File:RSB-3710 product pic22 2021-11-02 100837.jpg|RTENOTITLE]]
 
[[File:RSB-3710 product pic22 2021-11-02 100837.jpg|RTENOTITLE]]
  
 
+
 
  
 
[[File:RSB-3710 product pic33 2021-11-02 100904.jpg|RTENOTITLE]]
 
[[File:RSB-3710 product pic33 2021-11-02 100904.jpg|RTENOTITLE]]
Line 34: Line 37:
 
'''[[File:RSB-3710 Jumper and Connector Locations 2021-11-02 101526.jpg|RTENOTITLE]]'''
 
'''[[File:RSB-3710 Jumper and Connector Locations 2021-11-02 101526.jpg|RTENOTITLE]]'''
  
{| border="1" cellspacing="1" cellpadding="1" style="width: 307px;"
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 307px;"
 
|-
 
|-
 
| style="width: 57px;" | BAT
 
| style="width: 57px;" | BAT
Line 94: Line 97:
 
|}
 
|}
  
 
+
 
  
 
=== '''接口引脚定義 (Pin definitions)''' ===
 
=== '''接口引脚定義 (Pin definitions)''' ===
  
*[[BAT|BAT]]
+
*[[BAT|BAT]]  
*[[HDMI1|HDMI1]]
+
*[[HDMI1|HDMI1]]  
*[[BL|BL]]
+
*[[BL|BL]]  
*[[LVDS|LVDS]]
+
*[[LVDS|LVDS]]  
*[[LAN1,_LAN2|LAN1, LAN2]]
+
*[[LAN1,_LAN2|LAN1, LAN2]]  
*[[MINIPCIE|MINIPCIE]]
+
*[[MINIPCIE|MINIPCIE]]  
*[[SIM|SIM]]
+
*[[SIM|SIM]]  
*[[Audio|Audio]]
+
*[[Audio|Audio]]  
*[[USB1|USB1]]
+
*[[USB1|USB1]]  
*[[COM2/Debug|COM2/Debug]]
+
*[[COM2/Debug|COM2/Debug]]  
*[[SD|SD]]
+
*[[SD|SD]]  
*[[OTG|OTG]]
+
*[[OTG|OTG]]  
*[[BTN|BTN]]
+
*[[BTN|BTN]]  
*[[RST|RST]]
+
*[[RST|RST]]  
*[[DCIN1|DCIN1]]
+
*[[DCIN1|DCIN1]]  
*[[LED|LED]]
+
*[[LED|LED]]  
*[[CN11|CN11]]
+
*[[CN11|CN11]]  
*[[CN12|CN12]]
+
*[[CN12|CN12]]  
*[[RSB-3710_Jumper_List|RSB-3710_Jumper List]]
+
*[[RSB-3710_Jumper_List|RSB-3710_Jumper List]]  
  
 
=== '''机械尺寸  ('''Mechanical Characteristics) ===
 
=== '''机械尺寸  ('''Mechanical Characteristics) ===
Line 124: Line 127:
 
== '''快速入门 (Quick Start)''' ==
 
== '''快速入门 (Quick Start)''' ==
  
=== '''系统下载 (OS Download)''' ===
 
  
[https://pan.baidu.com/s/1VOerXjiKg1pgvy0ZsJOErw Baidu for Android 7.1.2]   '''提取码:'''1r5f
 
  
'Android''系统 (Android OS)''''''   '''
 
  
{| cellspacing="0" cellpadding="0" border="1" style="width: 994px;"
+
=== '''系统下载 ( OS Download)''' ===
|-
 
|
 
'''Git BSP Tag Version'''
 
  
| style="width: 72px;" |
+
'''Android10'''
'''Product'''
 
  
| style="width: 287px;" |  '''BSP/Image'''
+
Note:  LIV=Yocto Linux, UIV=Ubuntu, DIV=Debian, AIV=Android
| style="width: 73px;" |
 
'''Date'''
 
  
| style="width: 101px;" |
+
             LBV=BSP, LIV=Image
'''Alpha Release'''
 
 
 
| style="width: 102px;" |
 
'''Beta Release'''
 
 
 
| style="width: 100px;" |
 
'''MP Release'''
 
 
 
| style="width: 110px;" |
 
'''Release Note'''
 
  
 +
{| border="1" cellpadding="1" cellspacing="1"
 
|-
 
|-
| style="text-align: center;" | V1193<br/>
+
| '''Platform'''
| style="width: 72px;" | RSB-3710
+
| '''Product'''
| style="width: 287px;" | RK3399_N7_AIV1193_rsb_3710_2021-04-20.tgz
+
| '''Image Version'''
| style="width: 73px;" | 2021-04-20
+
| '''Release Date'''
| style="width: 101px;" |
+
| '''Release Version'''
| style="width: 102px;" |
+
| '''Release notes'''
| style="text-align: center; width: 100px;" | V
+
| '''Image Download'''
| style="width: 110px;" |
+
| '''BSP Download Tag'''
|}
+
| '''Comment'''
 
 
'Linux''系统 (Linux OS)''''''&nbsp;'''
 
 
 
[https://pan.baidu.com/s/1Ht2OzxW4NgaZC0Gf69ikIA Baidu link for Debian10]&nbsp;Password:nvpp
 
 
 
{| cellspacing="0" cellpadding="0" border="1"
 
 
|-
 
|-
 +
| RK3399
 +
| RSB-3710
 +
| AIV1005
 +
| 2021/12/15
 +
| Alpha
 +
| NA
 
|  
 
|  
'''Git BSP Tag Version'''
+
[https://pan.baidu.com/s/1ck7M6SqRarYQh_ud3GxalA Baidu]&nbsp; Password:a887
  
|
+
[https://www.dropbox.com/sh/zcwyjknty83iklh/AAAsbYBy44GhQREpHfv0qFLta?dl=0 Dropbox]
'''Product'''
 
  
| &nbsp;'''BSP/Image'''
+
| RK3399_Q10_AIV1005.xml
|  
+
| &nbsp;
'''Date'''
+
|}
 
 
|
 
'''Alpha Release'''
 
  
|
+
*Alpha: &nbsp;Basic I/O function bring up by RD;
'''Beta Release'''
 
  
|
+
*Beta: &nbsp;Basic I/O function、performance and middleware verified by RD. Peripherals integrated;
'''MP Release'''
 
  
|
+
*GA: &nbsp;Beta version by QE verification;
'''Release Note'''
 
  
|-
+
*RTM: &nbsp;Beta version by SI/Power/QE verification and pre-loaded;
| style="text-align: center;" | DIV251013<br/>
 
| RSB-3710
 
| RSB3710A2AIM20DIV251013_2021-04-15.img.tgz
 
| 2021-04-15
 
|
 
| style="text-align: center;" | V
 
|
 
| [http://ess-wiki.advantech.com.tw/wiki/images/e/e8/RSB-3710_Debian10_Release_note_2021-04-15.pdf Release Note]
 
|}
 
  
== '''Android 燒錄方法 (Android&nbsp;Flash eMMC Method)&nbsp;''' ==
+
== '''Android 燒錄方法 (Flash Android image into eMMC Method)&nbsp;''' ==
  
'''1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;'''
+
'''1. Prepare a mirco USB Cable&nbsp;and&nbsp;Debug Cable&nbsp;'''
  
 
'''&nbsp;mirco USB'''&nbsp;
 
'''&nbsp;mirco USB'''&nbsp;
  
 +
&nbsp;
  
 +
&nbsp;
  
 +
&nbsp;
  
 
+
&nbsp;
 
 
 
 
 
 
  
 
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
 
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
Line 224: Line 193:
 
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]]
 
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]]
  
2. 插入 RSB-3710 的OTG port&nbsp;
+
2. Plug the OTG Cable into RSB-3720&nbsp;
  
 
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]
 
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]
  
連接 Debug cable&nbsp;
+
Connect Debug cable&nbsp;
  
 
[[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
 
[[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
Line 236: Line 205:
 
Debug 串口調試 (Debug port Setting)
 
Debug 串口調試 (Debug port Setting)
  
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
+
&nbsp;Tera Term setting&nbsp;
<pre>  Baud Rate波特率:115200
+
<pre>  Baud Rate:115200
   Data 数据位:8
+
   Data :8
   Parity 奇偶校验:无
+
   Parity :none
&nbsp;  Stop 停止位:1
+
  Stop :1
   Flow Control流控:无</pre>
+
   Flow Control:none</pre>
  
:
+
:&nbsp;
  
 
Tera Term Tool&nbsp;
 
Tera Term Tool&nbsp;
Line 253: Line 222:
 
Note:
 
Note:
  
Check the Sriel port in Device Manager (查看PC端的串口号)
+
Check the Sriel port in Device Manager :
  
 
if you can not identify the Serial device , please check your serial driver.&nbsp;
 
if you can not identify the Serial device , please check your serial driver.&nbsp;
  
 +
&nbsp;
  
 
+
3.Open the flash tool&nbsp;
3.打開燒錄軟體
 
  
 
&nbsp;[[File:RSB-3710 android tool 2021-11-02 150159.jpg|RTENOTITLE]]
 
&nbsp;[[File:RSB-3710 android tool 2021-11-02 150159.jpg|RTENOTITLE]]
  
4. 打開電源&nbsp;
+
4. Turn on the power&nbsp;
  
5. 在終端機上可看到Debug 訊息, 按下'''"Ctrl + C" '''組合鍵. 進入u-boot&nbsp;
+
5. When you see the debug message in Terminal , then press "Ctrl+C" , then log into Uboot stage&nbsp;
  
 
[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
 
[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
  
6. 在u-boot ,輸入'''"rbrom "&nbsp; '''&nbsp;可進入燒錄模式 , Android tool 會同時顯示 '''"Found One MASKROM Device "&nbsp;'''
+
6. In Uboot , please type&nbsp;&nbsp;'''"loader"&nbsp; , then the device will transfer to "Flash mode"&nbsp;'''&nbsp;, Android tool also will show&nbsp;&nbsp;'''"Found One MASKROM Device "&nbsp;'''
  
[[File:RSB-3710 rbrom 2021-11-02 151430.jpg|RTENOTITLE]]
+
&nbsp;&nbsp;[[File:RSB-3710 android loader 2022-01-20 154115.jpg|RTENOTITLE]]
  
 +
&nbsp;
  
 +
&nbsp;
  
7. 在RKDevTool 按下&nbsp;"Run"&nbsp; ,可進行燒錄.
+
7. In RKDevTool pressed&nbsp;&nbsp;"Run"&nbsp; , and it will flash image into eMMC.
  
 
[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
 
[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
  
8.&nbsp; 燒錄完畢
+
8. The flash process&nbsp; was finishded&nbsp;
  
 
&nbsp;&nbsp;[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
 
&nbsp;&nbsp;[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
  
9. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示安卓的桌面.&nbsp;
+
9. Reboot the device , and connect with HDMI , it will show the Android Desktop.&nbsp;
  
 
[[File:RSB-3710 Android desktop pic.png|RTENOTITLE]]
 
[[File:RSB-3710 Android desktop pic.png|RTENOTITLE]]
  
== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)&nbsp;''' ==
+
== '''Debian&nbsp;燒錄方法 (&nbsp;Flash Debian image into eMMC Method)&nbsp;''' ==
  
'''1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;'''
+
'''1. Prepare a&nbsp;&nbsp;mirco USB cable&nbsp;and Debug Cable&nbsp;'''
  
 
'''&nbsp;mirco USB'''&nbsp;
 
'''&nbsp;mirco USB'''&nbsp;
  
 +
&nbsp;
  
 +
&nbsp;
  
 +
&nbsp;
  
 
+
&nbsp;
 
 
 
 
 
 
  
 
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
 
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
Line 307: Line 278:
 
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]]
 
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]]
  
2. 插入 RSB-3710 的OTG port&nbsp;
+
2. plug'''&nbsp;&nbsp;'''mirco USB cable into the &nbsp;RSB-3710 OTG port.&nbsp;
  
 
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]
 
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]
  
連接 Debug cable&nbsp;
+
Connect&nbsp;&nbsp;Debug cable&nbsp;
  
 
[[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
 
[[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
Line 319: Line 290:
 
Debug 串口調試 (Debug port Setting)
 
Debug 串口調試 (Debug port Setting)
  
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
+
&nbsp;
<pre>  Baud Rate波特率:115200
+
<pre>  Baud Rate:115200
   Data 数据位:8
+
   Data :8
   Parity 奇偶校验:无
+
   Parity :none
&nbsp;  Stop 停止位:1
+
  Stop :1
   Flow Control流控:无</pre>
+
   Flow Control:none</pre>
  
:
+
:&nbsp;
  
 
Tera Term Tool&nbsp;
 
Tera Term Tool&nbsp;
Line 340: Line 311:
 
如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.)&nbsp;
 
如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.)&nbsp;
  
 +
&nbsp;
  
 
+
3. Execute the Flash tool&nbsp;
3.打開燒錄軟體
 
  
 
&nbsp;[[File:RSB-3710 RKDevTool Debian 2021-11-02 171049.jpg|RTENOTITLE]]
 
&nbsp;[[File:RSB-3710 RKDevTool Debian 2021-11-02 171049.jpg|RTENOTITLE]]
  
4. 打開電源&nbsp;
+
4. Turn on the power.&nbsp;
  
5. 在終端機上可看到Debug 訊息, 按下'''"Ctrl + C" '''組合鍵. 進入u-boot&nbsp;
+
5. Press "'''Ctrl + C", '''log into&nbsp;u-boot&nbsp;
  
 
[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
 
[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
  
6. 如果已經安裝過了安卓&nbsp;,再燒錄Debian&nbsp; 有可能會燒錄失敗. 所以要經過此步驟,清除已經燒錄過的安卓系統.&nbsp;
+
6. In Uboot , please type&nbsp;'''"rbrom "&nbsp;'''&nbsp;, the device will transfer to'''"Flash mode"'''&nbsp;, Android tool also will show&nbsp;'''"Found One MASKROM Device "&nbsp;'''
  
&nbsp; &nbsp; 請參考如何清除原生系統
+
[[File:RSB-3710 rbrom 2021-11-02 151430.jpg|RTENOTITLE]]
 +
 
 +
&nbsp;7. In RKDevTool , Press&nbsp;'''"Run"'''&nbsp;, it will flash the image into eMMC.&nbsp;
 +
 
 +
[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
  
7.&nbsp; 清除後,重新上電,會直接進入 "Found One MASKROM Device" 燒錄模式
+
8.&nbsp;&nbsp;The flash process&nbsp; was finishded&nbsp;
  
&nbsp; &nbsp;&nbsp;
+
&nbsp;&nbsp;[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
  
 +
9. Reboot the device , and connect with HDMI , it will show the Debian&nbsp;Desktop.&nbsp;
  
 +
&nbsp;
  
 +
'''&nbsp; &nbsp;&nbsp;[[File:RSB-3710 Debian Screenshot from 2022-01-20 06-54-41.png|RTENOTITLE]]'''
  
 +
== '''系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
  
8. 在RKDevTool 按下&nbsp;"Run"&nbsp; ,可進行燒錄.
+
=== [[Display_Setting_(RSB-3710)|'''Display Setting (RSB-3710)''']] ===
  
[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 476px;"
 +
|-
 +
| lvds
 +
| style="width: 436px;" | lvds-g070vw01; lvds-g150xgel05; lvds-g215hvn01
 +
|-
 +
| hdmi
 +
| style="width: 436px;" | hdmi-default
 +
|-
 +
| dp
 +
| style="width: 436px;" | dp-default
 +
|}
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1"
 +
|-
 +
| '''IN uboot'''
 +
| '''In Debian/Android'''
 +
|-
 +
| setenv&nbsp;prmry_screen hdmi-default
 +
| fw_setenv&nbsp;prmry_screen hdmi-default
 +
|-
 +
| setenv&nbsp;extend_screen edp-1920x1080
 +
| fw_setenv&nbsp;extend_screen edp-1920x1080
 +
|-
 +
| saveenv
 +
| &nbsp;
 +
|-
 +
| reset
 +
| reboot
 +
|}
 +
 
 +
In u-boot:
 +
 
 +
=> setenv prmry_screen lvds-g070vw01
 +
 
 +
=> setenv extend_screen hdmi-default
 +
 
 +
=> saveenv
 +
 
 +
=> reset
  
9.&nbsp; 燒錄完畢
+
In Linux:
  
&nbsp;&nbsp;[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
+
~# fw_setenv prmry_screen lvds-g070vw01
  
10. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示安卓的桌面.&nbsp;
+
~# reboot
  
 +
Modify LVDS backlight PWM: (Defaul is 20KHz, New version BSP support to modify the PWM clock in u-boot from 200~20KHz)
  
 +
In u-boot:
  
'''&nbsp; &nbsp;&nbsp;'''
+
=> setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)
  
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
+
In Linux:
  
=== '''&nbsp; &nbsp; &nbsp; Display Setting (RSB-3710)''' ===
+
~# fw_setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)
  
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;'''
+
~# reboot
  
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
+
&nbsp;
  
'''Command&nbsp;: ifconfig&nbsp;'''
+
Check PWM duty sysle in Linux:
  
 +
~#&nbsp;cat /sys/kernel/debug/pwm
  
 +
[[File:Z75.jpg|RTENOTITLE]]
  
 +
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
  
 +
'''Command&nbsp;: ifconfig&nbsp;'''
  
 
'''Command: Ping 8.8.8.8&nbsp;'''
 
'''Command: Ping 8.8.8.8&nbsp;'''
Line 419: Line 442:
 
=== '''GPIO使用方法(GPIO Operating Method)''' ===
 
=== '''GPIO使用方法(GPIO Operating Method)''' ===
  
'''[[File:RSB-3710 GPIO define 2022-01-20 142613.jpg]]'''
+
'''[[File:RSB-3710 GPIO define 2022-01-20 142613.jpg|RTENOTITLE]]'''
 
 
[[File:RSB-3710 gpio1 2022-01-20 142757.jpg]]
 
  
[[File:RSB-3710 gpio2 2022-01-20 142824.jpg]]
+
[[File:RSB-3710 gpio1 2022-01-20 142757.jpg|RTENOTITLE]]
  
===  ===
+
[[File:RSB-3710 gpio2 2022-01-20 142824.jpg|RTENOTITLE]]
  
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
Line 478: Line 499:
 
ple_WAV_10MG.wav
 
ple_WAV_10MG.wav
 
Playing WAVE 'file_example_WAV_10MG.wav'&nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
 
Playing WAVE 'file_example_WAV_10MG.wav'&nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
</pre>
 
 
=== '''I2C 測試( I2C Test method)&nbsp;''' ===
 
<pre>Check I2C device (Audio codec: 0-000a)
 
# i2cdetect -y 0
 
I2C set and get:
 
# i2cset -f -y 0 0x0a 0 0xff00 w
 
# i2cget -f -y 0 0x0a 0 w
 
0x11a0
 
 
</pre>
 
</pre>
  
 
=== '''看門狗測試 (Watch Dog Test method)&nbsp;''' ===
 
=== '''看門狗測試 (Watch Dog Test method)&nbsp;''' ===
 
<pre>System will reboot after 1 sec
 
<pre>System will reboot after 1 sec
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0</pre>
+
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0
 +
</pre>
  
 
+
&nbsp;
 
 
=== '''攝像頭測試(Camera Test method)&nbsp;''' ===
 
<pre>Check MIPI CSI camera
 
MIPI CSI0:
 
MIPI CSI1:
 
 
 
MIPI CSI0 - ov5640
 
Preview:
 
# gst-launch-1.0 v4l2src device=/dev/video0&nbsp;! video/x-raw,width=640,height=480&nbsp;! waylandsink
 
Capture:
 
# gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0&nbsp;! video/x-raw,width=640,height=480&nbsp;! jpegenc&nbsp;! filesink location=sample.jpeg
 
MIPI CSI1 – ov5640
 
Preview:
 
# gst-launch-1.0 v4l2src device=/dev/video1&nbsp;! video/x-raw,width=640,height=480&nbsp;! waylandsink
 
Capture:
 
# gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video1&nbsp;! video/x-raw,width=640,height=480&nbsp;! jpegenc&nbsp;! filesink location=sample.jpeg</pre>
 
  
 
=== '''遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
 
=== '''遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
Line 516: Line 513:
 
<pre>        Command&nbsp;: ifconfig</pre>
 
<pre>        Command&nbsp;: ifconfig</pre>
  
[[File:RSB-3710 ifconfig 2022-01-20 140604.jpg]]
+
[[File:RSB-3710 ifconfig 2022-01-20 140604.jpg|RTENOTITLE]]
  
 
==== Windows下SSH访问及文件传输 ====
 
==== Windows下SSH访问及文件传输 ====
Line 522: Line 519:
 
SSH Remote Log into Device&nbsp;
 
SSH Remote Log into Device&nbsp;
  
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
+
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)  
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
+
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码  
 
 
  
 +
&nbsp;
  
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
Line 531: Line 528:
 
[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
 
[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
  
 
+
&nbsp;
  
 
[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
 
[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
Line 537: Line 534:
 
== '''通用方法(General Method)''' ==
 
== '''通用方法(General Method)''' ==
  
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' ===
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
 
<pre>    root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp  40000
 
<pre>    root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp  40000
  
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 40°</pre>
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 40°</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' ===
+
=== '''查看CPU频率(Check CPU Frequency)''' ===
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
           >> 1200000
 
           >> 1200000
Line 548: Line 545:
 
           >> 1800000</pre>
 
           >> 1800000</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
 
<pre>root@linaro-alip:~# busybox free -m
 
<pre>root@linaro-alip:~# busybox free -m
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available
Line 556: Line 553:
 
</pre>
 
</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(Check Storage Capacity)''' ===
+
=== '''查看存储容量(Check Storage Capacity)''' ===
 
<pre>root@linaro-alip:~# busybox df -h
 
<pre>root@linaro-alip:~# busybox df -h
 
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on
 
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on
Line 571: Line 568:
 
root@linaro-alip:~#</pre>
 
root@linaro-alip:~#</pre>
  
=== '''&nbsp;網路Ping測試(Ping Network Testing)''' ===
+
=== '''網路Ping測試(Ping Network Testing)''' ===
 
<pre>    ping 8.8.8.8
 
<pre>    ping 8.8.8.8
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
Line 579: Line 576:
 
=== '''設置RTC (RTC Setting)&nbsp;''' ===
 
=== '''設置RTC (RTC Setting)&nbsp;''' ===
  
Set system time to current, then write to RTC<br/>&nbsp; &nbsp;root@linaro-alip:~# date 01282022<br/>&nbsp; &nbsp;Fri Jan 28 20:22:00 UTC 2022<br/>&nbsp; &nbsp;root@linaro-alip:~#<br/>Restart the RTC time to system time<br/># hwclock -s && date
+
Set system time to current, then write to RTC<br/> &nbsp; &nbsp;root@linaro-alip:~# date 01282022<br/> &nbsp; &nbsp;Fri Jan 28 20:22:00 UTC 2022<br/> &nbsp; &nbsp;root@linaro-alip:~#<br/> Restart the RTC time to system time<br/> # hwclock -s && date
  
root@linaro-alip:~# hwclock -s && date<br/>Thu Jan 20 06:18:26 UTC 2022<br/>root@linaro-alip:~#&nbsp;
+
root@linaro-alip:~# hwclock -s && date<br/> Thu Jan 20 06:18:26 UTC 2022<br/> root@linaro-alip:~#&nbsp;
  
 
== '''Android&nbsp;BSP編譯方法(Android BSP Compile Method)''' ==
 
== '''Android&nbsp;BSP編譯方法(Android BSP Compile Method)''' ==
  
===  ===
+
[http://ess-wiki.advantech.com.tw/view/Debian_BSP_User_Guide_for_rk3399_risc_series&nbsp http://ess-wiki.advantech.com.tw/view/Debian_BSP_User_Guide_for_rk3399_risc_series&nbsp];
  
'''如果有驗證上的錯誤 請使用以下的方法'''
+
=== '''如果有驗證上的錯誤 請使用以下的方法(If you got "&nbsp;Server certificate verification failed " message ,please follow the solution as below)&nbsp;''' ===
  
<u>'''### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none<br/>============================================================<br/>export GIT_SSL_NO_VERIFY=1<br/>#or<br/>git config --global http.sslverify false<br/>============================================================'''</u>
+
<u>'''### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none<br/> ============================================================<br/> export GIT_SSL_NO_VERIFY=1<br/> #or<br/> git config --global http.sslverify false<br/> ============================================================'''</u>

Latest revision as of 08:43, 29 March 2024

Contents

產品介紹(Product introduction )

產品特性(Product Features)

  • Rockchip Arm® Cortex®-A72 RK3399 up to 1.8 GHz
  • Onboard LPDDR4 2GB
  • HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS
  • 1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out
  • 1 mini-PCIe for 3G/4G
  • UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C
  • Supports Debian9/10 and Android7.1/10.0
  • Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information

產品官網連結(Product Features) 

RSB-3710

硬件接口說明(Hardware interface introduction)

接口布局和尺寸(Layout and Sizes)

接口布局圖 Board Dimension Layout 

RTENOTITLE

 

RTENOTITLE

 

RTENOTITLE

 Connector List

RTENOTITLE

BAT RTC Battery Connector
HDMI HDMI1 CONN
BL LVDS BKL CONN
LVDS LVDS CONN
LAN1 LAN
LAN2 LAN
MINIPCIE MINI PCIE 52P 
SIM Nano SIM Card
AUDIO Audio PIN Header
USB1 USB CONN
COM2/Debug  COM2 
SD SD Slot
OTG USB
BTN Power BTN pin header 
RST Reset Button
DCIN1  12V DC Jack
LED LED
CN11 UIO1
CN12 UIO2

 

接口引脚定義 (Pin definitions)

机械尺寸  (Mechanical Characteristics)

RTENOTITLE

快速入门 (Quick Start)

系统下载 ( OS Download)

Android10

Note:  LIV=Yocto Linux, UIV=Ubuntu, DIV=Debian, AIV=Android

             LBV=BSP, LIV=Image

Platform Product Image Version Release Date Release Version Release notes Image Download BSP Download Tag Comment
RK3399 RSB-3710 AIV1005 2021/12/15 Alpha NA

Baidu  Password:a887

Dropbox

RK3399_Q10_AIV1005.xml  
  • Alpha:  Basic I/O function bring up by RD;
  • Beta:  Basic I/O function、performance and middleware verified by RD. Peripherals integrated;
  • GA:  Beta version by QE verification;
  • RTM:  Beta version by SI/Power/QE verification and pre-loaded;

Android 燒錄方法 (Flash Android image into eMMC Method) 

1. Prepare a mirco USB Cable and Debug Cable 

 mirco USB 

 

 

 

 

RTENOTITLE

Debug Cable 

RTENOTITLE

2. Plug the OTG Cable into RSB-3720 

RTENOTITLE

Connect Debug cable 

RTENOTITLE

2. 設定終端機(Set Debug Terminal) 

Debug 串口調試 (Debug port Setting)

 Tera Term setting 

   Baud Rate:115200
   Data :8
   Parity :none
   Stop :1
   Flow Control:none
 

Tera Term Tool 

RTENOTITLE

RTENOTITLE

Note:

Check the Sriel port in Device Manager :

if you can not identify the Serial device , please check your serial driver. 

 

3.Open the flash tool 

 RTENOTITLE

4. Turn on the power 

5. When you see the debug message in Terminal , then press "Ctrl+C" , then log into Uboot stage 

RTENOTITLE

6. In Uboot , please type  "loader"  , then the device will transfer to "Flash mode"  , Android tool also will show  "Found One MASKROM Device " 

  RTENOTITLE

 

 

7. In RKDevTool pressed  "Run"  , and it will flash image into eMMC.

RTENOTITLE

8. The flash process  was finishded 

  RTENOTITLE

9. Reboot the device , and connect with HDMI , it will show the Android Desktop. 

RTENOTITLE

Debian 燒錄方法 ( Flash Debian image into eMMC Method) 

1. Prepare a  mirco USB cable and Debug Cable 

 mirco USB 

 

 

 

 

RTENOTITLE

Debug Cable 

RTENOTITLE

2. plug  mirco USB cable into the  RSB-3710 OTG port. 

RTENOTITLE

Connect  Debug cable 

RTENOTITLE

3. 設定終端機(Set Debug Terminal) 

Debug 串口調試 (Debug port Setting)

 

   Baud Rate:115200
   Data :8
   Parity :none
   Stop :1
   Flow Control:none
 

Tera Term Tool 

RTENOTITLE

RTENOTITLE

Note:

查看PC端的串口号(Check the Sriel port in Device Manager) :

如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.) 

 

3. Execute the Flash tool 

 RTENOTITLE

4. Turn on the power. 

5. Press "Ctrl + C", log into u-boot 

RTENOTITLE

6. In Uboot , please type "rbrom "  , the device will transfer to"Flash mode" , Android tool also will show "Found One MASKROM Device " 

RTENOTITLE

 7. In RKDevTool , Press "Run" , it will flash the image into eMMC. 

RTENOTITLE

8.  The flash process  was finishded 

  RTENOTITLE

9. Reboot the device , and connect with HDMI , it will show the Debian Desktop. 

 

    RTENOTITLE

系统的基本使用(Linux System Basic Operating Method)

Display Setting (RSB-3710)

lvds lvds-g070vw01; lvds-g150xgel05; lvds-g215hvn01
hdmi hdmi-default
dp dp-default
IN uboot In Debian/Android
setenv prmry_screen hdmi-default fw_setenv prmry_screen hdmi-default
setenv extend_screen edp-1920x1080 fw_setenv extend_screen edp-1920x1080
saveenv  
reset reboot

In u-boot:

=> setenv prmry_screen lvds-g070vw01

=> setenv extend_screen hdmi-default

=> saveenv

=> reset

In Linux:

~# fw_setenv prmry_screen lvds-g070vw01

~# reboot

Modify LVDS backlight PWM: (Defaul is 20KHz, New version BSP support to modify the PWM clock in u-boot from 200~20KHz)

In u-boot:

=> setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)

In Linux:

~# fw_setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)

~# reboot

 

Check PWM duty sysle in Linux:

~# cat /sys/kernel/debug/pwm

RTENOTITLE

乙太網路使用方法(Ethernent Testing Method)

Command : ifconfig 

Command: Ping 8.8.8.8 

WiFi使用方法(WIFI Testing Method)

# killall wpa_supplicant
# ifconfig wlan0 up
# wpa_passphrase "SSID" "PASSWORD" > /tmp/wpa.conf
# cat /tmp/wpa.conf
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
# udhcpc -b -i wlan0
# ifconfig
# ping 8.8.8.8
Add DNS to /etc/resolv.conf
# cat /etc/resolv.conf
# Generated by Connection Manager
nameserver 8.8.8.8
nameserver 8.8.4.4
Now can ping google.com
# ping google.com

4G使用方法(4G Testing Method)

Ubuntu - 4G 模塊(EC-25J) 設定 ( 4G module (EC-25J) in Ubuntu system) 

Ubuntu - 4G 模塊(EC-20) 設定( 4G module (EC-20) in Ubuntu system) 

GPIO使用方法(GPIO Operating Method)

RTENOTITLE

RTENOTITLE

RTENOTITLE

蓝牙使用方法(BlueTooth Operating Method)

# hciattach /dev/ttymxc0 bcm43xx 115200 flow
# hciconfig hci0 up
# hcitool scan# bluetoothctl
# discoverable on
#pairable on
# scan on
# scan off
# pair 84:C5:A6:D3:AF:E4
# connect 84:C5:A6:D3:AF:E4
Check BT connect info
# info 84:C5:A6:D3:AF:E4

音訊使用方法(BlueTooth Operating Method)

Line-in , Line-out, MIC
1.Line-out
Command : gplay-1.0
2.MIC
Command : arecord
Check audio codec:

# cat /proc/asound/cards
 0 [sgtl5000       ]: sgtl5000 - sgtl5000
                      sgtl5000
 1 [audiohdmi      ]: audio-hdmi - audio-hdmi
                      audio-hdmi
root@imx8mprsb3720a1:~#
   Set Mic/audio volume
# amixer set Mic 100%
# amixer set Lineout 100%
# amixer set PCM 100%

Record and playback
Example command:
# arecord –t wav –c 1 –r 44100 –d 5 /tmp/mic.wav
# aplay /tmp/mic.wav

Record from MIC:
# arecord -D plughw:0,0 -r 16000 -f S16_LE ./f-16000.wav
Recording WAVE './f-16000.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
# aplay f-16000.wav
Playing WAVE 'f-16000.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono

Play wav file from codec:
# aplay -D plughw:0,0 file_example_WAV_10MG.wav
Playing WAVE 'file_example_WAV_10MG.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

Play wav file from HDMI:
# aplay -D plughw:1,0 file_exam
ple_WAV_10MG.wav
Playing WAVE 'file_example_WAV_10MG.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

看門狗測試 (Watch Dog Test method) 

System will reboot after 1 sec
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0

 

遠程訪問及文件傳輸(Remote Access and File Transimmion)

              查看主板IP位址 ( Chech IP Address ):

        Command : ifconfig

RTENOTITLE

Windows下SSH访问及文件传输

SSH Remote Log into Device 

  • SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
  • 需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码

 

RTENOTITLE

RTENOTITLE

 

RTENOTITLE

通用方法(General Method)

查看CPU温度(Check CPU Temperature)

    root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp   40000

    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 40°

查看CPU频率(Check CPU Frequency)

           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
           >> 1200000
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq    
           >> 1800000

查看内存容量(Check Memory Capacity)

root@linaro-alip:~# busybox free -m
              total        used        free      shared  buff/cache   available
Mem:           1961         303        1096          97         561        1575
Swap:             0           0           0
root@linaro-alip:~#

查看存储容量(Check Storage Capacity)

root@linaro-alip:~# busybox df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.8G      2.8G      4.6G  37% /
devtmpfs                972.3M      8.0K    972.3M   0% /dev
tmpfs                   980.8M         0    980.8M   0% /dev/shm
tmpfs                   980.8M     16.8M    964.0M   2% /run
tmpfs                     5.0M      4.0K      5.0M   0% /run/lock
tmpfs                   980.8M         0    980.8M   0% /sys/fs/cgroup
/dev/mmcblk1p10           6.4G      3.8M      6.4G   0% /userdata
/dev/mmcblk1p7           62.6M     12.0M     47.3M  20% /oem
tmpfs                   196.2M         0    196.2M   0% /run/user/0
tmpfs                   196.2M      8.0K    196.1M   0% /run/user/1000
root@linaro-alip:~#

網路Ping測試(Ping Network Testing)

     ping 8.8.8.8
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
     64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms

設置RTC (RTC Setting) 

Set system time to current, then write to RTC
   root@linaro-alip:~# date 01282022
   Fri Jan 28 20:22:00 UTC 2022
   root@linaro-alip:~#
Restart the RTC time to system time
# hwclock -s && date

root@linaro-alip:~# hwclock -s && date
Thu Jan 20 06:18:26 UTC 2022
root@linaro-alip:~# 

Android BSP編譯方法(Android BSP Compile Method)

http://ess-wiki.advantech.com.tw/view/Debian_BSP_User_Guide_for_rk3399_risc_series&nbsp;

如果有驗證上的錯誤 請使用以下的方法(If you got " Server certificate verification failed " message ,please follow the solution as below) 

### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
============================================================
export GIT_SSL_NO_VERIFY=1
#or
git config --global http.sslverify false
============================================================