Difference between revisions of "ROM-3620 user guide"

From ESS-WIKI
Jump to: navigation, search
 
(136 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== '''資源特性(Features)''' ==
 
  
*NXP i.MX 8X processor with 2-4 x Arm Cortex-A35 cores
+
= '''產品介紹(Product introduction)''' =
*Onbard LPDDR4 memory and eMMC 16GB
 
*Supports wide range power input 5V~24V
 
*Supports Vivante GC7000 Lite hardware accelerators
 
*Supports Ultra HD 4K/ full HD 1080p video decode and HD 1080p video encode hardware engine
 
*Supports 1 PCIe, 1 USB 3.0, 1 USB 2.0, 1 USB OTG2.0, 5 I2C, 1 I2S, 1 Camera in, 2 CANbus, 10 GPIO
 
*Low power consumption, fanless desgin
 
*Supports Linux and Android BSP
 
  
== '''訂購資訊(Ordering Information)''' ==
+
== '''產品特性(Product Features)''' ==
  
[[File:Z50.jpg]]
+
*NXP i.MX 8X processor with 2-4 x Arm Cortex-A35 cores
 +
*Onbard LPDDR4 memory and eMMC 16GB
 +
*Supports wide range power input 5V~24V
 +
*Supports Vivante GC7000 Lite hardware accelerators
 +
*Supports Ultra HD 4K/ full HD 1080p video decode and HD 1080p video encode hardware engine
 +
*Supports 1 PCIe, 1 USB 3.0, 1 USB 2.0, 1 USB OTG2.0, 5 I2C, 1 I2S, 1 Camera in, 2 CANbus, 10 GPIO
 +
*Low power consumption, fanless desgin
 +
*Supports Linux and Android BSP
 +
 
 +
== '''產品官網連結(Product Features)''' ==
 +
 
 +
[https://www.advantech.com/en/products/69436ae1-5f45-4c24-bd86-ae44341adc07/rom-3620/mod_6e1958cc-fc44-4530-8136-ef18b5c7c538 ROM-3620]
 +
 
 +
= '''硬件接口說明(Hardware interface introduction)''' =
  
 
== '''接口布局和尺寸(Layout and Sizes)''' ==
 
== '''接口布局和尺寸(Layout and Sizes)''' ==
  
=== '''ROM-5620 接口布局圖 Board Dimension Layout ''' ===
+
== '''ROM-3620 接口布局圖 Board Dimension Layout ''' ==
  
[[File:ROM-5620 module.PNG.jpg|RTENOTITLE]]
+
[[File:Z51.jpg|RTENOTITLE]]
  
=== '''ROM-DB5901 接口布局圖 Board Dimension Layout''' ===
+
{| border="1" cellpadding="0" cellspacing="0"
 +
|-
 +
| style="width:188px;" |
 +
'''Position'''
  
[[File:DB-ROM-5901 5620 carrierboard.jpg|RTENOTITLE]]
+
| style="width:364px;" |  
 +
'''Description'''
  
[[File:ROM-DB5901 IO.jpg|RTENOTITLE]]
+
|-
 +
| style="width:188px;" |  
 +
SW1(1)
  
 +
| style="width:364px;" |
 +
UART & Debug Port selection
 +
 +
|-
 +
| style="width:188px;" |
 +
SW1(2)
  
 +
| style="width:364px;" |
 +
AT & ATX mode selection
  
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
+
|}
  
=== '''Internal I/O''' ===
+
 
  
[[File:ROM-DB5901 IO2.jpg|RTENOTITLE]]
+
'''SW1(1): UART & Debug Port selection'''
  
{| border="1" cellspacing="1" cellpadding="1"
+
{| border="1" cellpadding="0" cellspacing="0"
 
|-
 
|-
| '''Position'''
+
| style="width:188px;" |
| '''Description'''
+
'''Setting'''
| '''Connector Type'''
+
 
 +
| style="width:364px;" |  
 +
'''Function'''
 +
 
 
|-
 
|-
| BAT1
+
| style="width:188px;" |
| PIN Header for Battery<br/>
+
1-On
| WAFER 8P 2.54mm 180D(M) DIP<br/>A2543WV2-8P<br/>
+
 
 +
| style="width:364px;" |
 +
Normal UART
 +
 
 
|-
 
|-
| BH1
+
| style="width:188px;" |
| RTC Battery Holder<br/>
+
1-Off
| BATTERY HOLDER 24.9*23.4*8.9<br/>CR2032 BH800.4GG<br/>
+
 
 +
| style="width:364px;" |
 +
Debug Console (Default)
 +
 
 +
|}
 +
 
 +
&nbsp;
 +
 
 +
'''SW1(2): AT/ATX Mode Selection'''
 +
 
 +
{| border="1" cellpadding="0" cellspacing="0"
 
|-
 
|-
| CAN1
+
| style="width:188px;" |
| CANBus Port 1<br/>
+
'''Setting'''
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
 
 +
| style="width:364px;" |
 +
'''Function'''
 +
 
 
|-
 
|-
| CAN2
+
| style="width:188px;" |
| CANBus Port 2<br/>
+
2-On
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
 
 +
| style="width:364px;" |
 +
AT Mode (Default)
 +
 
 
|-
 
|-
| COM1
+
| style="width:188px;" |
| COM Port 1<br/>
+
2-Off
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
 
 +
| style="width:364px;" |
 +
ATX Mode
 +
 
 +
|}
 +
 
 +
== '''ROM-DB3900&nbsp;接口布局圖&nbsp;Board Dimension Layout''' ==
 +
 
 +
[[File:Z54.jpg|RTENOTITLE]]
 +
 
 +
[[File:Z53.jpg|RTENOTITLE]]
 +
 
 +
&nbsp;
 +
 
 +
== '''主板内置插针式引脚排序方式 (Pin Header defination)&nbsp;''' ==
 +
 
 +
== '''Internal I/O''' ==
 +
 
 +
[[File:Z55.jpg|RTENOTITLE]]
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 646px;"
 
|-
 
|-
| COM3
+
| style="width: 77px;" | '''Position'''
| COM Port 3 (Debug Port)<br/>
+
| style="width: 109px;" | '''Description'''
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
| style="width: 439px;" | '''Connector Type'''
 
|-
 
|-
| CN4
+
| style="width: 77px;" | DCIN
| PCIex1 Connector 1<br/>
+
| style="width: 109px;" | DC-in
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 439px;" | DC POWER JACK 2.5mm 90D(M) DIP 2DCG213B200
 
|-
 
|-
| CN5
+
| style="width: 77px;" | COM01
| PCIex1 Connector 2<br/>
+
| style="width: 109px;" | COM Port
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 439px;" | D-SUB Conn. 18P 90D(M) DIP DM10151-H531-4F
 
|-
 
|-
| CN6
+
| style="width: 77px;" | HDMI
| PCIex1 Connector 3<br/>
+
| style="width: 109px;" | HDMI
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 439px;" | HDMI Conn. 19P 0.5mm 90D(F) SMD QJ51191-LFB4-7F
 
|-
 
|-
| CN11
+
| style="width: 77px;" | VGA
| SATA Connector<br/>
+
| style="width: 109px;" | VGA
| Serial ATA 7P 1.27mm 180D(M) DIP<br/>WATM-07DBN4A3B8<br/>
+
| style="width: 439px;" | D-SUB Conn. 15P 90D(F) DIP 070242FR015S200ZU
 
|-
 
|-
| CN12
+
| style="width: 77px;" | RJ45+USB
| SATA Power Connector<br/>
+
| style="width: 109px;" | LAN+USB
| WAFER 4P 2.5mm 180D(M) DIP<br/>24W1161-04S10-01T<br/>
+
| style="width: 439px;" | PhoneJack RJ45+USB3.0*2 32P 90D(F) DIP 05-A00919
 
|-
 
|-
| CN22
+
| style="width: 77px;" | Phone Jack
| GPIOx8 sets<br/>
+
| style="width: 109px;" | Phone Jack
| PIN HEADER 10x2P 2.0mm 180D(M)<br/>DIP 21N22050<br/>
+
| style="width: 439px;" | Audio Jack 9P 2.5mm 90D(F) DIP ABA-JAK-03
 
|-
 
|-
| CN25
+
| style="width: 77px;" | Audio
| MXM 3.0 Connector<br/>
+
| style="width: 109px;" | Audio
| MXM Conn. 314P 90D(F) SMD<br/>AS0B821-S78B-7H<br/>
+
| style="width: 439px;" | PIN HEADER 2x10P 2.54mm 180D(M) DIP 21N22564
 
|-
 
|-
| CN26
+
| style="width: 77px;" | LVDS
| M.2 Key E Slots<br/>
+
| style="width: 109px;" | LVDS
| NGFF 75P 0.5mm 90D(F) H=4.2mm<br/>SMD AS0BC21-S40BE<br/>
+
| style="width: 439px;" | B/B Conn. 40P 1.25mm 90D SMD DF13-40DP-1.25V(91)
 
|-
 
|-
| CN38
+
| style="width: 77px;" | FAN
| FAN (Reserved)
+
| style="width: 109px;" | FAN
| WTB Con. 3P 2.54mm 180D(M) DIP<br/>A2543WV0-3P-6T-5e<br/>
+
| style="width: 439px;" | Wafer 2.54mm 3P 180D(M) DIP 22-27-2031
 
|-
 
|-
| CN39
+
| style="width: 77px;" | SATA_PWR
| MIPI-CSI1 (FPC, 4-Lane<br/>
+
| style="width: 109px;" | SATA power
| FPC 39P, 0.6mm, H0.9mm<br/>
+
| style="width: 439px;" | WAFER 4P 2.5mm 180D(M) DIP 24W1161-04S10-01T
 
|-
 
|-
| CN40
+
| style="width: 77px;" | PCIE_SLOT0
| MIPI-CSI0 (FPC, 2-Lane)<br/>
+
| style="width: 109px;" | PCIE_SLOT0
| FPC 39P, 0.6mm, H0.9mm<br/>
+
| style="width: 439px;" | PCIEXPRESS 36P 180D(F) DIP 2EG01817-D2D-DF
 
|-
 
|-
| CN41
+
| style="width: 77px;" | PCIE_SLOT1
| MIPI-CSI0 (Mini-SAS, 2-Lane)<br/>
+
| style="width: 109px;" | PCIE_SLOT1
| Mini SAS 36P/0.8mm/(M)/LCP/VA/G15u/<br/>S/BK/W<br/>
+
| style="width: 439px;" | PCIEXPRESS 36P 180D(F) DIP 2EG01817-D2D-DF
 
|-
 
|-
| CN42
+
| style="width: 77px;" | SATA
| MIPI-CSI1 (Mini-SAS, 4-Lane)<br/>
+
| style="width: 109px;" | SATA
| Mini SAS 36P/0.8mm/(M)/LCP/VA/G15u/<br/>S/BK/W<br/>
+
| style="width: 439px;" | Serial ATA 7P 1.27mm 180D(M) DIP WATM-07DBN4A3B8
 
|-
 
|-
| ESPI_CN1
+
| style="width: 77px;" | GPIO
| ESPI<br/>
+
| style="width: 109px;" | GPIO
| PIN HEADER 6x2P 2.0mm180D(M) SMD<br/>21N22050-12M00B<br/>
+
| style="width: 439px;" | PIN HEADER 10x2P 2.0mm 180D(M) DIP 21N22050
 
|-
 
|-
| I2C_GP_1
+
| style="width: 77px;" | LVDS_BKLT
| I2C Pin Header<br/>
+
| style="width: 109px;" | LVDS Backlight
| WAFER BOX 4P 2.00mm 180D(M) DIP<br/>721-81-04TW00<br/>
+
| style="width: 439px;" | WAFER BOX 2.0mm 5P 180D(M) DIP WO/Pb JIHVEI
 
|-
 
|-
| I2C_CN3
+
| style="width: 77px;" | SW3
| Audio Codec Board<br/>
+
| style="width: 109px;" | Reset button
| PIN HEADER 2x10P 2.54mm 180D(M)<br/>DIP 21N22564<br/>
+
| style="width: 439px;" | TACT SW STS-091 SMD 4P H=3.8mm
 
|-
 
|-
| LVDS0
+
| style="width: 77px;" | SW4
| LVDS0<br/>
+
| style="width: 109px;" | Power button
| Wafer 2x20P/1.25mm/(M)/NY9T/VA/GFL/<br/>S/WH/W<br/>
+
| style="width: 439px;" | TACT SW STS-091 SMD 4P H=3.8mm
 
|-
 
|-
| LVDS_BK_PWR
+
| style="width: 77px;" | SW5
| LVDS0 Back Light<br/>
+
| style="width: 109px;" | Sleep button
| WAFER BOX 5P 2.0mm 180D(M) DIP<br/>A2001WV2-5P<br/>
+
| style="width: 439px;" | TACT SW STS-091 SMD 4P H=3.8mm
 
|-
 
|-
| LVDS1
+
| style="width: 77px;" | SW6
| LVDS1<br/>
+
| style="width: 109px;" | Wake up button
| Wafer 2x20P/1.25mm/(M)/NY9T/VA/GFL/<br/>S/WH/W<br/>
+
| style="width: 439px;" | TACT SW STS-091 SMD 4P H=3.8mm
 
|-
 
|-
| LVDS1_BK_PWR
+
| style="width: 77px;" | SPI0
| LVDS1 Back Light<br/>
+
| style="width: 109px;" | SPI0
| WAFER BOX 5P 2.0mm 180D(M) DIP<br/>A2001WV2-5P<br/>
+
| style="width: 439px;" | PIN HEADER 2x4P 2.54mm 180D(M) DIP 210-92-04GB02
 
|-
 
|-
| SD1
+
| style="width: 77px;" | SPI1
| SD Card Slot<br/>
+
| style="width: 109px;" | SPI1
| SD CARD 9P 90D(F) SMD WK2192CS3D-<br/>7H<br/>
+
| style="width: 439px;" | PIN HEADER 2x4P 2.54mm 180D(M) DIP 210-92-04GB02
 
|-
 
|-
| SPI_CN1
+
| style="width: 77px;" | SW2
| SPI Pin Header<br/>
+
| style="width: 109px;" | Boot selection
| PIN HEADER 4x2P 2.54mm 180D(M)<br/>SMD 21N22564<br/>
+
| style="width: 439px;" | DIP SW EDG104S DIP 6P Radial SPST
 
|-
 
|-
| SW2
+
| style="width: 77px;" | COM3
| Reset Button<br/>
+
| style="width: 109px;" | COM3
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 439px;" | BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
 
|-
 
|-
| SW4
+
| style="width: 77px;" | COM2
| SLP Button<br/>
+
| style="width: 109px;" | COM2
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 439px;" | BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
 
|-
 
|-
| SW5
+
| style="width: 77px;" | CAN1
| Power Button<br/>
+
| style="width: 109px;" | CAN1
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 439px;" | BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
 
|-
 
|-
| USB0_OTG1
+
| style="width: 77px;" | CAN0
| USB OTG<br/>
+
| style="width: 109px;" | CAN0
| Micro USB 5P/0.65mm/(F)/NY9T/GFL/<br/>RA/S/BK/B<br/>
+
| style="width: 439px;" | BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
 
|-
 
|-
| USB-4-5
+
| style="width: 77px;" | USB_OTG
| USB Port 4, Port 5<br/>
+
| style="width: 109px;" | USB OTG
| PIN HEADER 2x5P 2.0mm 180D(M)<br/>SMD 21N22050<br/>
+
| style="width: 439px;" | MINI USB 5P 180D(F) SMD UH51543-CS7-7F
 +
|-
 +
| style="width: 77px;" | SD
 +
| style="width: 109px;" | SD
 +
| style="width: 439px;" | SD CARD 9P 90D(F) SMD WK2192C-S3D-7H
 +
|-
 +
| style="width: 77px;" | System_Bus
 +
| style="width: 109px;" | SYSTEMBUS
 +
| style="width: 439px;" | PCB SKT 30x4P 2.00mm 180D(F) DIP 264-40303-02
 +
|-
 +
| style="width: 77px;" | I2C0
 +
| style="width: 109px;" | I2C0
 +
| style="width: 439px;" | WAFER BOX 2.0mm 4P 180D(M) W/LOCKA2001WV2-4P
 +
|-
 +
| style="width: 77px;" | I2C1
 +
| style="width: 109px;" | I2C1
 +
| style="width: 439px;" | WAFER BOX 2.0mm 4P 180D(M) W/LOCKA2001WV2-4P
 +
|-
 +
| style="width: 77px;" | RTXA,RTXB,<br/> RTXC,RTXD
 +
| style="width: 109px;" | RTX B2B<br/> Connector
 +
| style="width: 439px;" | B/B Conn. 50x2P 0.5mm 180D(M) SMDAXK500137YG
 
|}
 
|}
  
 +
&nbsp;
  
 +
== '''Rear I/O&nbsp;''' ==
  
=== '''Rear I/O&nbsp;''' ===
+
[[File:Z56.jpg|RTENOTITLE]]
  
'''[[File:ROM-DB5901 RearIO.jpg|RTENOTITLE]]'''
+
{| border="1" cellpadding="1" cellspacing="1"
 
 
{| border="1" cellspacing="1" cellpadding="1"
 
 
|-
 
|-
| '''Position'''
+
| style="width: 98px;" | '''Position'''
| '''Description'''
+
| style="width: 284px;" | '''Description'''
 
| '''Name'''
 
| '''Name'''
 
|-
 
|-
| DCIN
+
| style="width: 98px;" | DCIN
| DC Jack
+
| style="width: 284px;" | DC Jack
 
| A
 
| A
 
|-
 
|-
| CN15A
+
| style="width: 98px;" | COM01A
| UART Port 0
+
| style="width: 284px;" | UART Port 1
 
| B
 
| B
 
|-
 
|-
| CN15B
+
| style="width: 98px;" | COM01B
| UART Port 2
+
| style="width: 284px;" | UART Port 2
 
| C
 
| C
 
|-
 
|-
| CN1A
+
| style="width: 98px;" | HDMI
| DP Port
+
| style="width: 284px;" | HDMI Port
 
| D
 
| D
 
|-
 
|-
| CN1B
+
| style="width: 98px;" | VGA
| HDMI Port
+
| style="width: 284px;" | VGA Port
 
| E
 
| E
 
|-
 
|-
| CN33
+
| style="width: 98px;" | RJ45+USB
| Type C Controller Programming Header (Reserved Only)<br/>
+
| style="width: 284px;" | GbE Ethernet Connector
 
| F
 
| F
 
|-
 
|-
| CN34
+
| style="width: 98px;" | RJ45+USB
| USB Type C<br/>
+
| style="width: 284px;" | USB Port 1/ 2
 
| G
 
| G
 
|-
 
|-
| CN8<br/>
+
| style="width: 98px;" | PHONE_JACK
| GbE Ethernet Connector Port<br/>
+
| style="width: 284px;" | MIC Input/ Audio Output
 
| H
 
| H
|-
 
| CN3
 
| USB Port 1/ 2<br/>
 
| I
 
|-
 
| Audio1<br/>
 
| MIC Input/ Audio Output<br/>
 
| J
 
 
|}
 
|}
  
===  ===
+
== '''接口引脚定義 (Pin definitions)''' ==
 
 
=== '''接口引脚定義 (Pin definitions)''' ===
 
 
 
*[[電池(BAT1)_&_電池扣(BH1)|電池(BAT1)&nbsp;& 電池扣(BH1)]]
 
*[[CAN(CAN1,CAN2)|CAN(CAN1,CAN2)]]
 
*[[串口(COM_DB(COM3)、COM0、COM1_、COM2)|串口(COM_DB(COM3)、COM1、UART0&nbsp;、UART2)]]
 
*[[显示接口(LVDS、HDMI)_LAN接口_USB接口(USB1-2、USB3-4、USB_OTG)_音频接口_电源及指示灯和开关机复位按钮_GPIO接口_MINI_PCIE接口_M.2接口_SPI、I2C_接口|显示接口(LVDS、LVDS Backlight、HDMI、DP)]]
 
*[[LAN接口|LAN接口(LAN)]]
 
*[[USB接口(USB1-2、USB_Type_C、USB_OTG)|USB接口(USB1-2、USB-4-5、USB Type C、USB OTG)]]
 
*[[音频接口(Audio)|音频接口(Audio Output &Audio Codec)]]
 
*[[电源及指示灯和开关机复位按钮(Power_、LED、Power_Button、Reset_Button、Sleep_Button)|电源及指示灯和开关机复位按钮(Power&nbsp;、LED、Power Button、Reset Button、Sleep Button)&nbsp;]]
 
*[[GPIO接口|GPIO接口]]
 
*[[MINI_PCIE接口_M.2接口_SPI、I2C_接口|MINI_PCIE接口_M.2接口_SPI、I2C_接口]]
 
  
=== '''机械尺寸&nbsp; ('''Mechanical Characteristics) ===
+
'''&nbsp; &nbsp; Rear IO:'''
  
'''ROM-5620&nbsp;'''
+
*[[Z57.jpg|DCIN]]
 +
*[[串口(COM01A、UART0、4_WIRE)|串口(COM01A、UART1、4_WIRE(ttyLP1))]]
 +
*[[串口(COM01B、UART1、4_WIRE)|串口(COM01B、UART2、4_WIRE(ttyLP2))]]
 +
*[[显示接口(VGA、LVDS、LVDS_Backlight、HDMI、DP)|显示接口(VGA、HDMI)]]
 +
*[[RJ45+USB接口(RJ45、​USB1-2)|RJ45+USB接口(RJ45、​USB1-2)]]
 +
*[[PHONE_JACK接口(Audio_output)|PHONE_JACK接口(Audio_output)]]
  
'''[[File:ROM-5620 Mechanical Specifications1.jpg|RTENOTITLE]]'''
+
&nbsp; &nbsp; '''Internel IO:'''
  
'''[[File:ROM-5620 Mechanical Specifications2.jpg|RTENOTITLE]]'''
+
*[[Boot_selection_switch|Boot_selection_switch]]
 +
*[[電池(BAT1)|電池(BAT1)]]
 +
*[[CAN(CAN0,CAN1)|CAN(CAN0,CAN1)]]
 +
*[[LVDS接口(LVDS、LVDS_BKLT)|LVDS接口(LVDS]][[串口(COM_DB(COM3)、COM1、UART0_、UART2)|、]][[LVDS接口(LVDS、LVDS_BKLT)|LVDS_BKLT)]]
 +
*[[串口(COM_DB(COM3)、COM1、UART0_、UART2)|串口(COM3(COM_DB(ttyLP0))、COM2(UART3)(ttyLP3))]]
 +
*[[USB_OTG接口(USB_OTG)|USB_OTG接口(USB_OTG)]]
 +
*[[I2S0接口(I2S\Audio_Codec)|I2S0接口(I2S\Audio_Codec)]]
 +
*[[电源及指示灯和开关机复位按钮(Power_、LED、Power_Button、Reset_Button、Sleep_Button)|电源及指示灯和开关机复位按钮(Power&nbsp;、LED、Power Button、Reset Button、Sleep Button)&nbsp;]]
 +
*[[GPIO接口|GPIO接口]]
 +
*[[MINI_PCIE接口_M.2接口_SPI、I2C_接口|PCIE接口_SATA接口_SPI、I2C_接口]]  
  
 +
&nbsp;
  
 +
== '''机械尺寸&nbsp; ('''Mechanical Characteristics) ==
  
 +
'''ROM-3620&nbsp;'''
  
 +
[[File:ROM-3620-MS1.png|RTENOTITLE]][[File:ROM-3620-MS2.png|RTENOTITLE]]
  
 +
&nbsp;
  
 +
= '''快速入门 (Quick Start)''' =
  
----
+
== '''系统下载 (OS Download)''' ==
  
== '''快速入门 (Quick Start)''' ==
+
*'''Linux系统 (Linux OS)''''''&nbsp; &nbsp;'''  
 
 
=== '''系统下载 (OS Download)''' ===
 
 
 
*'''Linux系统 (Linux OS)''''''&nbsp; &nbsp;'''
 
  
 
{| border="2"
 
{| border="2"
Line 278: Line 354:
 
| align="center" | '''Release notes'''
 
| align="center" | '''Release notes'''
 
| align="center" | '''Comment'''
 
| align="center" | '''Comment'''
 +
|-
 +
| V90210
 +
| 2021-03-09
 +
| ROM-3620
 +
| 8X
 +
| [http://ess-wiki.advantech.com.tw/view/Yocto_Ubuntu_Debian_20210309 Yocto2.5]
 +
| [https://www.dropbox.com/sh/3z9hh9zht98mzil/AADItCFyPhVOo6cwLfB3MAz2a/officialbuild/imx8_yocto_bsp_2.5/2021-03-09?dl=0&preview=imx8LBV90210_2021-03-09_sdk.tgz&subfolder_nav_tracking=1 SDK]
 +
| [http://ess-wiki.advantech.com.tw/view/Components Components]
 +
| [http://ess-wiki.advantech.com.tw/view/Features_v90210 Features]
 +
| [http://ess-wiki.advantech.com.tw/view/Modules Modules]
 +
| [http://ess-wiki.advantech.com.tw/wiki/index.php?title=Test_Report&action=edit&redlink=1 Test Repor]t
 +
| 4.14.98 MP
 +
| [http://ess-wiki.advantech.com.tw/view/Release_note_v90210 Release Note]
 +
| MP
 
|- valign="top"
 
|- valign="top"
| VA0271
+
| VA0297
| 2021-06-19
+
| 2021-07-21
| ROM-5620&nbsp;<br/>
+
| ROM-3620&nbsp;
 
| 8X
 
| 8X
| [[Yocto3.0|Yocto3.0]]
+
| [http://ess-wiki.advantech.com.tw/view/Yocto_Ubuntu_Debian_20210721 Yocto3.0]
| [https://www.dropbox.com/sh/xqcxe99gc3gbkml/AAC2ICMVT3NqUp5P6phz7Qcva/2021-06-19/imx8LBVA0271_2021-06-19_sdk.tgz?dl=0 SDK]
+
| [https://www.dropbox.com/sh/3z9hh9zht98mzil/AAAMIOllyChNH9Kz2ymv5QAta/officialbuild/imx8_yocto_bsp_3.0/2021-07-21?dl=0&preview=imx8LBVA0297_2021-07-21_sdk.tgz&subfolder_nav_tracking=1 SDK]
| [[Components_vA0271|Components]]
+
| [http://ess-wiki.advantech.com.tw/view/Components_vA0297 Components]
| [[Features_vA0271|Features]]
+
| [http://ess-wiki.advantech.com.tw/wiki/index.php?title=Features_vA0297&action=edit&redlink=1 Features]
| [[Modules_vA0271|Modules]]
+
| [http://ess-wiki.advantech.com.tw/view/Modules_vA0297 Modules]
| [[Test_Report_vA0271|Test Report]]
+
| [http://ess-wiki.advantech.com.tw/wiki/index.php?title=Test_Report_vA0297&action=edit&redlink=1 Test Report]
 
| 5.4.70&nbsp;Alpha
 
| 5.4.70&nbsp;Alpha
| [[Release_note_vA0271|Release_Note]]
+
| [http://ess-wiki.advantech.com.tw/view/Release_note_vA0297 Release_Note]
 
| QE test
 
| QE test
 
|}
 
|}
<blockquote></blockquote>
+
 
 
----
 
----
  
=== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ===
+
&nbsp;
 +
 
 +
== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ==
  
 
'''使用Flash tool 燒錄鏡像到eMMC (Flash image into eMMC by Flash Tools)&nbsp;'''
 
'''使用Flash tool 燒錄鏡像到eMMC (Flash image into eMMC by Flash Tools)&nbsp;'''
  
Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system)&nbsp;
+
1. Copy 3620A1AIM20LIV90210_iMX8X_flash_tool.tgz package to your desktop.<br/> 2. Insert SD card to PC.<br/> 3. Make a bootable sd card.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># tar zxvf 3620A1AIM20LIV90210_iMX8X_flash_tool.tgz<br/> # cd 3620A1AIM20LIV90210_iMX8X_flash_tool/mk_inand/<br/> # sudo ./mksd-linux.sh /dev/sdg</div>
 +
4. Insert SD card and copy 3620A1AIM20LIV90210_iMX8X_flash_tool to USB disk.<br/> 5. Insert USB disk and SD card then Boot from SD.<br/> 6. Enter usb disk folder, make a bootable emmc.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cd /run/media/sda1/<br/> # cd 3620A1AIM20LIV90210_iMX8X_flash_tool/mk_inand/<br/> # sudo ./mksd-linux.sh /dev/mmcblk0</div>
 +
&nbsp; &nbsp; &nbsp;
  
[[File:ROM-5620fdisk 2021-09-11 145401.jpg|RTENOTITLE]]
+
'''使用UUU工具燒錄鏡像到eMMC (Flash image into eMMC by UUU&nbsp;Tools)'''
  
[[File:ROM-5620fdisk SDinfo2021-09-11 145609.jpg|RTENOTITLE]]
+
1. Download UUU tool from ([https://github.com/ADVANTECH-Corp/uuu/releases/download/v20191101/uuu https://github.com/ADVANTECH-Corp/uuu/releases/download/v20191101/uuu]).<br/> 2. Create a folder with files as below:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"> UUU<br/>  imx-boot-imx8qxprom3620a1-sd.bin-flash<br/>  fsl-image-qt5-validation-imx-imx8qxprom3620a1-20210309105548.rootfs.sdcard</div>
 +
<br/> 3. Connect otg cable from PC to device.<br/> 4. Set the correct boot mode, then power on(4-on only).
  
Step1: 創造一張可開機的SD 卡&nbsp;(Create&nbsp;a bootable SD card)
+
'''[[File:Recovery-mode.png|RTENOTITLE]]'''<br/> 5. Perform the following command:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">$ sudo ./uuu -b emmc_all_adv imx-boot-imx8qxprom3620a1-sd.bin-flash fsl-image-qt5-validation-imx-imx8qxprom3620a1-20210309105548.rootfs.sdcard</div>
 +
<br/> 6. UUU tool will start recovery image to eMMC.<br/> 7. For more usage:<br/> [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBV9_User_Guide#System_Recovery http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBV9_User_Guide#System_Recovery]
  
[[File:ROM-5620dd 2021-09-11 150036.jpg|RTENOTITLE]]
+
== '''Debug 串口調試 (Debug port Setting)''' ==
  
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
+
1. Connect debug port cable (1701100300) to debug port (COM3) on ROMDB3900.<br/> 2. Connect it to your PC with RS-232 Cable (1700019474).
  
&nbsp;[[File:CarrierboardSDsolt.jpg|RTENOTITLE]]
+
'''[[File:ROM-3620-Debug cable.png|RTENOTITLE]]'''
  
Step4: 確認開機選擇指撥開關&nbsp;
+
ROM-3620 can communicate with a host server by using serial cables. Common serial communication programs such as HyperTerminal, Tera Term or PuTTY can be used in this case. The example below describes the serial terminal setup using HyperTerminal on a Windows host:<br/> 1. Connect ROM-3620 with your PC by using a serial cable.<br/> 2. Open HyperTerminal on your Windows PC, and select the settings as shown in below Photo.
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SD 卡開機模式:
+
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:SDBootupSwitch.jpg|RTENOTITLE]]
+
Tera Term Tool&nbsp;
  
 +
[[File:TeraTerm12021-09-10 141114n.jpg|RTENOTITLE]]
  
 +
Check the Sriel port in Device Manager (查看PC端的串口号):
  
Step3:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
+
if you can not identify the Serial device , please check your serial driver.&nbsp;
  
&nbsp; &nbsp; &nbsp;[[File:ROM-5620BootupMessage2021-09-11 152052.jpg|RTENOTITLE]]
+
Debug port connection (串口連接)&nbsp;
  
 +
Log into Terminal&nbsp; Tool (进入串口调试终端):
  
 +
&nbsp;
  
Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk)&nbsp;
+
= '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' =
  
&nbsp; &nbsp; 解壓縮(Unzip the file )&nbsp;
+
== '''Display Setting (ROM-3620)''' ==
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:ROM-5620unzipflahstool2021-09-11 160407.jpg|RTENOTITLE]]
+
*Single Channel LVDS0 + Single Channel LVDS1 (Default):  
  
&nbsp;複製檔案到U盤中 (Copy the flash file to USB Disk)&nbsp;
+
LVDS0 - g070vw01v0(VDD:3.3V, Backlight Power:12V)<br/> 1. Connect LVDS VDD and Backlight Power cable.<br/> 2. Power on.<br/> 3. Weston UI will be displayed on the screen.
  
&nbsp; 1. 插入U盤到你的Ubuntu 電腦上 (Plug the USB Disk into you Linux PC
+
[[File:ROM-3620-LVDS0.png|RTENOTITLE]]
  
&nbsp; 2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System)&nbsp;
+
LVDS1 - g070vw01v0(VDD:3.3V, Backlight Power:12V)<br/> 1. Connect LVDS VDD and Backlight Power cable.<br/> 2. Power on.<br/> 3. Weston UI will be displayed on the screen.
  
&nbsp; &nbsp; &nbsp; &nbsp;[[File:ROM-5620fdisk USB 2021-09-11 145401.jpg|RTENOTITLE]]
+
[[File:ROM-3620-LVDS1.png|RTENOTITLE]]
  
&nbsp; &nbsp; &nbsp; &nbsp;[[File:USBDISK info2021-09-11 170716.jpg|RTENOTITLE]]
+
*Dual Channel LVDS:  
  
&nbsp;3. 掛載U盤在Ubuntu 系統中&nbsp;
+
Dual Channel LVDS - g215hvn0 (VDD:5V, Backlight Power:12V)<br/> 1. Connect two LVDS VDD and Backlight Power cable.<br/> 2. Power on.<br/> 3. Press enter after boot, system will stop at u-boot as below:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">u-boot=><br/> u-boot=>run lvds_dual</div>
 +
4. Weston UI will be displayed on the screen
  
&nbsp; &nbsp; &nbsp;&nbsp;
+
[[File:ROM-3620-LVDS-dual.png|RTENOTITLE]]
  
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
+
*MIPI to HDMI test:
  
&nbsp; &nbsp; &nbsp;
+
1. Connect LVDS to HDMI cable to LVDS0 or LVDS1.<br/> 2. Power on.<br/> 3. Press enter after boot, system will stop at u-boot as below:&nbsp;
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">u-boot=><br/> u-boot=>run hdmi_bridge</div>
 +
4. Weston UI will be displayed on the screen.
  
=== '''Debug 串口調試 (Debug port Setting)''' ===
+
[[File:ROM-3620-MIPI to HDMI.png|RTENOTITLE]]
  
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
+
Test HDMI with different resolutions:
<pre>  Baud Rate波特率:115200
 
  Data 数据位:8
 
  Parity 奇偶校验:无
 
&nbsp;  Stop 停止位:1
 
  Flow Control流控:无</pre>
 
  
:
+
1. Disable weston UI.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># systemctl stop weston</div>
 +
2. Get “connect ID” and “support resolutions“.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># modetest -c</div>
 +
[[File:ROM-3620-modetest.png|RTENOTITLE]]<br/> 3. Play colorbar of the specified resolution on HDMI.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># modetest -s 56:1920x1080-60</div>
 +
&nbsp;
  
Tera Term Tool&nbsp;
+
== '''Audio測試方法(Audio Testing Method):''' ==
  
[[File:TeraTerm 2021-09-10 140930n.jpg|RTENOTITLE]]
+
1. Connect ROM-EG51 to I2S_CN3, connect MIC and headphone.<br/> 2. Power on and check Audio Codec (SGTL5000)
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cat /proc/asound/cards<br/> # amixer set Mic 100%<br/> # amixer set Headphone 100%</div>
 +
[[File:ROM-3620-Audio.png|RTENOTITLE]]
  
[[File:TeraTerm12021-09-10 141114n.jpg|RTENOTITLE]]
+
3. Record and playback.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># arecord -t wav -c 1 -r 44100 -d 5 /tmp/mic.wav<br/> # aplay /tmp/mic.wav</div>
 +
&nbsp;
  
Check the Sriel port in Device Manager (查看PC端的串口号)
+
== '''4G使用方法(4G Testing Method)''' ==
  
if you can not identify the Serial device , please check your serial driver.&nbsp;
+
Test 4G: (EWM-C117FL06E - USB)<br/> 1. Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect the card to CN6 PCIe_D slot on ROM-DB5901.<br/> 2. Connect the antenna 1750007990-01 to the SMA (F) connector on 9680015491 and connect the IPEX connector to MT1 on EWM-C117FL06E module.<br/> 3. Connect the Mini USB cable from 9680015491 to USB 2.0 Type A port on ROM-DB3900.<br/> 4. Power on and execute the pppd command to connect to the network.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99***4#" "CONNECT" ""' user username pass�word password /dev/ttyACM2 460800 nodetach crtscts debug usepeerdns defaultroute &</div>
 +
[[File:ROM-3620-4G.png|RTENOTITLE]]
  
[[File:COMportinx862021-09-10 141610.jpg|RTENOTITLE]]
+
&nbsp;
  
Debug port connection (串口連接)&nbsp;
+
== '''WiFi使用方法(WIFI Testing Method)''' ==
  
[[File:Debugcom3nn 2021-09-10 140320.jpg|RTENOTITLE]]
+
Test WiFi card (EWM-W189H02E PCIe signal)
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># killall wpa_supplicant<br/> # ifconfig wlan0 up<br/> # wpa_passphrase “SSID” “PASSWORD” > /tmp/wpa.conf<br/> # wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf<br/> # udhcpc -b -i wlan0</div>
 +
Ping network:
  
 +
[[File:ROM-3620-WIFI Ping.png|RTENOTITLE]]
  
 +
&nbsp;
  
Log into Terminal&nbsp; Tool (进入串口调试终端)
+
== '''串口使用方法(Serial Port Operating&nbsp;Method)''' ==
  
[[File:ROM5620debugmessage 2021-09-10 142517n.jpg|RTENOTITLE]]
+
A. RS-232 Test:<br/> Loopback test (eg. ttyLP1)<br/> UART1(COM01_UP)(ttyLP1):&nbsp; &nbsp; &nbsp; Change SW1801 jumper to switch modes. (SW1801: 1-on, 2,3,4-off)<br/> UART2(COM01_Down)(ttyLP2):&nbsp; Change SW1802 jumper to switch modes. (SW1802: 1-on, 2,3,4-off)<br/> UART3(COM2)(ttyLP3):&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Change SW1901 jumper to switch modes. (SW1901: 1-on, 2,3,4-off)
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># stty -F /dev/ttyLP1 -echo -onlcr 115200<br/> # cat /dev/ttyLP1 &<br/> # echo test > /dev/ttyLP1</div>
 +
B. RS-485 Test:<br/> UART1(COM01_UP)(ttyLP1): Change SW1801 jumper to switch modes. (SW1801: 2-on, 1,3,4-off)<br/> Test RS-485 with Adam-4520.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ./enable485 /dev/ttyLP1<br/> # stty -F /dev/ttyLP1 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke<br/> # cat /dev/ttyLP1 &<br/> # echo test > /dev/ttyLP1</div>
 +
&nbsp;
  
----
+
== '''I2C測試方法(I2C Testing Method)''' ==
  
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
+
Check I2C Device (audio codec: 3-000a):
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># i2cdetect -y 1</div>
 +
[[File:ROM-3620-I2C detect.png|RTENOTITLE]]
  
=== '''&nbsp; &nbsp; &nbsp; UUU 使用方法(USB Connection (OTG port))''' ===
+
I2C set and get:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># i2cset -f -y 1 0x0a 0 0xff00 w<br/> # i2cget -f -y 1 0x0a 0 w</div>
 +
[[File:ROM-3620-I2C set.png|RTENOTITLE]]
  
=== '''&nbsp; &nbsp; &nbsp; Display Setting (ROM-5620)''' ===
+
&nbsp;
  
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''
+
== '''USB測試方法(USB Testing Method)''' ==
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setenv fdt_file xxxx.dtb<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; env save<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; boot&nbsp;
+
USB (2.0/3.0) disk test<br/> After inserting the USB disk into 2.0 or 3.0 port: (Please note that with ROM-3620, USB3.0 port on ROM-DB3900 coastline can only recognize USB 3.0 devices. It can not recognize USB 2.0 only devices.)
  
*Display: Default support g070vw01 LVDS panel on LVDS1
+
[[File:ROM-3620-USB.png|RTENOTITLE]]
**LVDS
 
***g070vw01(LVDS1)
 
****adv-imx8mxp-rom5620-a1.dtb&nbsp;&nbsp;
 
***g150xgel05
 
****adv-imx8qxp-rom5620-a1-lvds-chimei.dtb
 
***g215hvn01
 
****adv-imx8qxp-rom5620-a1-lvds-dual.dtb
 
**LVDS to HDMI(LVDS1)
 
***adv-imx8qxp-rom5620-a1-hdmi-bridge.dtb
 
**DSI to HDMI(LVDS1)
 
***adv-imx8qxp-rom5620-a1-hdmi-bridge.dtb
 
**DSI
 
***auog101uan02
 
****adv-imx8qxp-rom5620-a1-auog101uan02.dtb
 
  
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
+
Test (eg. if USB disk is/dev/sda)
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># dd if=/dev/urandom of=data bs=1 count=1024<br/> # dd if=/dev/sda of=backup bs=1 count=1024 skip=4096<br/> # dd if=data of=/dev/sda bs=1 seek=4096<br/> # dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096<br/> # diff data data1<br/> # dd if=backup of=/dev/sda bs=1 seek=4096</div>
 +
&nbsp;
  
'''Command&nbsp;: ifconfig&nbsp;'''
+
== '''RTC測試方法(RTC Testing Method)''' ==
  
'''[[File:Ethernet Test 2021-09-09 131742.jpg|RTENOTITLE]]'''
+
Disable rtc sync service:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># systemctl stop systemd-timesyncd<br/> # systemctl stop ntpdate.service</div>
 +
[[File:ROM-3620-RTC1.png|RTENOTITLE]]
  
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
+
Set system time to current, then write to RTC:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 021710452022 && hwclock -w && date</div>
 +
[[File:ROM-3620-RTC2.png|RTENOTITLE]]
  
'''[[File:PingTest2021-09-09 131931.jpg|RTENOTITLE]]'''
+
Set one incorrect time, then read time from RTC to verify:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 010100002000 && hwclock -r && date</div>
 +
[[File:ROM-3620-RTC3.png|RTENOTITLE]]
  
=== '''WiFi使用方法(WIFI Testing Method)''' ===
+
Restore the RTC time to system time.
<pre>Command&nbsp;:  
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># hwclock -s && date</div>
 +
[[File:ROM-3620-RTC4.png|RTENOTITLE]]
  
# killall wpa_supplicant
+
&nbsp;
# ifconfig wlan0 up
 
# wpa_passphrase "SSID" "PASSWORD" > /tmp/wpa.conf
 
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
 
# udhcpc -b -i wlan0'''
 
  
ping 8.8.8.8
+
== '''eMMC/SD/SPI Flash測試方法(eMMC/SD/SPI Flash Testing Method)''' ==
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</pre>
 
  
[[File:WifiTest 2021-09-09 132238.jpg|RTENOTITLE]]
+
eMMC: /dev/mmcblk0<br/> SD: /dev/mmcblk1<br/> QSPI1: /dev/mtd0<br/> SPI0_0: /dev/mtd1<br/> SPI0_1: /dev/mtd2<br/> SPI3_0: /dev/mtd3<br/> SPI3_1: /dev/mtd4
  
=== '''4G使用方法(4G Testing Method)''' ===
+
Test command(eg. emmc):
<pre>Command:
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># dd if=/dev/urandom of=data bs=1 count=1024<br/> # dd if=/dev/mmcblk0 of=backup bs=1 count=1024 skip=4096<br/> # dd if=data of=/dev/mmcblk0 bs=1 seek=4096<br/> # dd if=/dev/mmcblk0 of=data1 bs=1 count=1024 skip=4096<br/> # diff data data1<br/> # dd if=backup of=/dev/mmcblk0 bs=1 seek=4096</div>  
Test 4G: (EWM-C117FL06E - USB)
+
&nbsp;
Step 1: Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect
 
the card to CN6 PCIe_D slot on ROM-DB5901.
 
Step 2: Connect the antenna 1750007990-01 to the SMA (F) connector on
 
9680015491
 
and connect the IPEX connector to MT1 on EWM-C117FL06E module.
 
Step 3: Connect the Mini USB cable from 9680015491 to USB 2.0 Type A port on
 
ROM-DB5901.
 
Step 4: Power on and execute the pppd command to connect to the network.
 
</pre>
 
  
[[File:4GTest2021-09-09 133204.jpg|RTENOTITLE]]
+
== '''乙太網路使用方法(Ethernent Testing Method)''' ==
  
[[File:4GTest12021-09-09 133648.jpg|RTENOTITLE]]
+
Connect cable and use command&nbsp;: ifconfig
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ifconfig</div>
 +
[[File:ROM-3620-LAN1.png|RTENOTITLE]]
  
=== '''GPIO使用方法(GPIO Operating Method)''' ===
+
Ping test (eg.eth1):
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ping - I eth1 8.8.8.8</div>
 +
[[File:ROM-3620-LAN2.png|RTENOTITLE]]
  
[[File:GPIOpin2021-09-11 143437.jpg|RTENOTITLE]]
+
&nbsp;
  
  
<pre>Loop-back Test (Take GPIO4 and GPIO5 as examples)
+
== '''GPIO使用方法(GPIO Operating Method)''' ==
  
Step 1: Connect GPIO4 and GPIO5
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
Step 2: Export GPIO interface
+
|-
 +
| CPU Ball Name
 +
| Pin#
 +
| Number
 +
|-
 +
| SC_P_QSPI0B_DATA0_LSIO_GPIO3_IO18
 +
| GPIO0
 +
| 402
 +
|-
 +
| SC_P_QSPI0B_DQS_LSIO_GPIO3_IO22
 +
| GPIO1
 +
| 406
 +
|-
 +
| SC_P_QSPI0B_DATA1_LSIO_GPIO3_IO19
 +
| GPIO2
 +
| 403
 +
|-
 +
| SC_P_CSI_PCLK_LSIO_GPIO3_IO00
 +
| GPIO3
 +
| 384
 +
|-
 +
| SC_P_SPI2_SCK_LSIO_GPIO1_IO03
 +
| GPIO4
 +
| 451
 +
|-
 +
| SC_P_SPI2_CS0_LSIO_GPIO1_IO00
 +
| GPIO5
 +
| 448
 +
|-
 +
| SC_P_SPI2_SDO_LSIO_GPIO1_IO01
 +
| GPIO6
 +
| 449
 +
|-
 +
| SC_P_SPI2_SDI_LSIO_GPIO1_IO02
 +
| GPIO7
 +
| 450
 +
|-
 +
| SC_P_MCLK_IN0_LSIO_GPIO0_IO19
 +
| GPIO8
 +
| 499
 +
|-
 +
| SC_P_QSPI0B_SCLK_LSIO_GPIO3_IO17
 +
| GPIO9
 +
| 401
 +
|}
  
root@imx8qxprom5620a1&nbsp;: ~# echo 456 > /sys/class/gpio/export
+
Loopback test (take GPIO0 and GPIO1 as an example)<br/> 1. Connect GPIO0 and GPIO1.<br/> 2. Export GPIO interface.
root@imx8qxprom5620a1&nbsp;: ~# echo 452 > /sys/class/gpio/export
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 402 > /sys/class/gpio/export<br/> # echo 406 > /sys/class/gpio/export</div>
 +
[[File:ROM-3620-GPIO1.png|RTENOTITLE]]<br/> 3. Set direction.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo out > /sys/class/gpio/gpio1/direction<br/> # echo in > /sys/class/gpio/gpio2/direction</div>
 +
[[File:ROM-3620-GPIO2.png|RTENOTITLE]]<br/> 4. Read value and set output value than check.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cat /sys/class/gpio/gpio2/value<br/> # echo 1 > /sys/class/gpio/gpio1/value<br/> # cat /sys/class/gpio/gpio2/value</div>
 +
[[File:ROM-3620-GPIO3.png|RTENOTITLE]]
  
Step 3: Set direction
+
== '''Watchdog測試方法(Watchdog Testing Method)''' ==
  
root@imx8qxprom5620a1&nbsp;: ~# echo out > /sys/class/gpio/gpio1/direction
+
System will reboot after 1&nbsp;sec.
root@imx8qxprom5620a1&nbsp;: ~# echo in > /sys/class/gpio/gpio2/direction
+
<div align="left" style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># /unit_tests/Watchdog/wdt_driver_test.out 1 2 0</div>
 +
[[File:ROM-3620-WDog.png|RTENOTITLE]]
  
Step 4: Read value and set output value then check
+
&nbsp;
  
root@imx8qxprom5620a1&nbsp;: ~# cat /sys/class/gpio/gpio2/value
+
== C'''amer測試方法(Camera Testing Method)''' ==
0r
 
oot@imx8qxprom5620a1&nbsp;: ~# echo 1 > /sys/class/gpio/gpio1/value
 
root@imx8qxprom5620a1&nbsp;: ~# cat /sys/class/gpio/gpio2/value
 
1</pre>
 
  
=== '''串口使用方法(Serial Port Operating&nbsp;Method)''' ===
+
Please connect MIPI-CSI2 camera (OV5640) to CN39 FPC connector.<br/> Preview:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># gst-launch-1.0 v4l2src device=/dev/video0&nbsp;! video/x-raw,width=640,height=480&nbsp;! waylandsink</div>
 +
Capture:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># 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</div>
 +
== '''CANbus測試方法(CANbus Testing Method)''' ==
  
RS-232 Test
+
'''1. Connect CAN0_D+ to CAN1_D+ and CAN0_D- to CAN1_D-.<br/> 2. Set CAN0 and CAN1 up.'''
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''# ip link set can0 up type can bitrate 12500<br/> # ifconfig can0 up<br/> # ip link set can1 up type can bitrate 12500<br/> # ifconfig can1 up'''</div>
 +
[[File:ROM-3620-CAN1.png|RTENOTITLE]]
  
SER1_UART2: /dev/ttyLP2: COM1
+
3. candump can0.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># candump can0 &</div>
 +
[[File:ROM-3620-CAN2.png|RTENOTITLE]]<br/> 4. cansend can1.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cansend can1 1F334455#1122334455667788</div>
 +
[[File:ROM-3620-CAN3.png|RTENOTITLE]]
  
SER3_UART0: /dev/ttyLP0: COM3
 
  
SW6/7 Setting (SW6/7設置)&nbsp;
+
== '''TPM測試方法(TPM Testing Method)''' ==
  
RS232: 1:on&nbsp; 2:off
+
Using the “tpm_test.bin” to test, please connect to your Advantech contact window for the test tool.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ./tpm_test.bin</div>
 +
[[File:ROM-3620-TPM1.png]]
  
RS422: 1:on&nbsp; 2:on
 
  
RS485: 1:off&nbsp; 2:on
+
== '''遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ==
  
[[File:SW6&7settingn.jpeg|RTENOTITLE]]
+
'''Windows下SSH访问及文件传输'''
 
 
COM0 (CN15A): UART1 test
 
 
 
Loopback Test (eg. ttyLP1)<br/>UART 1: Change SW7 jumper to switch modes. (1ON 2OFF: RS-232)
 
 
 
UART 1: Change CN27~CN30 jumper to (1-2 short)
 
<pre># stty -F /dev/ttyLP1 -echo -onlcr 115200
 
# cat /dev/ttyLP1 &
 
# echo test > /dev/ttyLP1</pre>
 
 
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
 
<pre>Command&nbsp;:
 
 
 
$ hciconfig hci0 up
 
$ bluetoothctl
 
$ discoverable on
 
$ pairable on
 
$ scan on
 
[NEW] FC:18:3C:8D:75:F4 myphone
 
$ scan off
 
$ pair FC:18:3C:8D:75:F4
 
$ connect FC:18:3C:8D:75:F4</pre>
 
 
 
[[File:BTTest2021-09-09 132449.jpg|RTENOTITLE]]
 
 
 
=== '''&nbsp; 遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
 
 
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address ):'''​
 
<pre>        Command&nbsp;: ifconfig</pre>
 
 
 
[[File:Eth0ssh 2021-09-10 143210.jpg|RTENOTITLE]]
 
 
 
==== Windows下SSH访问及文件传输 ====
 
  
 
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)、通讯方式,登录后验证用户名密码  
 
 
 
 
  
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
  
 
[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
 
[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
 
 
  
 
[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
 
[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
  
[[File:SSHLogin 2021-09-10 143913n.jpg|RTENOTITLE]]
+
= '''通用方法(General Method)''' =
 
 
== '''通用方法(General Method)''' ==
 
  
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' ===
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
 
<pre>    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
 
<pre>    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
  
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' ===
+
&nbsp;
 +
 
 +
=== '''查看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  
 
           >> 900000
 
           >> 900000
Line 563: Line 692:
 
           >> 1200000</pre>
 
           >> 1200000</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
&nbsp;
 +
 
 +
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
 
<pre>root@imx8qxprom5620a1:/# busybox free -m
 
<pre>root@imx8qxprom5620a1:/# busybox free -m
 
             total      used      free    shared    buffers    cached
 
             total      used      free    shared    buffers    cached
Line 571: Line 702:
 
</pre>
 
</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(Check Storage Capacity)''' ===
+
&nbsp;
 +
 
 +
=== '''查看存储容量(Check Storage Capacity)''' ===
 
<pre>root@imx8qxprom5620a1:/# busybox df -h
 
<pre>root@imx8qxprom5620a1:/# busybox df -h
 
Filesystem                Size      Used Available Use% Mounted on
 
Filesystem                Size      Used Available Use% Mounted on
Line 587: Line 720:
 
root@imx8qxprom5620a1:/#</pre>
 
root@imx8qxprom5620a1:/#</pre>
  
=== '''&nbsp; &nbsp; &nbsp; 網路Ping測試(Ping Network Testing)''' ===
+
&nbsp;
 +
 
 +
=== '''網路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 593: Line 728:
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
  
=== '''&nbsp; &nbsp; &nbsp; 設置RTC (RTC Setting)&nbsp;''' ===
+
&nbsp;
 +
 
 +
=== '''設置RTC (RTC Setting)&nbsp;''' ===
 
<pre>    root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
 
<pre>    root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
 
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
 
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
Line 604: Line 741:
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
  
== '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' ==
+
 
 +
= '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' =
 +
 
 +
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBV9_User_Guide '''Yocto 2.5'''] ===
  
 
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
 
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
Line 610: Line 750:
 
'''如果有驗證上的錯誤 請使用以下的方法'''
 
'''如果有驗證上的錯誤 請使用以下的方法'''
  
<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>
 +
 
 +
&nbsp;
 +
 
 +
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
 +
|-
 +
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
 +
|}

Latest revision as of 08:52, 29 December 2023

Contents

產品介紹(Product introduction)

產品特性(Product Features)

  • NXP i.MX 8X processor with 2-4 x Arm Cortex-A35 cores
  • Onbard LPDDR4 memory and eMMC 16GB
  • Supports wide range power input 5V~24V
  • Supports Vivante GC7000 Lite hardware accelerators
  • Supports Ultra HD 4K/ full HD 1080p video decode and HD 1080p video encode hardware engine
  • Supports 1 PCIe, 1 USB 3.0, 1 USB 2.0, 1 USB OTG2.0, 5 I2C, 1 I2S, 1 Camera in, 2 CANbus, 10 GPIO
  • Low power consumption, fanless desgin
  • Supports Linux and Android BSP

產品官網連結(Product Features)

ROM-3620

硬件接口說明(Hardware interface introduction)

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

ROM-3620 接口布局圖 Board Dimension Layout 

RTENOTITLE

Position

Description

SW1(1)

UART & Debug Port selection

SW1(2)

AT & ATX mode selection

 

SW1(1): UART & Debug Port selection

Setting

Function

1-On

Normal UART

1-Off

Debug Console (Default)

 

SW1(2): AT/ATX Mode Selection

Setting

Function

2-On

AT Mode (Default)

2-Off

ATX Mode

ROM-DB3900 接口布局圖 Board Dimension Layout

RTENOTITLE

RTENOTITLE

 

主板内置插针式引脚排序方式 (Pin Header defination) 

Internal I/O

RTENOTITLE

Position Description Connector Type
DCIN DC-in DC POWER JACK 2.5mm 90D(M) DIP 2DCG213B200
COM01 COM Port D-SUB Conn. 18P 90D(M) DIP DM10151-H531-4F
HDMI HDMI HDMI Conn. 19P 0.5mm 90D(F) SMD QJ51191-LFB4-7F
VGA VGA D-SUB Conn. 15P 90D(F) DIP 070242FR015S200ZU
RJ45+USB LAN+USB PhoneJack RJ45+USB3.0*2 32P 90D(F) DIP 05-A00919
Phone Jack Phone Jack Audio Jack 9P 2.5mm 90D(F) DIP ABA-JAK-03
Audio Audio PIN HEADER 2x10P 2.54mm 180D(M) DIP 21N22564
LVDS LVDS B/B Conn. 40P 1.25mm 90D SMD DF13-40DP-1.25V(91)
FAN FAN Wafer 2.54mm 3P 180D(M) DIP 22-27-2031
SATA_PWR SATA power WAFER 4P 2.5mm 180D(M) DIP 24W1161-04S10-01T
PCIE_SLOT0 PCIE_SLOT0 PCIEXPRESS 36P 180D(F) DIP 2EG01817-D2D-DF
PCIE_SLOT1 PCIE_SLOT1 PCIEXPRESS 36P 180D(F) DIP 2EG01817-D2D-DF
SATA SATA Serial ATA 7P 1.27mm 180D(M) DIP WATM-07DBN4A3B8
GPIO GPIO PIN HEADER 10x2P 2.0mm 180D(M) DIP 21N22050
LVDS_BKLT LVDS Backlight WAFER BOX 2.0mm 5P 180D(M) DIP WO/Pb JIHVEI
SW3 Reset button TACT SW STS-091 SMD 4P H=3.8mm
SW4 Power button TACT SW STS-091 SMD 4P H=3.8mm
SW5 Sleep button TACT SW STS-091 SMD 4P H=3.8mm
SW6 Wake up button TACT SW STS-091 SMD 4P H=3.8mm
SPI0 SPI0 PIN HEADER 2x4P 2.54mm 180D(M) DIP 210-92-04GB02
SPI1 SPI1 PIN HEADER 2x4P 2.54mm 180D(M) DIP 210-92-04GB02
SW2 Boot selection DIP SW EDG104S DIP 6P Radial SPST
COM3 COM3 BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
COM2 COM2 BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
CAN1 CAN1 BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
CAN0 CAN0 BOX HEADER 5x2P 2.54mm 180D(M) DIP 23N6960-10S10
USB_OTG USB OTG MINI USB 5P 180D(F) SMD UH51543-CS7-7F
SD SD SD CARD 9P 90D(F) SMD WK2192C-S3D-7H
System_Bus SYSTEMBUS PCB SKT 30x4P 2.00mm 180D(F) DIP 264-40303-02
I2C0 I2C0 WAFER BOX 2.0mm 4P 180D(M) W/LOCKA2001WV2-4P
I2C1 I2C1 WAFER BOX 2.0mm 4P 180D(M) W/LOCKA2001WV2-4P
RTXA,RTXB,
RTXC,RTXD
RTX B2B
Connector
B/B Conn. 50x2P 0.5mm 180D(M) SMDAXK500137YG

 

Rear I/O 

RTENOTITLE

Position Description Name
DCIN DC Jack A
COM01A UART Port 1 B
COM01B UART Port 2 C
HDMI HDMI Port D
VGA VGA Port E
RJ45+USB GbE Ethernet Connector F
RJ45+USB USB Port 1/ 2 G
PHONE_JACK MIC Input/ Audio Output H

接口引脚定義 (Pin definitions)

    Rear IO:

    Internel IO:

 

机械尺寸  (Mechanical Characteristics)

ROM-3620 

RTENOTITLERTENOTITLE

 

快速入门 (Quick Start)

系统下载 (OS Download)

  • 'Linux系统 (Linux OS)'   
Version Date Product CPU Yocto3.0/Ubuntu18.04/Debian9 SDK Components Features Modules Test Report Release Release notes Comment
V90210 2021-03-09 ROM-3620 8X Yocto2.5 SDK Components Features Modules Test Report 4.14.98 MP Release Note MP
VA0297 2021-07-21 ROM-3620  8X Yocto3.0 SDK Components Features Modules Test Report 5.4.70 Alpha Release_Note QE test

 

Linux 燒錄方法 (Linux Flash eMMC Method)

使用Flash tool 燒錄鏡像到eMMC (Flash image into eMMC by Flash Tools) 

1. Copy 3620A1AIM20LIV90210_iMX8X_flash_tool.tgz package to your desktop.
2. Insert SD card to PC.
3. Make a bootable sd card.

# tar zxvf 3620A1AIM20LIV90210_iMX8X_flash_tool.tgz
# cd 3620A1AIM20LIV90210_iMX8X_flash_tool/mk_inand/
# sudo ./mksd-linux.sh /dev/sdg

4. Insert SD card and copy 3620A1AIM20LIV90210_iMX8X_flash_tool to USB disk.
5. Insert USB disk and SD card then Boot from SD.
6. Enter usb disk folder, make a bootable emmc.

# cd /run/media/sda1/
# cd 3620A1AIM20LIV90210_iMX8X_flash_tool/mk_inand/
# sudo ./mksd-linux.sh /dev/mmcblk0

     

使用UUU工具燒錄鏡像到eMMC (Flash image into eMMC by UUU Tools)

1. Download UUU tool from (https://github.com/ADVANTECH-Corp/uuu/releases/download/v20191101/uuu).
2. Create a folder with files as below:

 UUU
 imx-boot-imx8qxprom3620a1-sd.bin-flash
 fsl-image-qt5-validation-imx-imx8qxprom3620a1-20210309105548.rootfs.sdcard


3. Connect otg cable from PC to device.
4. Set the correct boot mode, then power on(4-on only).

RTENOTITLE
5. Perform the following command:

$ sudo ./uuu -b emmc_all_adv imx-boot-imx8qxprom3620a1-sd.bin-flash fsl-image-qt5-validation-imx-imx8qxprom3620a1-20210309105548.rootfs.sdcard


6. UUU tool will start recovery image to eMMC.
7. For more usage:
http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBV9_User_Guide#System_Recovery

Debug 串口調試 (Debug port Setting)

1. Connect debug port cable (1701100300) to debug port (COM3) on ROMDB3900.
2. Connect it to your PC with RS-232 Cable (1700019474).

RTENOTITLE

ROM-3620 can communicate with a host server by using serial cables. Common serial communication programs such as HyperTerminal, Tera Term or PuTTY can be used in this case. The example below describes the serial terminal setup using HyperTerminal on a Windows host:
1. Connect ROM-3620 with your PC by using a serial cable.
2. Open HyperTerminal on your Windows PC, and select the settings as shown in below Photo.

以 Tera Term  为例介绍如何使用串口调试功能

Tera Term Tool 

RTENOTITLE

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

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

Debug port connection (串口連接) 

Log into Terminal  Tool (进入串口调试终端):

 

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

Display Setting (ROM-3620)

  • Single Channel LVDS0 + Single Channel LVDS1 (Default):

LVDS0 - g070vw01v0(VDD:3.3V, Backlight Power:12V)
1. Connect LVDS VDD and Backlight Power cable.
2. Power on.
3. Weston UI will be displayed on the screen.

RTENOTITLE

LVDS1 - g070vw01v0(VDD:3.3V, Backlight Power:12V)
1. Connect LVDS VDD and Backlight Power cable.
2. Power on.
3. Weston UI will be displayed on the screen.

RTENOTITLE

  • Dual Channel LVDS:

Dual Channel LVDS - g215hvn0 (VDD:5V, Backlight Power:12V)
1. Connect two LVDS VDD and Backlight Power cable.
2. Power on.
3. Press enter after boot, system will stop at u-boot as below:

u-boot=>
u-boot=>run lvds_dual

4. Weston UI will be displayed on the screen

RTENOTITLE

  • MIPI to HDMI test:

1. Connect LVDS to HDMI cable to LVDS0 or LVDS1.
2. Power on.
3. Press enter after boot, system will stop at u-boot as below: 

u-boot=>
u-boot=>run hdmi_bridge

4. Weston UI will be displayed on the screen.

RTENOTITLE

Test HDMI with different resolutions:

1. Disable weston UI.

# systemctl stop weston

2. Get “connect ID” and “support resolutions“.

# modetest -c

RTENOTITLE
3. Play colorbar of the specified resolution on HDMI.

# modetest -s 56:1920x1080-60

 

Audio測試方法(Audio Testing Method):

1. Connect ROM-EG51 to I2S_CN3, connect MIC and headphone.
2. Power on and check Audio Codec (SGTL5000)

# cat /proc/asound/cards
# amixer set Mic 100%
# amixer set Headphone 100%

RTENOTITLE

3. Record and playback.

# arecord -t wav -c 1 -r 44100 -d 5 /tmp/mic.wav
# aplay /tmp/mic.wav

 

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

Test 4G: (EWM-C117FL06E - USB)
1. Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect the card to CN6 PCIe_D slot on ROM-DB5901.
2. Connect the antenna 1750007990-01 to the SMA (F) connector on 9680015491 and connect the IPEX connector to MT1 on EWM-C117FL06E module.
3. Connect the Mini USB cable from 9680015491 to USB 2.0 Type A port on ROM-DB3900.
4. Power on and execute the pppd command to connect to the network.

# pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99***4#" "CONNECT" ""' user username pass�word password /dev/ttyACM2 460800 nodetach crtscts debug usepeerdns defaultroute &

RTENOTITLE

 

WiFi使用方法(WIFI Testing Method)

Test WiFi card (EWM-W189H02E PCIe signal)

# killall wpa_supplicant
# ifconfig wlan0 up
# wpa_passphrase “SSID” “PASSWORD” > /tmp/wpa.conf
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
# udhcpc -b -i wlan0

Ping network:

RTENOTITLE

 

串口使用方法(Serial Port Operating Method)

A. RS-232 Test:
Loopback test (eg. ttyLP1)
UART1(COM01_UP)(ttyLP1):      Change SW1801 jumper to switch modes. (SW1801: 1-on, 2,3,4-off)
UART2(COM01_Down)(ttyLP2):  Change SW1802 jumper to switch modes. (SW1802: 1-on, 2,3,4-off)
UART3(COM2)(ttyLP3):               Change SW1901 jumper to switch modes. (SW1901: 1-on, 2,3,4-off)

# stty -F /dev/ttyLP1 -echo -onlcr 115200
# cat /dev/ttyLP1 &
# echo test > /dev/ttyLP1

B. RS-485 Test:
UART1(COM01_UP)(ttyLP1): Change SW1801 jumper to switch modes. (SW1801: 2-on, 1,3,4-off)
Test RS-485 with Adam-4520.

# ./enable485 /dev/ttyLP1
# stty -F /dev/ttyLP1 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
# cat /dev/ttyLP1 &
# echo test > /dev/ttyLP1

 

I2C測試方法(I2C Testing Method)

Check I2C Device (audio codec: 3-000a):

# i2cdetect -y 1

RTENOTITLE

I2C set and get:

# i2cset -f -y 1 0x0a 0 0xff00 w
# i2cget -f -y 1 0x0a 0 w

RTENOTITLE

 

USB測試方法(USB Testing Method)

USB (2.0/3.0) disk test
After inserting the USB disk into 2.0 or 3.0 port: (Please note that with ROM-3620, USB3.0 port on ROM-DB3900 coastline can only recognize USB 3.0 devices. It can not recognize USB 2.0 only devices.)

RTENOTITLE

Test (eg. if USB disk is/dev/sda)

# dd if=/dev/urandom of=data bs=1 count=1024
# dd if=/dev/sda of=backup bs=1 count=1024 skip=4096
# dd if=data of=/dev/sda bs=1 seek=4096
# dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096
# diff data data1
# dd if=backup of=/dev/sda bs=1 seek=4096

 

RTC測試方法(RTC Testing Method)

Disable rtc sync service:

# systemctl stop systemd-timesyncd
# systemctl stop ntpdate.service

RTENOTITLE

Set system time to current, then write to RTC:

# date 021710452022 && hwclock -w && date

RTENOTITLE

Set one incorrect time, then read time from RTC to verify:

# date 010100002000 && hwclock -r && date

RTENOTITLE

Restore the RTC time to system time.

# hwclock -s && date

RTENOTITLE

 

eMMC/SD/SPI Flash測試方法(eMMC/SD/SPI Flash Testing Method)

eMMC: /dev/mmcblk0
SD: /dev/mmcblk1
QSPI1: /dev/mtd0
SPI0_0: /dev/mtd1
SPI0_1: /dev/mtd2
SPI3_0: /dev/mtd3
SPI3_1: /dev/mtd4

Test command(eg. emmc):

# dd if=/dev/urandom of=data bs=1 count=1024
# dd if=/dev/mmcblk0 of=backup bs=1 count=1024 skip=4096
# dd if=data of=/dev/mmcblk0 bs=1 seek=4096
# dd if=/dev/mmcblk0 of=data1 bs=1 count=1024 skip=4096
# diff data data1
# dd if=backup of=/dev/mmcblk0 bs=1 seek=4096

 

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

Connect cable and use command : ifconfig

# ifconfig

RTENOTITLE

Ping test (eg.eth1):

# ping - I eth1 8.8.8.8

RTENOTITLE

 


GPIO使用方法(GPIO Operating Method)

CPU Ball Name Pin# Number
SC_P_QSPI0B_DATA0_LSIO_GPIO3_IO18 GPIO0 402
SC_P_QSPI0B_DQS_LSIO_GPIO3_IO22 GPIO1 406
SC_P_QSPI0B_DATA1_LSIO_GPIO3_IO19 GPIO2 403
SC_P_CSI_PCLK_LSIO_GPIO3_IO00 GPIO3 384
SC_P_SPI2_SCK_LSIO_GPIO1_IO03 GPIO4 451
SC_P_SPI2_CS0_LSIO_GPIO1_IO00 GPIO5 448
SC_P_SPI2_SDO_LSIO_GPIO1_IO01 GPIO6 449
SC_P_SPI2_SDI_LSIO_GPIO1_IO02 GPIO7 450
SC_P_MCLK_IN0_LSIO_GPIO0_IO19 GPIO8 499
SC_P_QSPI0B_SCLK_LSIO_GPIO3_IO17 GPIO9 401

Loopback test (take GPIO0 and GPIO1 as an example)
1. Connect GPIO0 and GPIO1.
2. Export GPIO interface.

# echo 402 > /sys/class/gpio/export
# echo 406 > /sys/class/gpio/export

RTENOTITLE
3. Set direction.

# echo out > /sys/class/gpio/gpio1/direction
# echo in > /sys/class/gpio/gpio2/direction

RTENOTITLE
4. Read value and set output value than check.

# cat /sys/class/gpio/gpio2/value
# echo 1 > /sys/class/gpio/gpio1/value
# cat /sys/class/gpio/gpio2/value

RTENOTITLE

Watchdog測試方法(Watchdog Testing Method)

System will reboot after 1 sec.

# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0

RTENOTITLE

 

Camer測試方法(Camera Testing Method)

Please connect MIPI-CSI2 camera (OV5640) to CN39 FPC connector.
Preview:

# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! waylandsink

Capture:

# gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0 ! video/x-raw,width=640,height=480 ! jpegenc ! filesink location=sample.jpeg

CANbus測試方法(CANbus Testing Method)

1. Connect CAN0_D+ to CAN1_D+ and CAN0_D- to CAN1_D-.
2. Set CAN0 and CAN1 up.

# ip link set can0 up type can bitrate 12500
# ifconfig can0 up
# ip link set can1 up type can bitrate 12500
# ifconfig can1 up

RTENOTITLE

3. candump can0.

# candump can0 &

RTENOTITLE
4. cansend can1.

# cansend can1 1F334455#1122334455667788

RTENOTITLE


TPM測試方法(TPM Testing Method)

Using the “tpm_test.bin” to test, please connect to your Advantech contact window for the test tool.

# ./tpm_test.bin

ROM-3620-TPM1.png


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

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@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600

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

 

查看CPU频率(Check CPU Frequency)

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

 

查看内存容量(Check Memory Capacity)

root@imx8qxprom5620a1:/# busybox free -m
             total       used       free     shared    buffers     cached
Mem:       1794920     516080    1278840      17252      9852        80292
-/+ buffers/cache:     425936    1368984
Swap:            0          0          0

 

查看存储容量(Check Storage Capacity)

root@imx8qxprom5620a1:/# busybox df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                13.4G      1.7G     11.1G  13% /
devtmpfs                395.8M      4.0K    395.8M   0% /dev
tmpfs                   876.4M         0    876.4M   0% /dev/shm
tmpfs                   876.4M     16.5M    859.9M   2% /run
tmpfs                   876.4M         0    876.4M   0% /sys/fs/cgroup
tmpfs                   876.4M      4.0K    876.4M   0% /tmp
tmpfs                   876.4M    280.0K    876.2M   0% /var/volatile
/dev/mmcblk0p2           13.6G      1.7G     11.3G  13% /run/media/mmcblk0p2
/dev/mmcblk0p1           63.9M     23.4M     40.5M  37% /run/media/mmcblk0p1
/dev/mmcblk1p1           63.9M     23.4M     40.5M  37% /run/media/mmcblk1p1
tmpfs                   175.3M     88.0K    175.2M   0% /run/user/0
root@imx8qxprom5620a1:/#

 

網路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) 

     root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
             Wed Sep  8 16:07:00 UTC 2021
             Wed Sep  8 16:07:00 UTC 2021
     root@imx8qxprom5620a1:/# date
             Wed Sep  8 16:07:06 UTC 2021
     root@imx8qxprom5620a1:/#'''

         


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

Yocto 2.5

Yocto 3.0

如果有驗證上的錯誤 請使用以下的方法

### 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
============================================================