Difference between revisions of "ROM-2620 user guide"

From ESS-WIKI
Jump to: navigation, search
 
(157 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
 
+
 
  
 
= 產品介紹 =
 
= 產品介紹 =
 
 
  
 
== '''產品特性(Features)''' ==
 
== '''產品特性(Features)''' ==
Line 13: Line 11:
 
*1 x 4 lane MIPI-DSI ƒ 1 x USB2.0, 1 x USB 2.0 OTG, 5 x UART, 2 x I2C, 24 x GPIO, 6 x PWM, 1 x CAN  
 
*1 x 4 lane MIPI-DSI ƒ 1 x USB2.0, 1 x USB 2.0 OTG, 5 x UART, 2 x I2C, 24 x GPIO, 6 x PWM, 1 x CAN  
 
*Ultra small size form factor - OSM  
 
*Ultra small size form factor - OSM  
*Support Ycoto Linux and Microsoft Azure Sphere OS
+
*Support Ycoto Linux and Microsoft Azure Sphere OS  
  
 +
 
  
 
== '''產品官網連結(Product information Link)''' ==
 
== '''產品官網連結(Product information Link)''' ==
  
[https://www.advantech.com/zh-tw/products/8fc6f753-ca1d-49f9-8676-10d53129570f/rom-2620/mod_294031c8-4a21-4b95-adf2-923c412ef761 '''ROM-5722''']
+
[https://www.advantech.com/zh-tw/products/8fc6f753-ca1d-49f9-8676-10d53129570f/rom-2620/mod_294031c8-4a21-4b95-adf2-923c412ef761 '''ROM-2620''']
  
 
= '''接口布局和尺寸(Layout and Sizes)''' =
 
= '''接口布局和尺寸(Layout and Sizes)''' =
 
  
 
=== '''ROM-2620 接口布局圖 Board Dimension Layout ''' ===
 
=== '''ROM-2620 接口布局圖 Board Dimension Layout ''' ===
  
[[File:ROM-5722 module 2021-10-20 155940.jpg|RTENOTITLE]]
+
[[File:ROM-2620 1.jpg|480px|ROM-2620 1.jpg]][[File:ROM-2620 2.jpg|480px|ROM-2620 2.jpg]]
  
 
 
 
 
 
  
 
=== '''ROM-ED91 接口布局圖 Board Dimension Layout''' ===
 
=== '''ROM-ED91 接口布局圖 Board Dimension Layout''' ===
  
'''[[File:ROM-2620 ED91 IO.png]]'''
+
'''[[File:ROM-2620 ED91 IO.png|RTENOTITLE]]'''
 +
 
 +
 
  
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
  
=== '''Internal I/O''' ===
+
=== '''Internal I/O, Jummper/Switch List:''' ===
 
 
[[File:SOM-DB2510 connect1.PNG|RTENOTITLE]]
 
 
 
[[File:SOM-DB2510 connect2.PNG|RTENOTITLE]]
 
  
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 763px;"
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 763px;"
Line 49: Line 44:
 
| style="width: 301px;" | '''Function'''
 
| style="width: 301px;" | '''Function'''
 
|-
 
|-
| ATX1
+
| DCIN1401
| style="width: 296.422px;" | ATX Connector
+
| style="width: 296.422px;" | 12V DCIN connector
| style="width: 64px;" | FAN1
+
| style="width: 64px;" | SW1301
| style="width: 301px;" | Smart Fan Connector
+
| style="width: 301px;" | BT0_CFG1/4, BT1_CFG6/7/9/11
 
|-
 
|-
| SMARC_IN1
+
| COMB
| style="width: 296.422px;" | Wide Range Input Power Connector (3V~5.25V)
+
| style="width: 296.422px;" | RS232/422/485
| style="width: 64px;" | FAN2
+
| style="width: 64px;" | SW1302
| style="width: 301px;" | System Fan Connector
+
| style="width: 301px;" | BT0_CFG0, BT1_CFG4/5, BOOT_SEL0#/1#, MOD_ON
 
|-
 
|-
| DCIN1
+
| COMA
| style="width: 296.422px;" | DCIN connector
+
| style="width: 296.422px;" | RS232/422/485
| style="width: 64px;" | CAN0_1
+
| style="width: 64px;" | SW1203
| style="width: 301px;" | CAN Bus Connector
+
| style="width: 301px;" | UARTB_MODE0, UART_MODE1
 
|-
 
|-
| DP0_HDMI
+
| LAN
| style="width: 296.422px;" | DP & HDMI Connector
+
| style="width: 296.422px;" | LAN Connector
| style="width: 64px;" | USB0
+
| style="width: 64px;" | SW1204
| style="width: 301px;" | USB OTG Connector
+
| style="width: 301px;" | UARTB_TERM, UARTB_SLEW
 
|-
 
|-
| USB12
+
| USB1
| style="width: 296.422px;" | USB 2.0 port1~2 & USB 3.0 port0 Connector
+
| style="width: 296.422px;" | USB2.0 port Connector
| style="width: 64px;" | COM1_3
+
| style="width: 64px;" | SW1206
| style="width: 301px;" | COM Port Port1,3 Connector
+
| style="width: 301px;" | U1205_RX_TERM, U1205_MODE2
 
|-
 
|-
| TYPEC_DP1
+
| USB0_OTG1
| style="width: 296.422px;" | Type-C Connector
+
| style="width: 296.422px;" | Micro USB Connector
| style="width: 64px;" | COM2_4
+
| style="width: 64px;" | SW1201
| style="width: 301px;" | COM Port Port2,4 Connector
+
| style="width: 301px;" | UARTA_MODE0, UART_MODE1
 
|-
 
|-
| LAN0_LAN1
+
| AJ
| style="width: 296.422px;" | LAN0 & LAN1 Connector
 
| style="width: 64px;" | CN8
 
| style="width: 301px;" | I2C connector for I2C_PM
 
|-
 
| LOUT1
 
 
| style="width: 296.422px;" | Line Out Connector
 
| style="width: 296.422px;" | Line Out Connector
| style="width: 64px;" | CN7
+
| style="width: 64px;" | SW1202
| style="width: 301px;" | I2C Connector for I2C_GP
+
| style="width: 301px;" | UARTA_TERM, UARTA_SLEW
 
|-
 
|-
| MIC1
+
| MIC
| style="width: 296.422px;" | MIC1 Connector
+
| style="width: 296.422px;" | MIC Connector
| style="width: 64px;" | CN10
+
| style="width: 64px;" | SW1205
| style="width: 301px;" | eSPI Pin Header
+
| style="width: 301px;" | U1202_RX_TERM, U1202_MODE2
 
|-
 
|-
| CN1_MXM1
+
| CAN
| style="width: 296.422px;" | SMARC Connector
+
| style="width: 296.422px;" | CAN Bus Connector
| style="width: 64px;" | SATAP1
+
| style="width: 64px;" | SW1303
| style="width: 301px;" | SATA Power Connector
+
| style="width: 301px;" | Power button
 
|-
 
|-
| PCIEA-X4
+
| COME_DEBUG
| style="width: 296.422px;" | PCIe x4 Connector
+
| style="width: 296.422px;" | M-core debug console
| style="width: 64px;" | CSI0_B2B
+
| style="width: 64px;" | SW1304
| style="width: 301px;" | MIPI B2B Connector for 2M Camera
+
| style="width: 301px;" | Reset button
 
|-
 
|-
| SATA1
+
| COMC
| style="width: 296.422px;" | SATA Port0 Connector
+
| style="width: 296.422px;" | COM
| style="width: 64px;" | CSI1_B2B
+
| style="width: 64px;" | I2S_CN
| style="width: 301px;" | MIPI B2B Connector for 8M & 13M Camera
+
| style="width: 301px;" | I2S Connector
 
|-
 
|-
| PCIED-X1
+
| COMD
| style="width: 296.422px;" | PCIe x1 Connector
+
| style="width: 296.422px;" | A-core debug console
| style="width: 64px;" | SPI_BIOS1
+
| style="width: 64px;" | CN501
| style="width: 301px;" | Carrier Board BIOS Socket (SOIC)
+
| style="width: 301px;" | CAN0_H, CAN0_L terminatl resistors
 
|-
 
|-
| M2
+
| I2C1101
| style="width: 296.422px;" | M.2 Key-E Connector
+
| style="width: 296.422px;" | I2C Connector
| style="width: 64px;" | BAT1
+
| style="width: 64px;" | SD_SLT
| style="width: 301px;" | Coin battery holder
+
| style="width: 301px;" | SD select
 
|-
 
|-
| MPCIE_C
+
| I2C1102
| style="width: 296.422px;" | Mini PCIe Connector
+
| style="width: 296.422px;" | I2C Connector
| style="width: 64px;" | BAT2
+
| style="width: 64px;" | GPIO1101
| style="width: 301px;" | Smart battery Connector
+
| style="width: 301px;" | GPIO header
 
|-
 
|-
| SIM
+
| CN601
| style="width: 296.422px;" | SIM card Connector
+
| style="width: 296.422px;" | M.2 Key E Connector
| style="width: 64px;" | LINEOUT_1
+
| style="width: 64px;" | SPI_CN1101
| style="width: 301px;" | I2S Headphone Connector
+
| style="width: 301px;" | PWM header
 
|-
 
|-
| LVDS1
+
| CN701
| style="width: 296.422px;" | LVDS1 Connector
+
| style="width: 296.422px;" | MIPI-CSI Connector
| style="width: 64px;" | MIC_1
+
| style="width: 64px;" | CN1101
| style="width: 301px;" | I2S MIC In Connector
+
| style="width: 301px;" | SPI header
 
|-
 
|-
| LVDS0
+
| LVDS
| style="width: 296.422px;" | LVDS0 Connector
+
| style="width: 296.422px;" | LVDS Connector
| style="width: 64px;" | CSI1_FPC
+
| style="width: 64px;" | LVDS_VDD_SLT
| style="width: 301px;" | MIPI FPC Connector for 8M & 13M Camera
+
| style="width: 301px;" | LVDS power select select header
 
|-
 
|-
| LVDS1_INVERTER
+
| LVDS_BKLT_PWR
| style="width: 296.422px;" | LVDS1 Invertor Connector
+
| style="width: 296.422px;" | LVDS Backlight Connector
| style="width: 64px;" | CSI0_FPC
+
| style="width: 64px;" | LVDS_BKLT_SLT
| style="width: 301px;" | MIPI FPC Connector for 2M Camera
+
| style="width: 301px;" | LVDS Backlight power select header
 
|-
 
|-
| LVDS0_INVERTER
+
| BAT1
| style="width: 296.422px;" | LVDS0 Invertor Connector
+
| style="width: 296.422px;" | Battery Connector
| style="width: 64px;" | CN5
 
| style="width: 301px;" | I2S2 Connector
 
|-
 
| SPI_BIOS2
 
| style="width: 296.422px;" | Carrier Board BIOS Socket (QFN)
 
| style="width: 64px;" | CN17
 
| style="width: 301px;" | I2S0 Connector
 
|-
 
| SD
 
| style="width: 296.422px;" | SD Card Connector
 
 
| style="width: 64px;" |  
 
| style="width: 64px;" |  
 
| style="width: 301px;" |  
 
| style="width: 301px;" |  
Line 163: Line 143:
  
 
=== '''Rear I/O ''' ===
 
=== '''Rear I/O ''' ===
 
[[File:SOM-DB2510 IO.PNG|RTENOTITLE]]
 
 
=== '''Jumper 位置( Jumper Locations) ''' ===
 
 
[[File:DB-2510 JumperLocations1.PNG|RTENOTITLE]]
 
 
[[File:DB-2510 JumperLocations2.PNG|RTENOTITLE]]
 
 
{| border="1" cellpadding="1" cellspacing="1" style="width: 850px;"
 
|-
 
| Lable
 
| style="width: 330px;" | Function
 
| style="width: 53px;" | Lable
 
| style="width: 305px;" | Function
 
|-
 
| BTN3
 
| style="width: 330px;" | Sleep Button
 
| style="width: 53px;" | J14
 
| style="width: 305px;" | EDP1/LVDS1 Hot-Plug Detect Selection Header
 
|-
 
| BTN1
 
| style="width: 330px;" | Power Button
 
| style="width: 53px;" | J56
 
| style="width: 305px;" | Standby Voltage Control Header
 
|-
 
| BTN2
 
| style="width: 330px;" | Reset Button
 
| style="width: 53px;" | J44
 
| style="width: 305px;" | Module +3.3V/+5V Power Selection Header
 
|-
 
| SW4
 
| style="width: 330px;" | BOOT SELECT Switch
 
| style="width: 53px;" | PSON1
 
| style="width: 305px;" | AT/ATX Selection Header
 
|-
 
| LID1
 
| style="width: 330px;" | LID Switch
 
| style="width: 53px;" | SPI_CN1
 
| style="width: 305px;" | SPI Header
 
|-
 
| J30
 
| style="width: 330px;" | Enable Battery Low# Header
 
| style="width: 53px;" | CN14
 
| style="width: 305px;" | For CAN Bus port0 Terminal Resistor
 
|-
 
| M2E_DISABLE_N1
 
| style="width: 330px;" | M.2 Wireless Disable
 
| style="width: 53px;" | CN15
 
| style="width: 305px;" | For CAN Bus port1 Terminal Resistor
 
|-
 
| J29
 
| style="width: 330px;" | SMB Alert Enable Header
 
| style="width: 53px;" | J3/J4
 
| style="width: 305px;" | DP0 EQ0 Selection
 
|-
 
| CN9
 
| style="width: 330px;" | Header For GPIO Test
 
| style="width: 53px;" | J5/J6
 
| style="width: 305px;" | DP0 EQ1 Selection
 
|-
 
| J7/J8
 
| style="width: 330px;" | LVDS0 Power Selection Header
 
| style="width: 53px;" | J58
 
| style="width: 305px;" | PCIE_B_CKREQ# Selection
 
|-
 
| J11/J12
 
| style="width: 330px;" | LVDS1 Power Selection Header
 
| style="width: 53px;" | J59
 
| style="width: 305px;" | PCIE_A_CKREQ# Selection
 
|-
 
| J9
 
| style="width: 330px;" | LVDS0 Inverter Power Selection Heade
 
| style="width: 53px;" | GPIO_0
 
| style="width: 305px;" | GPIO0/CAM0_PWR# Selection
 
|-
 
| J10
 
| style="width: 330px;" | EDP0/LVDS0 Hot-Plug Detect Selection Header
 
| style="width: 53px;" | GPIO_1
 
| style="width: 305px;" | GPIO1/CAM1_PWR# Selection
 
|-
 
| J26
 
| style="width: 330px;" | HDA/I2S Selection Header
 
| style="width: 53px;" | GPIO_2
 
| style="width: 305px;" | GPIO2/CAM0_RST# Selection
 
|-
 
| J1
 
| style="width: 330px;" | DP1/HDMI1 Select
 
| style="width: 53px;" | GPIO_3
 
| style="width: 305px;" | GPIO3/CAM1_RST# Selection
 
|-
 
| J13
 
| style="width: 330px;" | LVDS1 Inverter Power Selection Header
 
| style="width: 53px;" | GPIO_4
 
| style="width: 305px;" | GPIO4/HDA_RST# Selection
 
|-
 
| J31
 
| style="width: 330px;" | Clear CMOS Header
 
| style="width: 53px;" | GPIO_5
 
| style="width: 305px;" | GPIO5/PWM_OUT Selection
 
|-
 
| J25
 
| style="width: 330px;" | SPI Power Header
 
| style="width: 53px;" | GPIO_6
 
| style="width: 305px;" | GPIO6/TACHIN Selection
 
|-
 
| SW1
 
| style="width: 330px;" | COM1 mode Select
 
| style="width: 53px;" | SATA_ACT_PH1
 
| style="width: 305px;" | SATA act# Header
 
|-
 
| SW2
 
| style="width: 330px;" | COM3 mode Select
 
| style="width: 53px;" | PWRBTN_PH1
 
| style="width: 305px;" | Power button Header
 
|-
 
| J41
 
| style="width: 330px;" | Core Power Voltage Control Header
 
| style="width: 53px;" | SYS_RESET_PH1
 
| style="width: 305px;" | Reset button Header
 
|-
 
| J2
 
| style="width: 330px;" | DDI1 AUX/DDC Selection
 
| style="width: 53px;" |  
 
| style="width: 305px;" |  
 
|}
 
  
 
=== '''LED Function List ''' ===
 
=== '''LED Function List ''' ===
Line 297: Line 151:
 
| Function
 
| Function
 
|-
 
|-
| MODULE_VIN_LED1
+
| PD1405
| WDT_TIME_OUT# Indicate
+
| +V5_MOD
 
|-
 
|-
| MODULE_5V_LED
+
| PD1502
| Module 5V Indicate
+
| +V3.3
 
|-
 
|-
| MODULE_VIN_LED
+
| PD1503
| Module +V_MOD_IN Indicate
+
| +V5
|-
 
| RESET_OUT_LED
 
| RESET_OUT Indicate
 
|-
 
| RESET_OUT_LED
 
| CARRIER_STBY Indicate
 
|-
 
| CARRIER_PWR_ON_LED
 
| CARRIER_PWR_ON Indicate
 
|-
 
| MODULE_3P3V_LED
 
| Module 3.3V Indicate
 
|-
 
| 3P3V_LED
 
| Carrier Board +V3.3 Indicate
 
|-
 
| 5V_LED
 
| Carrier Board +V5 Indicate
 
|-
 
| 5V_DUAL_LED
 
| Carrier Board +V5SB Indicate
 
|-
 
| 3P3V_DUAL_LED
 
| Carrier Board +V3.3SB Indicate
 
|-
 
| 5VA_LED
 
| Carrier Board +V5D_MOD Indicate
 
|-
 
| SATA_LED
 
| SATA Indicate
 
|-
 
| SOM_LED
 
| SOM BOM Indicate
 
|-
 
| RISC_LED
 
| RISC BOM Indicate
 
 
|}
 
|}
 +
 +
 
  
 
=== '''Switch Settings'''  ===
 
=== '''Switch Settings'''  ===
  
*[[SW4|SW4]] (Boot Select/Force Recovery/Test Switches)  
+
*[http://ess-wiki.advantech.com.tw/view/ROM-2620_SW1301.png SW1301(BT0_CFG1/4, BT1_CFG6/7/9/11)]
*[[LID1|LID1]] (LID Button Enable/Disable Switches)  
+
*[http://ess-wiki.advantech.com.tw/view/ROM-2620_SW1302.png SW1302(BT0_CFG0, BT1_CFG4/5, BOOT_SEL0#/1#, MOD_ON)]
*[[SW5|SW5 ]](LAN CONN LED Pull High Switches)
+
*[http://ess-wiki.advantech.com.tw/view/SW1203_(UARTB_MODE0,_UART_MODE1) SW1203 (UARTB_MODE0, UART_MODE1)]
*[[COM0_Settings|SW1]](COM0 Settings)  
+
*[http://ess-wiki.advantech.com.tw/view/SW1204_(UARTB_TERM,_UARTB_SLEW) SW1204 (UARTB_TERM,_UARTB_SLEW)]
*[[SW2|SW2]](COM2 Settings)  
+
*[[SW1206_(U1205_RX_TERM,_U1205_MODE2)|SW1206_(U1205_RX_TERM,_U1205_MODE2)]]  
*[[I2S_Clock_Settings|SW3 ]](I2S Clock Settings)  
+
*[[SW1201_(UARTA_MODE0,_UART_MODE1|SW1201 (UARTA_MODE0, UART_MODE1]])  
*[[M2E_DISABLE_N1|M2E_DISABLE_N1]](M.2 Wireless Disable Switch)  
+
*[[SW1202_(UARTA_TERM,_UARTA_SLEW)|SW1202 (UARTA_TERM,_UARTA_SLEW)]]  
 +
*[http://ess-wiki.advantech.com.tw/view/SW1205_(U1202_RX_TERM,_U1202_MODE2) SW1205_(U1202_RX_TERM,_U1202_MODE2)]
 +
*[http://ess-wiki.advantech.com.tw/view/SW1303_(Power_button) SW1303_(Power_button)]
 +
*[http://ess-wiki.advantech.com.tw/view/SW1304_(Reset_button) SW1304_(Reset_button)]  
 +
*[http://ess-wiki.advantech.com.tw/view/SD_SLT_(SD_select) SD_SLT_(SD_select)]
 +
*[[LVDS_VDD_SLT_(LVDS_power_select_select_header)|LVDS_VDD_SLT_(LVDS_power_select_select_header)]]  
 +
*[[LVDS_BKLT_SLT_(LVDS_Backlight_power_select_header)|LVDS_BKLT_SLT_(LVDS_Backlight_power_select_header)]]
 +
 
 +
 
  
 
=== '''接口引脚定義 (Connector Pin definitions)''' ===
 
=== '''接口引脚定義 (Connector Pin definitions)''' ===
  
*[[ATX1_Pin_Connector| ATX1 Pin Connector]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_DCIN.png DCIN1401]  
*[[SMARC_IN1_Pin_Connectors|SMARC_IN1 Pin Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_COMB.png COMB]  
*[[BAT1_RTC_Battery_Connectors|BAT1 RTC Battery Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_COMA.png COMA]  
*[[DCIN1_DC-IN_Power_Connectors|DCIN1 DC-IN Power Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_LAN.png LAN]  
*[[CAN0_1_CAN_Bus_Connectors|CAN0_1 CAN Bus Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_USB1.png USB1]  
*[[CN9_GPIO_Headers|CN9 GPIO Headers]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_USB0_OTG1.png USB0_OTG1]  
*[[COM2_4_COM_Port2&4_Connectors|COM2_4 COM Port2&4 Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_AJ.png AJ(Audio_Jack)]  
*[[COM1_3_COM_Port1&_3_Connectors|COM1_3 COM Port1& 3 Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_MIC.png MIC]  
*[[CN10_ESPI_Headers|CN10 ESPI Headers]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_CAN.png CAN]  
*[[LVDS0_LVDS_Connectors|LVDS0 LVDS Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_COME_DEBUG.png COME_DEBUG(M-core_debug)]  
*[[LVDS0_INVERTER_LVDS_INVERTER_Connectors|LVDS0_INVERTER LVDS INVERTER Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_COMC.png COMC]  
*[[LVDS1_LVDS_Connectors|LVDS1 LVDS Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_COMD.png COMD(A-code_debug)]  
*[[LVDS1_INVERTER_LVDS_INVERTER_Connectors|LVDS1_INVERTER LVDS INVERTER Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_I2C1101.png I2C1101]  
*[[CN7_I2C_GP_Connectors|CN7 I2C_GP Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_I2C1102.png I2C1102]  
*[[SPI_CN1_SPI_Connectors|SPI_CN1 SPI Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_CN601.png CN601(M.2_Key_E)]  
*[[SATAP1_SATA_PWR_Connectors|SATAP1 SATA PWR Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_CN701.png CN701(MIPI-CSI)]  
*[[CSI0_FPC_Connectors|CSI0_FPC Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_LVDS.png LVDS]  
*[[CSI1_FPC_Connectors|CSI1_FPC Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_LVDS_BKLT_PWR.png LVDS_BKLT_PWR]  
*[[CN5_I2S2_Connectors|CN5 I2S2 Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_BAT1.png BAT1]  
*[[CN17_I2S0_Connectors|CN17 I2S0 Connectors]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_I2S_CN.png I2S_CN(I2S)]  
*[[PWRBTN_PH1_PWRBTN_Pin_Headers|PWRBTN_PH1 PWRBTN Pin Headers]]  
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_CN501.png CN501(CAN0_H/CAN0_L)]  
*[[SYS_RESET_PH1_SYS_RESET_Pin_Headers|SYS_RESET_PH1 SYS RESET Pin Headers]]
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_GPIO1101.png GPIO1101]  
*[[SATA_ACT_PH1_SATA_ACT|SATA_ACT_PH1 SATA ACT# Pin Headers]]
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_SPI_CN1101.png SPI_CN1101(PWM)]  
*[[J32_Power_LED_Pin_Headers|J32 Power LED Pin Headers]]
+
*[http://ess-wiki.advantech.com.tw/view/File:ROM-2620_CN1101.png CN1101(SPI)]  
*[[J30_BATLOW_Pin_Headers|J30 BATLOW Pin Headers]]
 
*[[J29_SMBUS_Alert_Pin_Headers|J29 SMBUS Alert Pin Headers]]
 
*[[J41_Core_Power_Controls|J41 Core Power Controls]]
 
*[[PSON1_ATX/AT_Mode_Selection|PSON1 ATX/AT Mode Selection]]
 
*[[J56_Standby_Power_Controls|J56 Standby Power Controls]]
 
*[[J44_Module_Power_Settings|J44 Module Power Settings]]
 
*[[J7,J8_LVDS0_Power_Selection|J7,J8 LVDS0 Power Selection]]
 
*[[J9_LVDS0_Inverter_Power_Selection|J9 LVDS0 Inverter Power Selection]]
 
*[[J11,J12_LVDS1_Power_Selection|J11,J12 LVDS1 Power Selection]]
 
*[[LVDS1_Inverter_Power_Selection|LVDS1 Inverter Power Selection]]
 
*[[EDP0_/LVDS0_HPD_Selection|EDP0 /LVDS0 HPD Selection]]  
 
*[[J14_EDP1/LVDS1_HPD_Selection|J14 EDP1/LVDS1 HPD Selection]]
 
*[[CN14_CAN0_Terminal_Resistor_Selection|CN14 CAN0 Terminal Resistor Selection]]
 
*[[CN15_CAN1_Terminal_Resistor_Selection|CN15 CAN1 Terminal Resistor Selection]]
 
*[[J2_DDI1_AUX/DDC_Selection|J2 DDI1 AUX/DDC Selection]]  
 
*[[J1_DP1/HDMI1_Selection|J1 DP1/HDMI1 Selection]]
 
*[[J58_PCIE_B_CKREQ|J58 PCIE_B_CKREQ# Selection]]
 
*[[J59_PCIE_A_CKREQ|J59 PCIE_A_CKREQ# Selection]]
 
*[[J31_Clear_CMOS|J31 Clear CMOS]]
 
*[[J25_+V1.8M_SPI_Power_Jumpers|J25 +V1.8M_SPI Power Jumpers]]
 
*[[GPIO_0_GPIO0_Settings|GPIO_0 GPIO0 Settings]]
 
*[[GPIO_1_GPIO1_Settings|GPIO_1 GPIO1 Settings]]
 
*[[GPIO_2_GPIO2_Settings|GPIO_2 GPIO2 Settings]]
 
*[[GPIO_3_GPIO3_Settings|GPIO_3 GPIO3 Settings]]
 
*[[GPIO_4_GPIO4_Settings|GPIO_4 GPIO4 Settings]]
 
*[[GPIO_5_GPIO5_Settings|GPIO_5 GPIO5 Settings]]
 
*[[GPIO_6_GPIO6_Settings|GPIO_6 GPIO6 Settings]]
 
*[[J26_HDA/I2S_Selection|J26 HDA/I2S Selection]]
 
 
 
 
 
  
 
=== '''机械尺寸  ('''Mechanical Characteristics) ===
 
=== '''机械尺寸  ('''Mechanical Characteristics) ===
  
'''ROM-5722'''
+
'''ROM-2620'''
 
 
'''[[File:ROM-5620 Mechanical Specifications1.jpg|RTENOTITLE]]'''
 
 
 
'''[[File:ROM-5620 Mechanical Specifications2.jpg|RTENOTITLE]]'''
 
 
 
 
 
  
 
+
[[File:ROM-2620 Module Dimension.png|RTENOTITLE]]
 
 
 
 
  
 
----
 
----
 
  
 
= '''快速入门 (Quick Start)''' =
 
= '''快速入门 (Quick Start)''' =
Line 433: Line 222:
 
*'''Linux系统 (Linux OS)''''''   '''  
 
*'''Linux系统 (Linux OS)''''''   '''  
  
'''Yocto 3.0:'''[[IoTGateway/BSP/Linux/iMX8/OS_Support_List_3.0|IoTGateway/BSP/Linux/iMX8/OS Support List 3.0]]
+
'''Yocto 4.0: '''[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/OS_Support_List_4.0_release_ROM-2620 IoTGateway/BSP/Linux/iMX8/OS Support List 4.0 release ROM-2620 - ESS-WIKI (advantech.com.tw)]
  
----
+
'''Yocto 4.2: '''[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/OS_Support_List_4.2_release_ROM-2620 IoTGateway/BSP/Linux/iMX8/OS Support List 4.2 release ROM-2620 - ESS-WIKI (advantech.com.tw)]''' '''
 +
 
 +
 
  
 +
 
  
 
=== '''Linux 燒錄方法 (Linux Flash eMMC Method)''' ===
 
=== '''Linux 燒錄方法 (Linux Flash eMMC Method)''' ===
Line 444: Line 236:
 
Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system) 
 
Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system) 
  
[[File:Z23.jpg|RTENOTITLE]]
+
[[File:ROM-2620 USBDeviceID.png|RTENOTITLE]]
  
 
Step1: 創造一張可開機的SD 卡 (Create a bootable SD card)
 
Step1: 創造一張可開機的SD 卡 (Create a bootable SD card)
Line 450: Line 242:
 
<span style="font-size:small;">Command&nbsp;:</span>
 
<span style="font-size:small;">Command&nbsp;:</span>
  
<span style="font-size:small;">'''sudo dd if=5722A1AIM30LIVA0271_iMX8MP_6G_2021-06-19.img of=/dev/sdf&nbsp; bs=1M conv=fsync status=progre'''ss&nbsp;</span>
+
<span style="font-size:small;">'''~$ sudo dd if=2620A1AIM34LIVC0054_iMX8ULP_1G_flash_tool/image/imx-image-full-imx8ulprom2620a1-20230627062759.rootfs.wic of=/dev/sde bs=1M conv=fsync status=progress'''</span>
  
[[File:Z24.jpg|RTENOTITLE]]
+
[[File:ROM-2620 dd img to sd.png|RTENOTITLE]]
  
 
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
 
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
  
&nbsp;[[File:SOM-DB2510 SD Card slot sd boot.PNG|RTENOTITLE]]
+
Step3: 確認開機選擇指撥開關
  
Step4: 確認開機選擇指撥開關&nbsp;
+
[[File:ROM-2620 Boot Switch.png|RTENOTITLE]]
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SD 卡開機模式: (2, 3:on, others off)
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 
+
|-
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:SOM-DB2510 SD switch setting.PNG|RTENOTITLE]]
+
| EMMC boot:
 
+
| SW1301: 1_2_5_6 ON<br/> SW1302: 4_6 ON
&nbsp;
+
|-
 
+
| SD boot:
Step3:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
+
| SW1301: 1_2_3_4 ON<br/> SW1302: 4_6 ON
 +
|-
 +
| Serial download:
 +
| SW1301: All OFF<br/> SW1302: 5_6 ON
 +
|}
  
[[File:Z25.jpg|800px|Z25.jpg]]
+
Step4:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
  
Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk)&nbsp;
+
[[File:ROM-2620 User login.png|RTENOTITLE]]
  
&nbsp;
+
Step5: 複製flash tool到U盤中, 解壓縮flash tools檔案,(copy to USB Disk, then unzip the flash tools file)(Test with 32G SD card)
  
&nbsp; &nbsp; 解壓縮(Unzip the file )
+
&nbsp; &nbsp; 複製檔案到U盤中 (Copy the flash file to USB Disk),&nbsp;解壓縮flash tool到home目錄(Unzip the file to home)
  
[[File:Z26.jpg|RTENOTITLE]]&nbsp;
+
#tar zxvf /run/media/New\ Volume-sda/2620A1AIM34LIVC0054_iMX8ULP_1G_flash_tool.tgz -C ~
  
&nbsp; &nbsp; 複製檔案到U盤中 (Copy the flash file to USB Disk)&nbsp;
+
[[File:ROM-2620 tar img.png|RTENOTITLE]]
  
&nbsp; 1. 插入U盤到你的Ubuntu 電腦上 (Plug the USB Disk into you Linux PC
+
5. 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk0燒錄image到eMMC(Connect USB Disk to ROM-2620&nbsp;system, extract the flash tool and browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk0"
  
&nbsp; 2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System)&nbsp;
+
解壓縮後如果沒有mksd-linux.sh檔案, 可以到以下連結下載並複製到mk_inand資料夾下(If there is no mksd-linux.sh file in mk_inand directory. Please download from the link below and place it in mk_inand directory:
  
[[File:Z27.jpg|RTENOTITLE]]
+
[https://github.com/ADVANTECH-Corp/RISC_tools_scripts/blob/kirkstone/imx8/mksd-linux.sh mksd-linux.sh]
  
&nbsp;3. 掛載U盤在Ubuntu 系統中 (Mount the USB Disk's in US)
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 
 
[[File:Z28.jpg|RTENOTITLE]]
 
 
 
4. 複製檔案到U盤(Copy the file to USB disk)
 
 
 
[[File:Z29.jpg|RTENOTITLE]]
 
 
 
5. 將U盤連接到ROM-5722系統, 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk2燒錄image到eMMC(Connect USB Disk to ROM-5722 system, browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk2"
 
 
 
{| border="1" cellpadding="1" cellspacing="1" style="width:500px;"
 
 
|-
 
|-
| ROM-5722
+
| ROM-2620
| &nbsp;
+
| Device node
 
|-
 
|-
 
| SD card
 
| SD card
| /dev/mmcblk1
+
| /dev/mmcblk2
 
|-
 
|-
 
| eMMC
 
| eMMC
| /dev/mmcblk2
+
| /dev/mmcblk0
 
|}
 
|}
  
[[File:Z30.jpg|1024px|Z30.jpg]]
+
[[File:ROM-2620 Flash eMMC.png|RTENOTITLE]]
  
6. 切換開機switch 1:on 2,3,4,5,6:off來設定成從eMMC開機(Change boot switch to "1:on 2,3,4,5,6:off" to boot from eMMC. Reboot system).
+
6. 切換開機switch來設定成從eMMC開機(Change boot switch to boot from eMMC. Reboot system).
  
 
&nbsp; &nbsp; &nbsp;
 
&nbsp; &nbsp; &nbsp;
Line 522: Line 308:
 
&nbsp;  Stop 停止位:1
 
&nbsp;  Stop 停止位:1
 
   Flow Control流控:无</pre>
 
   Flow Control流控:无</pre>
 
:&nbsp;
 
  
 
Tera Term Tool&nbsp;
 
Tera Term Tool&nbsp;
Line 539: Line 323:
 
Debug port connection (串口連接)&nbsp;
 
Debug port connection (串口連接)&nbsp;
  
[[File:SOM-DB2510 Debug port.PNG|RTENOTITLE]]
+
Log into Terminal&nbsp; Tool (进入串口调试终端):
 +
 
 +
[[File:ROM-2620 User login.png|RTENOTITLE]]
  
 
&nbsp;
 
&nbsp;
  
Log into Terminal&nbsp; Tool (进入串口调试终端)
+
= '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' =
 +
 
 +
=== '''UUU 使用方法(USB Connection (OTG port))''' ===
 +
 
 +
'''Connect USB cable to USB OTG port.'''
 +
 
 +
'''Change boot switch to "SW1301 all OFF, SW1302: 5_6:on" to boot from force recovery mode.'''
 +
 
 +
&nbsp;
  
[[File:Z31.jpg|RTENOTITLE]]
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 +
|-
 +
| Serial download:
 +
| SW1301: All OFF<br/> SW1302: 5_6 ON
 +
|}
  
 +
'''[[File:ROM-2620 uuu device id.png|RTENOTITLE]]'''
  
= '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' =
+
Download uuu tool from link below:
  
=== '''UUU 使用方法(USB Connection (OTG port))''' ===
+
[https://github.com/nxp-imx/mfgtools/releases?page=3 Releases · nxp-imx/mfgtools (github.com)]
  
Download uuu tool from (Release [[https://github.com/ADVANTECH-Corp/uuu/releases/tag/v20200619 ADV]v20210429 · ADVANTECH-Corp/uuu · GitHub]) or in the folder.
+
The uuu verison we tested is 1.4.193: [https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.4.193/uuu uuu]
  
uuu (Universal Update Utility) for nxp imx chips -- libuuu_'''1.3.191-67'''-ga9523ec
+
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.193-0-ge56424c
  
[[File:Z33.jpg|RTENOTITLE]]
+
Perpare uboot and image files below:
  
The “imx-boot-imx8mprom5722a1-6G.bin-flash_evk” file be included in 5722A1AIM30LIVA0XXX_iMX8MP_6G_misc.tgz. XXX is the version.
+
2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot.tgz<br/> 2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool.tgz
  
'''Connect USB cable to USB OTG port.'''
+
1. Download uuu
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">$ wget [https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.4.193/uuu https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.4.193/uuu]<br/> $ chmod a+x uuu<br/> $ tar zxvf 2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot.tgz<br/> $ tar zxvf 2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool.tgz</div>
 +
Type command below to flash eMMC:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">$ sudo ./uuu -b emmc_all 2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot/imx-boot-imx8ulprom2620a1-1G.bin-flash_singleboot_m33 2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool/image/imx-image-full-imx8ulprom2620a1-20230901105531.rootfs.wic</div>
 +
[[File:ROM-2620 uuu flash.png|RTENOTITLE]]
  
'''Change boot switch to "4:on 1,2,3,5,6:off" to boot from force recovery mode.'''
+
&nbsp;
  
'''[[File:Z32.jpg|RTENOTITLE]]'''Type command below to flash eMMC:
+
&nbsp;
  
[[File:Z34.jpg|RTENOTITLE]]
+
&nbsp;
  
=== '''Display Setting (ROM-5722)''' ===
+
=== '''Display Setting (ROM-2620)''' ===
  
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''
  
 
*Display  
 
*Display  
**HDMI (default)
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">=> setenv fdtfile imx8ulp-rom2620-a1-lt9211.dtb<br/> => saveenv<br/> => boot</div>
***imx8mp-rom5722-a1.dtb 
+
[[File:ROM-2620 2CH LVDS uboot.png|RTENOTITLE]]
**LVDS
 
***g070vw01(LVDS0) + HDMI
 
****imx8mp-rom5722-a1-lvds0-auo.dtb 
 
***g070vw01(LVDS1) + HDMI
 
****imx8mp-rom5722-a1-lvds1-auo.dtb 
 
***g215hvn01(DUAL LVDS) + HDMI
 
****imx8mp-rom5722-a1-lvds-dual.dtb   
 
**DSI
 
***adv7535(DSI to HDMI)&nbsp;+ HDMI
 
****imx8mp-rom5722-a1-adv7535.dtb 
 
***auog101uan02(DSI) +&nbsp;HDMI
 
****imx8mp-rom5722-a1-auog101uan02.dtb      
 
*Camera
 
**OV5640 (default)
 
***imx8mp-rom5722-a1.dtb 
 
**Basler camrea
 
***imx8mp-rom5722-a1-basler.dtb   
 
  
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
+
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
=== '''Audio(Audio Testing Methid)''' ===
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cat /proc/asound/cards</div>
 +
0 [sgtl5000 ]: sgtl5000 - sgtl5000&nbsp;<br/> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;sgtl5000
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># amixer set Mic 50%<br/> # amixer set Lineout 100%<br/> # amixer set PCM 100%</div>
 +
'''Record and playback:'''
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''# arecord -t wav -c 2 -r 44100 -d 10 /tmp/mic.wav'''</div> <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''# aplay /tmp/mic.wav'''</div>
 +
&nbsp;
 +
 
 +
=== '''M.2 WiFi/BT測試方法(M.2 WiFi/BT Testing Method)''' ===
  
'''Command&nbsp;: ifconfig&nbsp;'''
+
*Test Wi-Fi with EWM-W167 on C0048 version: Change SD_SLT to 2-3
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">=> setenv fdtfile imx8ulp-rom2620-a1-m2-sdio.dtb<br/> => saveenv<br/> => boot</div>
 +
In Linux user space:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># iwconfig<br/> # ifconfig wlan0 up<br/> # iwlist wlan0 scan | grep ESSID<br/> # killall wpa_supplicant<br/> # ifconfig wlan0 up<br/> # wpa_passphrase "Pilimao" "0913079939" > /tmp/wpa.conf<br/> # wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf<br/> # udhcpc -b -i wlan0<br/> # ping 8.8.8.8</div>
 +
Add name server: nameserver 8.8.8.8 in resolv.conf file
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># vi /etc/resolv.conf<br/> # ping google.com</div>
 +
Test BT:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># cd /opt/rtl8723bs_bt/<br/> # ./start_bt.sh ttyLP0<br/> # hciconfig hci0 up<br/> # hciconfig<br/> # bluetoothctl<br/> # discoverable on<br/> # pairable on<br/> # scan on<br/> # info 84:C5:A6:D3:AF:E4<br/> # pair 84:C5:A6:D3:AF:E4<br/> # connect 84:C5:A6:D3:AF:E4<br/> # paired-devices<br/> # disconnect 84:C5:A6:D3:AF:E4<br/> # remove 84:C5:A6:D3:AF:E4</div>
 +
*Test Wi-Fi with EWM-W194M201E Module (SDIO Interface)
  
[[File:Z35.jpg|RTENOTITLE]]
+
Step 1: Press enter after boot. The system will stop at u-boot, and change dtb file by below command.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">=> setenv fdtfile imx8ulp-rom2620-a1-m2-sdio-88w8997.dtb<br/> => saveenv<br/> => boot</div>
 +
Step 2: Install driver by below command.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># rmmod mwifiex_sdio mwifiex<br/> # modprobe moal mod_para=nxp/wifi_mod_para.conf<br/> # modprobe btnxpuart</div>
 +
Step 3: WIFI test command.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ifconfig mlan0 up<br/> # wpa_passphrase ASUS-917C qwert12345 > /tmp/wpa.conf<br/> # wpa_supplicant -d -B -i mlan0 -c /tmp/wpa.conf<br/> # udhcpc -i mlan0</div>
 +
*Test Bluetooth with EWM-W194M201E Module (UART Interface)
  
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
+
Step 1: Please refer to above&nbsp;step 1.<br/> Step 2: Please refer to above&nbsp;step 2.
  
[[File:Z36.jpg|RTENOTITLE]]
+
Step 3: Bluetooth test command.
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># hciconfig hci0 up<br/> # bluetoothctl<br/> # discoverable on<br/> # pairable on<br/> # scan on<br/> [NEW] FC:18:3C:8D:75:F4 myphone<br/> # scan off<br/> # pair FC:18:3C:8D:75:F4<br/> # connect FC:18:3C:8D:75:F4</div>
 +
&nbsp;
  
=== '''WiFi使用方法(WIFI Testing Method)''' ===
+
&nbsp;
<pre>Command&nbsp;:
 
  
</pre>
+
=== '''Serial Port測試方法(Serial Testing Method)(COM A/C)''' ===
<pre># killall wpa_supplicant
+
 
# ifconfig wlan0 up
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
# iwlist mlan0 scan
+
|-
WEP:
+
| COMA
# iwconfig mlan0 txpower auto essid "SSID" channel 4
+
| /dev/ttyLP0
# udhcpc -i mlan0
+
|-
 +
| COMB(M33 Domain)
 +
| &nbsp;
 +
|-
 +
| COMC
 +
| /dev/ttyLP2
 +
|-
 +
| COMD
 +
| /dev/ttyLP1
 +
|-
 +
| COME_DEBUG
 +
| M33 debug port
 +
|}
  
WPA/WPA2:
+
*'''RS-232 Loopback Test (eg. COMA: ttyLP0):'''
# wpa_passphrase "SSID" > wpa.conf
 
Type password
 
# wpa_supplicant -B -Dwext -imlan0 -c/home/root/wpa.conf
 
# udhcpc -i mlan0
 
  
ping 8.8.8.8
+
Step 1: First change ROM-ED91 SW1201 to ‘01’.<br/> Step 2: Run test command.
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># stty -F /dev/ttyLP0 speed 115200 -echo<br/> # cat /dev/ttyLP0 &<br/> # echo test > /dev/ttyLP0</div>  
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
+
*'''RS-422 Test:'''
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
 
  
[[File:Z37.jpg|RTENOTITLE]]
+
Step 1: First change ROM-ED91 SW1201 to ‘11’.<br/> Step 2: Test RS-422 with Adam-4520. Connect Adam-4520 with COMA with DB9 as the following:
  
=== '''4G使用方法(4G Testing Method)''' ===
+
Adam-4520 RX- <-->ROM-2620 COMA DB9 Pin 1,<br/> Adam-4520 RX+ <-->ROM-2620 COMA DB9 Pin 2,<br/> Adam-4520 TX- <-->ROM-2620 COMA DB9 Pin 4,<br/> Adam-4520 TX+ <--> ROM-2620 COMA DB9 Pin 3
<pre>Command:
 
Test 4G: (EWM-C117FL06E - USB)
 
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]]
+
Step 3: Run below command:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># stty -F /dev/ttyLP0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke<br/> # cat /dev/ttyLP0 &<br/> # echo "Serial Test" > /dev/ttyLP0</div>
 +
*'''RS-485 Test:'''
  
[[File:4GTest12021-09-09 133648.jpg|RTENOTITLE]]
+
Step 1: First change ROM-ED91 SW1201 to ‘10’.<br/> Step 2: Test RS-485 with Adam-4520. Connect Adam-4520 with COMA with DB9 as the following:
  
=== '''GPIO使用方法(GPIO Operating Method)''' ===
+
Adam-4520 Data- <-->ROM-2620 COMA DB9 Pin 1,<br/> Adam-4520 Data+ <-->ROM-2620 COMA DB9 Pin 2
  
'''GPIO pin:'''
+
Step 3: Run below command:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># stty -F /dev/ttyLP0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke<br/> # cat /dev/ttyLP0 &<br/> # echo "Serial Test" > /dev/ttyLP0</div>
 +
&nbsp;
  
[[File:Z39.jpg|RTENOTITLE]]
+
&nbsp;
  
 
&nbsp;
 
&nbsp;
<pre>Loop-back Test (Take GPIO0 and GPIO2 as examples) 
 
  
Step 1: Connect GPIO0 and GPIO2
+
=== '''I2C測試方法(I2C Testing Method)''' ===
Step 2: Export GPIO interface
 
  
root@imx8mprom5722a1: ~# echo 114 > /sys/class/gpio/export
+
Step 1: Plug in ROM-EG70<br/> Step 2: Test by below command (eg. I2C-6 I2C_1101):
root@imx8mprom5722a1: ~# echo 124 > /sys/class/gpio/export
+
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># modprobe at24<br/> # echo -n $'\x06\x05\x04\x03\x02\x01' > test<br/> # dd if=test of=/sys/bus/i2c/devices/6-0050/eeprom<br/> # hexdump -C /sys/bus/i2c/devices/6-0050/eeprom -n 64</div>
 +
&nbsp;
  
Step 3: Set direction
+
&nbsp;
  
root@imx8mprom5722a1: ~# echo out > /sys/class/gpio/gpio1/direction
+
=== '''USB測試方法(USB Testing Method)''' ===
root@imx8mprom5722a1: ~# echo in > /sys/class/gpio/gpio2/direction
 
  
Step 4: Read value and set output value then check
+
USB disk test (USB 2.0)<br/> Step 1: Issue the following command (lsusb -t) after inserting a USB disk into the USB 2.0 port to check if the USB device is listed. Step 2: 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 # dd if=data of=/dev/sda bs=1 seek=4096<br/> # dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096 # diff data data1<br/> # dd if=backup of=/dev/sda bs=1 seek=4096</div>
 +
&nbsp;
  
root@imx8mprom5722a1: ~# cat /sys/class/gpio/gpio2/value
+
&nbsp;
0
 
root@imx8mprom5722a1: ~# echo 1 > /sys/class/gpio/gpio1/value
 
root@imx8mprom5722a1: ~# cat /sys/class/gpio/gpio2/value
 
1</pre>
 
  
=== '''串口使用方法(Serial Port Operating&nbsp;Method)''' ===
+
=== '''RTC測試方法(RTC Testing Method)''' ===
  
RS-232 Test
+
Step 1: Set system time to current, then write to RTC
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 021010452023 && hwclock -w && date</div>
 +
Step 2: Set one incorrect time, then read time from RTC to verify
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">#&nbsp;date 010100002000 && hwclock -r && date</div>
 +
&nbsp;
  
CN15上(SER0/UART3): /dev/ttymxc2
+
=== '''eMMC/SD測使方法(eMMC/SD Testing Method)''' ===
  
CN15 下(SER2/UART1): /dev/ttymxc0
+
'''Device Routes'''<br/> eMMC: /dev/mmcblk0&nbsp;<br/> SD: /dev/mmcblk2
  
COM 3&nbsp;(A53 debug/SER3/UART2): /dev/ttymxc1
+
'''Test (eg. emmc)'''
  
COM 1&nbsp;(M7&nbsp;debug/SER1/UART4): /dev/ttymxc3
+
'''Step 1: Test 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>
 +
&nbsp;
  
SW7 Setting (SW7設置)&nbsp;
+
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
  
[[File:SW6&7settingn.jpeg|RTENOTITLE]]
+
'''Command&nbsp;: ifconfig&nbsp;'''
  
MODE1&nbsp; MODE0<br/> &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOOPBACK<br/> &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS232<br/> &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS485<br/> &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS422
+
[[File:ROM-2620 ifconfig.png|RTENOTITLE]]
  
Loopback test (eg. ttymxc0)<br/> Connect loopback test tool
+
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
  
#stty ‐F /dev/ttymxc0 115200<br/> # stty ‐F /dev/ttymxc0 ‐echo<br/> # cat /dev/ttymxc0 &<br/> # echo test > /dev/ttymxc0
+
[[File:ROM-2620 ping.png|RTENOTITLE]]
  
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
+
&nbsp;
<pre>Command&nbsp;:
 
  
$ hciconfig hci0 up
+
&nbsp;
$ 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]]
+
=== '''GPIO使用方法(GPIO Operating Method)''' ===
  
=== '''&nbsp; 遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
+
'''GPIO pin:'''
  
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address )'''
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
<pre>       Command&nbsp;: ifconfig</pre>
+
|-
 +
| GPIO1101 pin
 +
| Pin Name
 +
| CPU Ball Name
 +
| GPIO number
 +
|-
 +
| 1
 +
| GPIO_A_0
 +
| PTC0
 +
| 416
 +
|-
 +
| 2
 +
| GPIO_A_1
 +
| PTC1
 +
| 417
 +
|-
 +
| 3
 +
| GPIO_A_2
 +
| PTC2
 +
| 418
 +
|-
 +
| 4
 +
| GPIO_A_3
 +
| PTC3
 +
| 419
 +
|-
 +
| 5
 +
| GPIO_A_4
 +
| PTC4
 +
| 420
 +
|-
 +
| 6
 +
| GPIO_A_5
 +
| PTC12
 +
| 428
 +
|-
 +
| 7
 +
| GPIO_B_0
 +
| PTC18
 +
| 434
 +
|-
 +
| 8
 +
| GPIO_B_1
 +
| PTC19
 +
| 435
 +
|-
 +
| 9
 +
| GPIO_B_2
 +
| PTC20
 +
| 436
 +
|-
 +
| 10
 +
| GPIO_B_3
 +
| PTC21
 +
| 437(Use for M2_SDIO_RST)
 +
|-
 +
| 11
 +
| GPIO_B_4
 +
| PTC22
 +
| 438(Use for M2_W_DISABLE2)
 +
|-
 +
| 12
 +
| GPIO_B_5
 +
| PTC23
 +
| 439(Use for M2_W_DISABLE1)
 +
|-
 +
| 13
 +
| GPIO_B_6
 +
| PTB0
 +
| 448
 +
|-
 +
| 14
 +
| GPIO_B_7
 +
| PTB1
 +
| 449
 +
|-
 +
| 15
 +
| GPIO_C_0
 +
| PTD12
 +
| 140
 +
|-
 +
| 16
 +
| GPIO_C_1
 +
| PTD13
 +
| 141
 +
|-
 +
| 17
 +
| GPIO_C_2
 +
| PTF1
 +
| 193
 +
|-
 +
| 18
 +
| GPIO_C_3
 +
| PTF7
 +
| 199(Use for LVDS_Bridge_RST)
 +
|-
 +
| 19
 +
| PTB6
 +
| PTB6
 +
| 454
 +
|-
 +
| 20
 +
| PTA5
 +
| PTA5
 +
| 485
 +
|}
 +
 
 +
GPIO Loopback Test (Using GPIO1 and GPIO2 as examples)
 +
 
 +
Step 1: Connect GPIO1 and GPIO2
 +
 
 +
Step 2: Export GPIO interface
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 416 > /sys/class/gpio/export<br/> # echo 417 > /sys/class/gpio/export</div>
 +
Step 3: Set GPIO 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>
 +
Step 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 0<br/> # echo 1 > /sys/class/gpio/gpio1/value<br/> # cat /sys/class/gpio/gpio2/value<br/> 1</div>
 +
=== '''Camera使用方法(Camera Testing Method)''' ===
 +
 
 +
MIPI-CSI0 (Tested with OV5640 + mini-SAS to MIPI-CSI Cable): OV5640 CSI (CN701): Connect OV5640 camera to EG-55 CAM3
 +
 
 +
Step 1: Take pictures
 +
<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>
 +
Step 2: View on panel
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># gplay-1.0 sample.jpeg</div>
 +
&nbsp;
 +
 
 +
=== '''PWM測試方法(PWM Testing Method)''' ===
 +
 
 +
Please use oscilloscope to check waveform.
 +
 
 +
PWM1:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 4 > /sys/class/pwm/pwmchip0/export<br/> # echo 1000000 > /sys/class/pwm/pwmchip0/pwm4/period<br/> # echo 500000 > /sys/class/pwm/pwmchip0/pwm4/duty_cycle<br/> # echo 1 > /sys/class/pwm/pwmchip0/pwm4/enable</div>
 +
PWM2:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 5 > /sys/class/pwm/pwmchip6/export<br/> # echo 1000000 > /sys/class/pwm/pwmchip6/pwm5/period<br/> # echo 500000 > /sys/class/pwm/pwmchip6/pwm5/duty_cycle<br/> # echo 1 > /sys/class/pwm/pwmchip6/pwm5/enable</div>
 +
PWM3:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 2 > /sys/class/pwm/pwmchip6/export<br/> # echo 1000000 > /sys/class/pwm/pwmchip6/pwm2/period<br/> # echo 500000 > /sys/class/pwm/pwmchip6/pwm2/duty_cycle<br/> # echo 1 > /sys/class/pwm/pwmchip6/pwm2/enable</div>
 +
PWM4:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 3 > /sys/class/pwm/pwmchip6/export<br/> # echo 1000000 > /sys/class/pwm/pwmchip6/pwm3/period<br/> # echo 500000 > /sys/class/pwm/pwmchip6/pwm3/duty_cycle<br/> # echo 1 > /sys/class/pwm/pwmchip6/pwm3/enable</div>  
 +
PWM5:
 +
<div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 4 > /sys/class/pwm/pwmchip6/export<br/> # echo 1000000 > /sys/class/pwm/pwmchip6/pwm4/period<br/> # echo 500000 > /sys/class/pwm/pwmchip6/pwm4/duty_cycle<br/> # echo 1 > /sys/class/pwm/pwmchip6/pwm4/enable</div>
 +
&nbsp;
 +
 
 +
=== '''M33 Function''' ===
  
[[File:Z40.jpg|RTENOTITLE]]
+
We use default M-core firmware to verify each of IO feature. User should connect COME_DEBUG port to PC and there were show screen as demonstration below:
  
==== Windows下SSH访问及文件传输 ====
+
[[File:ROM-2620 M33.png|RTENOTITLE]]
  
SSH Remote Log into Device&nbsp;
+
Press C for test mode of CAN bus<br/> Press Q for test mode of QSPI<br/> Press M for test mode of LPSPI master<br/> Press S for test mode of LPSPI slave<br/> Press U for test mode of LPUART<br/> About this firmware, user should note that if you want to switch to another test mode, you must reboot the system.
  
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
+
&nbsp;
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
 
  
 
&nbsp;
 
&nbsp;
  
[[File:SSHsettingdetail.png|RTENOTITLE]]
+
==== '''CAN Bus''' ====
  
[[File:Z42.jpg|RTENOTITLE]]
+
'''Step 1: Prepare two pcs rom-2620. One for ‘Node A’ one for ‘Node B’<br/> Step 2: Connect these two boards (HI-HI/LO-LO)<br/> Step 3: The test steps and screen are as below&nbsp;:'''
 +
 
 +
[[File:ROM-2620 CAN Bus.png|RTENOTITLE]]
 +
 
 +
Step 4: Follow the figure (step1 - step4). If B node received data means test successful.
  
 
&nbsp;
 
&nbsp;
  
[[File:Z43.jpg|RTENOTITLE]]
+
==== '''QSPI''' ====
 +
 
 +
Step 1: After select the test mode ‘Q’ to verify QSPI, you will see below screen.
 +
 
 +
[[File:ROM-2620 QSPI.png|RTENOTITLE]]
  
[[File:Z44.jpg|RTENOTITLE]]
+
Step 2: This test program will perform QSPI erase/write automatically and show ‘successfully’ when it’s done.<br/> Step 3: User can press any key to run again.
  
 +
&nbsp;
  
= '''通用方法(General Method)''' =
+
&nbsp;
  
=== '''查看CPU温度(Check CPU Temperature)''' ===
+
==== '''LPSPI''' ====
<pre>    root@imx8mprom5722a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
 
  
    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
+
Step 1: Two pcs rom-2620. One for ‘Master’ one for ‘Slave’.<br/> Step 2: Connection with these two boards by SPI Bus as below:
  
=== '''查看CPU频率(Check CPU Frequency)''' ===
+
LPSPI3_PCS0 -- LPSPI3_PCS0<br/> LPSPI3_GND -- LPSPI3_GND<br/> LPSPI3_PCS1 -- LPSPI3_PCS1<br/> LPSPI3_SCK -- LPSPI3_SCK<br/> LPSPI3_SOUT -- LPSPI3_SIN<br/> LPSPI3_SIN -- LPSPI3_SOUT
<pre>           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
 
          >> 900000
 
          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq   
 
          >> 1200000</pre>
 
  
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
Step 3: One board select mode ‘M’ to be Master.<br/> Step 4: The second board is specified to Slave by select mode ‘S’.<br/> Step 5: The test screen as below:
<pre>root@imx8mprom5722a1:~# 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
 
Mem: &nbsp; &nbsp; &nbsp; &nbsp;6002516 &nbsp; &nbsp; &nbsp;402812 &nbsp; &nbsp; 5505276 &nbsp; &nbsp; &nbsp; 26668 &nbsp; &nbsp; &nbsp; 94428 &nbsp; &nbsp; 5493888
 
Swap: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0
 
</pre>
 
  
=== '''查看存储容量(Check Storage Capacity)''' ===
+
[[File:ROM-2620 LPSPI.png|RTENOTITLE]]
<pre>root@imx8mprom5722a1:~# busybox df -h
 
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on
 
/dev/root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;14.1G &nbsp; &nbsp; &nbsp;3.6G &nbsp; &nbsp; &nbsp;9.8G &nbsp;27% /
 
devtmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2.4G &nbsp; &nbsp; &nbsp;4.0K &nbsp; &nbsp; &nbsp;2.4G &nbsp; 0% /dev
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.9G &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;2.9G &nbsp; 0% /dev/shm
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.9G &nbsp; &nbsp; 25.1M &nbsp; &nbsp; &nbsp;2.8G &nbsp; 1% /run
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.9G &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;2.9G &nbsp; 0% /sys/fs/cgroup
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.9G &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;2.9G &nbsp; 0% /tmp
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2.9G &nbsp; &nbsp;268.0K &nbsp; &nbsp; &nbsp;2.9G &nbsp; 0% /var/volatile
 
/dev/mmcblk2p1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 83.0M &nbsp; &nbsp; 29.6M &nbsp; &nbsp; 53.5M &nbsp;36% /run/media/mmcblk2p1
 
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 586.2M &nbsp; &nbsp; &nbsp;4.0K &nbsp; &nbsp;586.2M &nbsp; 0% /run/user/0
 
/dev/mmcblk1p1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 83.0M &nbsp; &nbsp; 29.6M &nbsp; &nbsp; 53.5M &nbsp;36% /run/media/mmcblk1p1
 
/dev/mmcblk1p2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 14.2G &nbsp; &nbsp; &nbsp;3.6G &nbsp; &nbsp; 10.0G &nbsp;26% /run/media/mmcblk1p2
 
root@imx8mprom5722a1:~#</pre>
 
  
=== '''網路Ping測試(Ping Network Testing)''' ===
+
Step 6: Press any key at terminal of node master, it will execute the test again.
<pre>    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</pre>
 
  
=== '''設置RTC (RTC Setting)&nbsp;''' ===
+
&nbsp;
<pre>root@imx8mprom5722a1:~# systemctl stop ntpdate.service
 
root@imx8mprom5722a1:~# date 090816072021 && hwclock -w && date
 
Wed Sep &nbsp;8 16:07:00 UTC 2021
 
Tue Nov 23 07:38:50 UTC 2021
 
root@imx8mprom5722a1:~# date
 
Tue Nov 23 07:38:56 UTC 2021
 
root@imx8mprom5722a1:~#</pre>
 
  
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
+
==== '''LPUART''' ====
  
 +
Step 1: Change ROM-ED91 SW1203 to '01'.<br/> Step 2: Connect COM-B and COM-E to PC.<br/> Step 3: Set RTS/CTS flow control for COM-B in Putty.exe
  
= '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' =
+
[[File:ROM-2620 M33 COMB.png|RTENOTITLE]]
  
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVC_User_Guide '''Yocto 4.0'''] ===
+
Step 4: After select the test mode ‘U’ to verify LPUART2, you will see below screen.
  
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
+
[[File:ROM-2620 M33 LPUART.png|RTENOTITLE]]
  
'''如果有驗證上的錯誤 請使用以下的方法'''
+
Step 5: If tester can input any characters/strings and show that at COM-B means test successful.
  
<u>'''### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none'''</u>&nbsp;ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/hom e/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/py thon3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-l inux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/adv/adv-release-bsp/build_x11/tm p/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/buil d_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp /build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-release-bsp/ build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/bin:/home/adv/adv-release-bsp/so urces/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/home/adv"; git -c core.fsyncob jectfiles=0 submodule update --init --recursive failed with exit code 1, output:
+
=== '''遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
  
Submodule 'common' (
+
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address ):'''​
 +
<pre>        Command&nbsp;: ifconfig
 +
</pre>
  
[https://anongit.freedesktop.org/git/gstreamer/common.git) https://anongit.freedesktop.org/git/gstreamer/common.git)]&nbsp;registered for path 'common'
+
&nbsp;
  
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...
+
==== SSH访问及文件传输 ====
  
fatal: unable to access '
+
SSH Remote Log into Device&nbsp;
  
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
+
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
 +
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
  
fatal: clone of '
+
[[File:ROM-2620 SSH.png|RTENOTITLE]]
  
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed
+
= '''通用方法(General Method)''' =
  
Failed to clone 'common'. Retry scheduled
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
 +
<pre>root@imx8ulprom2620a1:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp
 +
37000 </pre>
  
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...
+
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
 +
<pre>root@imx8ulprom2620a1:~# free -h
 +
&nbsp; &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
 +
Mem: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 895Mi &nbsp; &nbsp; &nbsp; 230Mi &nbsp; &nbsp; &nbsp; 469Mi &nbsp; &nbsp; &nbsp; &nbsp;29Mi &nbsp; &nbsp; &nbsp; 195Mi &nbsp; &nbsp; &nbsp; 546Mi
 +
Swap: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0B &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0B &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0B
 +
root@imx8ulprom2620a1:~#
 +
</pre>
  
fatal: unable to access '
+
=== '''查看存储容量(Check Storage Capacity)''' ===
 +
<pre>root@imx8ulprom2620a1:~# df -hT
 +
Filesystem &nbsp; &nbsp; Type &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on
 +
/dev/root &nbsp; &nbsp; &nbsp;ext4 &nbsp; &nbsp; &nbsp; 15G &nbsp;3.9G &nbsp;9.5G &nbsp;30% /
 +
devtmpfs &nbsp; &nbsp; &nbsp; devtmpfs &nbsp;431M &nbsp;4.0K &nbsp;431M &nbsp; 1% /dev
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; 448M &nbsp; &nbsp; 0 &nbsp;448M &nbsp; 0% /dev/shm
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; 180M &nbsp; 20M &nbsp;160M &nbsp;11% /run
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; 4.0M &nbsp; &nbsp; 0 &nbsp;4.0M &nbsp; 0% /sys/fs/cgroup
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; 448M &nbsp; 76K &nbsp;448M &nbsp; 1% /tmp
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; 448M &nbsp;1.5M &nbsp;447M &nbsp; 1% /var/volatile
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmpfs &nbsp; &nbsp; &nbsp;90M &nbsp;4.0K &nbsp; 90M &nbsp; 1% /run/user/0
 +
/dev/mmcblk0p1 vfat &nbsp; &nbsp; &nbsp; 84M &nbsp; 32M &nbsp; 52M &nbsp;38% /run/media/boot-mmcblk0p1
 +
/dev/mmcblk2p2 ext4 &nbsp; &nbsp; &nbsp; 29G &nbsp; 11G &nbsp; 17G &nbsp;40% /run/media/root-mmcblk2p2
 +
/dev/mmcblk2p1 vfat &nbsp; &nbsp; &nbsp; 84M &nbsp; 32M &nbsp; 52M &nbsp;38% /run/media/boot-mmcblk2p1
 +
root@imx8ulprom2620a1:~#
 +
</pre>
  
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
+
&nbsp;
  
fatal: clone of '
+
=== '''設置RTC (RTC Setting)&nbsp;''' ===
 +
<pre>root@imx8ulprom2620a1:~# systemctl stop ntpdate.service
 +
root@imx8ulprom2620a1:~# date 090816072021 && hwclock -w && date
 +
Wed Sep &nbsp;8 16:07:00 UTC 2021
 +
Wed Mar &nbsp;6 04:31:37 UTC 2024
 +
root@imx8ulprom2620a1:~# date
 +
Wed Mar &nbsp;6 04:31:44 UTC 2024
 +
root@imx8ulprom2620a1:~#</pre>
  
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed
+
&nbsp;
  
Failed to clone 'common' a second time, aborting
+
查看系統時間 (Check the system)&nbsp;
  
ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack
+
root@imx8ulprom2620a1:/# timedatectl<br/> [ &nbsp; 41.402592] kauditd_printk_skb: 6 callbacks suppressed<br/> [ &nbsp; 41.402611] audit: type=1334 audit(45.332:16): prog-id=15 op=LOAD<br/> [ &nbsp; 41.417884] audit: type=1334 audit(45.344:17): prog-id=16 op=LOAD<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local time: Thu 1970-01-01 00:00:46 UTC<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Universal time: Thu 1970-01-01 00:00:46 UTC&nbsp; &nbsp; &nbsp;&nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RTC time: Thu 1970-01-01 00:00:45&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <-----&nbsp;&nbsp;Real-Time Clock,RTC&nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Time zone: Universal (UTC, +0000)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <------&nbsp;Time zone&nbsp;目前<br/> System clock synchronized: no<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NTP service: active<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RTC in local TZ: no&nbsp; '''&nbsp; &nbsp; &nbsp; &nbsp;'''
  
ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14. 4.imx-r0/temp/log.do_unpack.42631
+
Note&nbsp;:&nbsp;
  
ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0_1.14.imx.bb:do_unpack) failed with exit code '1'
+
Change Time Zone&nbsp;&nbsp;
 +
<pre><code data-highlighted="yes">sudo timedatectl set-timezone "Asia/Taipei"
 +
</code></pre>
  
ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; expo rt PATH="/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/ recipe-sysroot-native/usr/bin/python3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch6 4-poky-linux:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx -r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer 1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8m m-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp/build_x11/ tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-rele ase-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/bin:/ home/adv/adv-release-bsp/sources/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/hom e/adv"; git -c core.fsyncobjectfiles=0 submodule update --init --recursive failed with exit code 1, output:
+
<code data-highlighted="yes">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local time: Fri 2024-05-03 09:07:42 CST<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Universal time: Fri 2024-05-03 01:07:42 UTC<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RTC time: Fri 2024-05-03 09:07:42<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Time zone: Asia/Taipei (CST, +0800)<br/> System clock synchronized: yes<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NTP service: active<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RTC in local TZ: yes</code>
  
Submodule 'common' (
+
Time Zone List&nbsp;
  
[https://anongit.freedesktop.org/git/gstreamer/common.git) https://anongit.freedesktop.org/git/gstreamer/common.git)]&nbsp;registered for path 'common'
+
&nbsp;
  
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...
+
$ sudo timedatectl list-timezones
  
fatal: unable to access '
+
Africa/Abidjan
  
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
+
Africa/Accra
  
fatal: clone of '
+
Africa/Addis_Ababa
  
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed
+
Africa/Algiers
  
Failed to clone 'common'. Retry scheduled
+
Africa/Asmara
  
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...
+
Africa/Bamako
  
fatal: unable to access '
+
Africa/Bangui
  
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
+
Africa/Banjul
  
fatal: clone of '
+
Africa/Bissau
  
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed
+
Africa/Blantyre
  
Failed to clone 'common' a second time, aborting
+
Africa/Brazzaville
  
ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack
+
Africa/Bujumbura
  
ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0 -plugins-base/1.14.4.imx-r0/temp/log.do_unpack.51633
+
Africa/Cairo
  
ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0-plugins-base_1.14.imx.bb:do_unpack) failed with exit code '1'
+
Africa/Casablanca
  
<u>'''============================================================<br/> export GIT_SSL_NO_VERIFY=1<br/> #or<br/> git config --global http.sslverify false<br/> ============================================================'''</u>
+
= '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' =
  
&nbsp;
+
=== '''[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVD_User_Guide Yocto 4.2]''' ===
  
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
+
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVC_User_Guide '''Yocto 4.0'''] ===
|-
 
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
 
|}
 

Latest revision as of 09:15, 10 May 2024

 

Contents

產品介紹

產品特性(Features)

  • NXP Arm® Cortex®-A35 i.MX 8ULP Dual up to 1.0 GHz
  • 1 x Arm Cortex-M33 core
  • Onboard LPDDR4 1GB, 2000MT/s memory
  • 1 x 4 lane MIPI-DSI ƒ 1 x USB2.0, 1 x USB 2.0 OTG, 5 x UART, 2 x I2C, 24 x GPIO, 6 x PWM, 1 x CAN
  • Ultra small size form factor - OSM
  • Support Ycoto Linux and Microsoft Azure Sphere OS

 

產品官網連結(Product information Link)

ROM-2620

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

ROM-2620 接口布局圖 Board Dimension Layout 

ROM-2620 1.jpgROM-2620 2.jpg

 

ROM-ED91 接口布局圖 Board Dimension Layout

RTENOTITLE

 

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

Internal I/O, Jummper/Switch List:

Label Function Label Function
DCIN1401 12V DCIN connector SW1301 BT0_CFG1/4, BT1_CFG6/7/9/11
COMB RS232/422/485 SW1302 BT0_CFG0, BT1_CFG4/5, BOOT_SEL0#/1#, MOD_ON
COMA RS232/422/485 SW1203 UARTB_MODE0, UART_MODE1
LAN LAN Connector SW1204 UARTB_TERM, UARTB_SLEW
USB1 USB2.0 port Connector SW1206 U1205_RX_TERM, U1205_MODE2
USB0_OTG1 Micro USB Connector SW1201 UARTA_MODE0, UART_MODE1
AJ Line Out Connector SW1202 UARTA_TERM, UARTA_SLEW
MIC MIC Connector SW1205 U1202_RX_TERM, U1202_MODE2
CAN CAN Bus Connector SW1303 Power button
COME_DEBUG M-core debug console SW1304 Reset button
COMC COM I2S_CN I2S Connector
COMD A-core debug console CN501 CAN0_H, CAN0_L terminatl resistors
I2C1101 I2C Connector SD_SLT SD select
I2C1102 I2C Connector GPIO1101 GPIO header
CN601 M.2 Key E Connector SPI_CN1101 PWM header
CN701 MIPI-CSI Connector CN1101 SPI header
LVDS LVDS Connector LVDS_VDD_SLT LVDS power select select header
LVDS_BKLT_PWR LVDS Backlight Connector LVDS_BKLT_SLT LVDS Backlight power select header
BAT1 Battery Connector    

 

Rear I/O 

LED Function List 

Location Function
PD1405 +V5_MOD
PD1502 +V3.3
PD1503 +V5

 

Switch Settings 

 

接口引脚定義 (Connector Pin definitions)

机械尺寸  (Mechanical Characteristics)

ROM-2620

RTENOTITLE


快速入门 (Quick Start)

系统下载 (OS Download)

  • 'Linux系统 (Linux OS)'   

Yocto 4.0: IoTGateway/BSP/Linux/iMX8/OS Support List 4.0 release ROM-2620 - ESS-WIKI (advantech.com.tw)

Yocto 4.2: IoTGateway/BSP/Linux/iMX8/OS Support List 4.2 release ROM-2620 - ESS-WIKI (advantech.com.tw) 

 

 

Linux 燒錄方法 (Linux Flash eMMC Method)

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

Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system) 

RTENOTITLE

Step1: 創造一張可開機的SD 卡 (Create a bootable SD card)

Command :

~$ sudo dd if=2620A1AIM34LIVC0054_iMX8ULP_1G_flash_tool/image/imx-image-full-imx8ulprom2620a1-20230627062759.rootfs.wic of=/dev/sde bs=1M conv=fsync status=progress

RTENOTITLE

Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)

Step3: 確認開機選擇指撥開關

RTENOTITLE

EMMC boot: SW1301: 1_2_5_6 ON
SW1302: 4_6 ON
SD boot: SW1301: 1_2_3_4 ON
SW1302: 4_6 ON
Serial download: SW1301: All OFF
SW1302: 5_6 ON

Step4:打開電源 和 終端機 (Turn on the Power & Terminal)

RTENOTITLE

Step5: 複製flash tool到U盤中, 解壓縮flash tools檔案,(copy to USB Disk, then unzip the flash tools file)(Test with 32G SD card)

    複製檔案到U盤中 (Copy the flash file to USB Disk), 解壓縮flash tool到home目錄(Unzip the file to home)

  1. tar zxvf /run/media/New\ Volume-sda/2620A1AIM34LIVC0054_iMX8ULP_1G_flash_tool.tgz -C ~

RTENOTITLE

5. 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk0燒錄image到eMMC(Connect USB Disk to ROM-2620 system, extract the flash tool and browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk0"

解壓縮後如果沒有mksd-linux.sh檔案, 可以到以下連結下載並複製到mk_inand資料夾下(If there is no mksd-linux.sh file in mk_inand directory. Please download from the link below and place it in mk_inand directory:

mksd-linux.sh

ROM-2620 Device node
SD card /dev/mmcblk2
eMMC /dev/mmcblk0

RTENOTITLE

6. 切換開機switch來設定成從eMMC開機(Change boot switch to boot from eMMC. Reboot system).

     

Debug 串口調試 (Debug port Setting)

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

   Baud Rate波特率:115200
   Data 数据位:8
   Parity 奇偶校验:无
   Stop 停止位:1
   Flow Control流控:无

Tera Term Tool 

RTENOTITLE

RTENOTITLE

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

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

RTENOTITLE

Debug port connection (串口連接) 

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

RTENOTITLE

 

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

UUU 使用方法(USB Connection (OTG port))

Connect USB cable to USB OTG port.

Change boot switch to "SW1301 all OFF, SW1302: 5_6:on" to boot from force recovery mode.

 

Serial download: SW1301: All OFF
SW1302: 5_6 ON

RTENOTITLE

Download uuu tool from link below:

Releases · nxp-imx/mfgtools (github.com)

The uuu verison we tested is 1.4.193: uuu

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.193-0-ge56424c

Perpare uboot and image files below:

2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot.tgz
2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool.tgz

1. Download uuu

$ wget https://github.com/nxp-imx/mfgtools/releases/download/uuu_1.4.193/uuu
$ chmod a+x uuu
$ tar zxvf 2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot.tgz
$ tar zxvf 2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool.tgz

Type command below to flash eMMC:

$ sudo ./uuu -b emmc_all 2620A1AIM34LIVC0064_iMX8ULP_1G_imx-boot/imx-boot-imx8ulprom2620a1-1G.bin-flash_singleboot_m33 2620A1AIM34LIVC0064_iMX8ULP_1G_flash_tool/image/imx-image-full-imx8ulprom2620a1-20230901105531.rootfs.wic

RTENOTITLE

 

 

 

Display Setting (ROM-2620)

      U-boot Command :

  • Display
=> setenv fdtfile imx8ulp-rom2620-a1-lt9211.dtb
=> saveenv
=> boot

RTENOTITLE

 

 

Audio(Audio Testing Methid)

# cat /proc/asound/cards

0 [sgtl5000 ]: sgtl5000 - sgtl5000 
                sgtl5000

# amixer set Mic 50%
# amixer set Lineout 100%
# amixer set PCM 100%

Record and playback:

# arecord -t wav -c 2 -r 44100 -d 10 /tmp/mic.wav
# aplay /tmp/mic.wav

 

M.2 WiFi/BT測試方法(M.2 WiFi/BT Testing Method)

  • Test Wi-Fi with EWM-W167 on C0048 version: Change SD_SLT to 2-3
=> setenv fdtfile imx8ulp-rom2620-a1-m2-sdio.dtb
=> saveenv
=> boot

In Linux user space:

# iwconfig
# ifconfig wlan0 up
# iwlist wlan0 scan | grep ESSID
# killall wpa_supplicant
# ifconfig wlan0 up
# wpa_passphrase "Pilimao" "0913079939" > /tmp/wpa.conf
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
# udhcpc -b -i wlan0
# ping 8.8.8.8

Add name server: nameserver 8.8.8.8 in resolv.conf file

# vi /etc/resolv.conf
# ping google.com

Test BT:

# cd /opt/rtl8723bs_bt/
# ./start_bt.sh ttyLP0
# hciconfig hci0 up
# hciconfig
# bluetoothctl
# discoverable on
# pairable on
# scan on
# info 84:C5:A6:D3:AF:E4
# pair 84:C5:A6:D3:AF:E4
# connect 84:C5:A6:D3:AF:E4
# paired-devices
# disconnect 84:C5:A6:D3:AF:E4
# remove 84:C5:A6:D3:AF:E4
  • Test Wi-Fi with EWM-W194M201E Module (SDIO Interface)

Step 1: Press enter after boot. The system will stop at u-boot, and change dtb file by below command.

=> setenv fdtfile imx8ulp-rom2620-a1-m2-sdio-88w8997.dtb
=> saveenv
=> boot

Step 2: Install driver by below command.

# rmmod mwifiex_sdio mwifiex
# modprobe moal mod_para=nxp/wifi_mod_para.conf
# modprobe btnxpuart

Step 3: WIFI test command.

# ifconfig mlan0 up
# wpa_passphrase ASUS-917C qwert12345 > /tmp/wpa.conf
# wpa_supplicant -d -B -i mlan0 -c /tmp/wpa.conf
# udhcpc -i mlan0
  • Test Bluetooth with EWM-W194M201E Module (UART Interface)

Step 1: Please refer to above step 1.
Step 2: Please refer to above step 2.

Step 3: Bluetooth test command.

# 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

 

 

Serial Port測試方法(Serial Testing Method)(COM A/C)

COMA /dev/ttyLP0
COMB(M33 Domain)  
COMC /dev/ttyLP2
COMD /dev/ttyLP1
COME_DEBUG M33 debug port
  • RS-232 Loopback Test (eg. COMA: ttyLP0):

Step 1: First change ROM-ED91 SW1201 to ‘01’.
Step 2: Run test command.

# stty -F /dev/ttyLP0 speed 115200 -echo
# cat /dev/ttyLP0 &
# echo test > /dev/ttyLP0
  • RS-422 Test:

Step 1: First change ROM-ED91 SW1201 to ‘11’.
Step 2: Test RS-422 with Adam-4520. Connect Adam-4520 with COMA with DB9 as the following:

Adam-4520 RX- <-->ROM-2620 COMA DB9 Pin 1,
Adam-4520 RX+ <-->ROM-2620 COMA DB9 Pin 2,
Adam-4520 TX- <-->ROM-2620 COMA DB9 Pin 4,
Adam-4520 TX+ <--> ROM-2620 COMA DB9 Pin 3

Step 3: Run below command:

# stty -F /dev/ttyLP0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
# cat /dev/ttyLP0 &
# echo "Serial Test" > /dev/ttyLP0
  • RS-485 Test:

Step 1: First change ROM-ED91 SW1201 to ‘10’.
Step 2: Test RS-485 with Adam-4520. Connect Adam-4520 with COMA with DB9 as the following:

Adam-4520 Data- <-->ROM-2620 COMA DB9 Pin 1,
Adam-4520 Data+ <-->ROM-2620 COMA DB9 Pin 2

Step 3: Run below command:

# stty -F /dev/ttyLP0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
# cat /dev/ttyLP0 &
# echo "Serial Test" > /dev/ttyLP0

 

 

 

I2C測試方法(I2C Testing Method)

Step 1: Plug in ROM-EG70
Step 2: Test by below command (eg. I2C-6 I2C_1101):

# modprobe at24
# echo -n $'\x06\x05\x04\x03\x02\x01' > test
# dd if=test of=/sys/bus/i2c/devices/6-0050/eeprom
# hexdump -C /sys/bus/i2c/devices/6-0050/eeprom -n 64

 

 

USB測試方法(USB Testing Method)

USB disk test (USB 2.0)
Step 1: Issue the following command (lsusb -t) after inserting a USB disk into the USB 2.0 port to check if the USB device is listed. Step 2: 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)

Step 1: Set system time to current, then write to RTC

# date 021010452023 && hwclock -w && date

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

# date 010100002000 && hwclock -r && date

 

eMMC/SD測使方法(eMMC/SD Testing Method)

Device Routes
eMMC: /dev/mmcblk0 
SD: /dev/mmcblk2

Test (eg. emmc)

Step 1: Test command:

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

Command : ifconfig 

RTENOTITLE

Command: Ping - I eth1 8.8.8.8  or Ping - I eth0 8.8.8.8  

RTENOTITLE

 

 

GPIO使用方法(GPIO Operating Method)

GPIO pin:

GPIO1101 pin Pin Name CPU Ball Name GPIO number
1 GPIO_A_0 PTC0 416
2 GPIO_A_1 PTC1 417
3 GPIO_A_2 PTC2 418
4 GPIO_A_3 PTC3 419
5 GPIO_A_4 PTC4 420
6 GPIO_A_5 PTC12 428
7 GPIO_B_0 PTC18 434
8 GPIO_B_1 PTC19 435
9 GPIO_B_2 PTC20 436
10 GPIO_B_3 PTC21 437(Use for M2_SDIO_RST)
11 GPIO_B_4 PTC22 438(Use for M2_W_DISABLE2)
12 GPIO_B_5 PTC23 439(Use for M2_W_DISABLE1)
13 GPIO_B_6 PTB0 448
14 GPIO_B_7 PTB1 449
15 GPIO_C_0 PTD12 140
16 GPIO_C_1 PTD13 141
17 GPIO_C_2 PTF1 193
18 GPIO_C_3 PTF7 199(Use for LVDS_Bridge_RST)
19 PTB6 PTB6 454
20 PTA5 PTA5 485

GPIO Loopback Test (Using GPIO1 and GPIO2 as examples)

Step 1: Connect GPIO1 and GPIO2

Step 2: Export GPIO interface

# echo 416 > /sys/class/gpio/export
# echo 417 > /sys/class/gpio/export

Step 3: Set GPIO direction

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

Step 4: Read value and set output value than check

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

Camera使用方法(Camera Testing Method)

MIPI-CSI0 (Tested with OV5640 + mini-SAS to MIPI-CSI Cable): OV5640 CSI (CN701): Connect OV5640 camera to EG-55 CAM3

Step 1: Take pictures

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

Step 2: View on panel

# gplay-1.0 sample.jpeg

 

PWM測試方法(PWM Testing Method)

Please use oscilloscope to check waveform.

PWM1:

# echo 4 > /sys/class/pwm/pwmchip0/export
# echo 1000000 > /sys/class/pwm/pwmchip0/pwm4/period
# echo 500000 > /sys/class/pwm/pwmchip0/pwm4/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip0/pwm4/enable

PWM2:

# echo 5 > /sys/class/pwm/pwmchip6/export
# echo 1000000 > /sys/class/pwm/pwmchip6/pwm5/period
# echo 500000 > /sys/class/pwm/pwmchip6/pwm5/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip6/pwm5/enable

PWM3:

# echo 2 > /sys/class/pwm/pwmchip6/export
# echo 1000000 > /sys/class/pwm/pwmchip6/pwm2/period
# echo 500000 > /sys/class/pwm/pwmchip6/pwm2/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip6/pwm2/enable

PWM4:

# echo 3 > /sys/class/pwm/pwmchip6/export
# echo 1000000 > /sys/class/pwm/pwmchip6/pwm3/period
# echo 500000 > /sys/class/pwm/pwmchip6/pwm3/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip6/pwm3/enable

PWM5:

# echo 4 > /sys/class/pwm/pwmchip6/export
# echo 1000000 > /sys/class/pwm/pwmchip6/pwm4/period
# echo 500000 > /sys/class/pwm/pwmchip6/pwm4/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip6/pwm4/enable

 

M33 Function

We use default M-core firmware to verify each of IO feature. User should connect COME_DEBUG port to PC and there were show screen as demonstration below:

RTENOTITLE

Press C for test mode of CAN bus
Press Q for test mode of QSPI
Press M for test mode of LPSPI master
Press S for test mode of LPSPI slave
Press U for test mode of LPUART
About this firmware, user should note that if you want to switch to another test mode, you must reboot the system.

 

 

CAN Bus

Step 1: Prepare two pcs rom-2620. One for ‘Node A’ one for ‘Node B’
Step 2: Connect these two boards (HI-HI/LO-LO)
Step 3: The test steps and screen are as below :

RTENOTITLE

Step 4: Follow the figure (step1 - step4). If B node received data means test successful.

 

QSPI

Step 1: After select the test mode ‘Q’ to verify QSPI, you will see below screen.

RTENOTITLE

Step 2: This test program will perform QSPI erase/write automatically and show ‘successfully’ when it’s done.
Step 3: User can press any key to run again.

 

 

LPSPI

Step 1: Two pcs rom-2620. One for ‘Master’ one for ‘Slave’.
Step 2: Connection with these two boards by SPI Bus as below:

LPSPI3_PCS0 -- LPSPI3_PCS0
LPSPI3_GND -- LPSPI3_GND
LPSPI3_PCS1 -- LPSPI3_PCS1
LPSPI3_SCK -- LPSPI3_SCK
LPSPI3_SOUT -- LPSPI3_SIN
LPSPI3_SIN -- LPSPI3_SOUT

Step 3: One board select mode ‘M’ to be Master.
Step 4: The second board is specified to Slave by select mode ‘S’.
Step 5: The test screen as below:

RTENOTITLE

Step 6: Press any key at terminal of node master, it will execute the test again.

 

LPUART

Step 1: Change ROM-ED91 SW1203 to '01'.
Step 2: Connect COM-B and COM-E to PC.
Step 3: Set RTS/CTS flow control for COM-B in Putty.exe

RTENOTITLE

Step 4: After select the test mode ‘U’ to verify LPUART2, you will see below screen.

RTENOTITLE

Step 5: If tester can input any characters/strings and show that at COM-B means test successful.

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

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

        Command : ifconfig

 

SSH访问及文件传输

SSH Remote Log into Device 

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

RTENOTITLE

通用方法(General Method)

查看CPU温度(Check CPU Temperature)

root@imx8ulprom2620a1:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp
37000 

查看内存容量(Check Memory Capacity)

root@imx8ulprom2620a1:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           895Mi       230Mi       469Mi        29Mi       195Mi       546Mi
Swap:             0B          0B          0B
root@imx8ulprom2620a1:~#

查看存储容量(Check Storage Capacity)

root@imx8ulprom2620a1:~# df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/root      ext4       15G  3.9G  9.5G  30% /
devtmpfs       devtmpfs  431M  4.0K  431M   1% /dev
tmpfs          tmpfs     448M     0  448M   0% /dev/shm
tmpfs          tmpfs     180M   20M  160M  11% /run
tmpfs          tmpfs     4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs          tmpfs     448M   76K  448M   1% /tmp
tmpfs          tmpfs     448M  1.5M  447M   1% /var/volatile
tmpfs          tmpfs      90M  4.0K   90M   1% /run/user/0
/dev/mmcblk0p1 vfat       84M   32M   52M  38% /run/media/boot-mmcblk0p1
/dev/mmcblk2p2 ext4       29G   11G   17G  40% /run/media/root-mmcblk2p2
/dev/mmcblk2p1 vfat       84M   32M   52M  38% /run/media/boot-mmcblk2p1
root@imx8ulprom2620a1:~#

 

設置RTC (RTC Setting) 

root@imx8ulprom2620a1:~# systemctl stop ntpdate.service
root@imx8ulprom2620a1:~# date 090816072021 && hwclock -w && date
Wed Sep  8 16:07:00 UTC 2021
Wed Mar  6 04:31:37 UTC 2024
root@imx8ulprom2620a1:~# date
Wed Mar  6 04:31:44 UTC 2024
root@imx8ulprom2620a1:~#

 

查看系統時間 (Check the system) 

root@imx8ulprom2620a1:/# timedatectl
[   41.402592] kauditd_printk_skb: 6 callbacks suppressed
[   41.402611] audit: type=1334 audit(45.332:16): prog-id=15 op=LOAD
[   41.417884] audit: type=1334 audit(45.344:17): prog-id=16 op=LOAD
               Local time: Thu 1970-01-01 00:00:46 UTC
           Universal time: Thu 1970-01-01 00:00:46 UTC      
                 RTC time: Thu 1970-01-01 00:00:45            <-----  Real-Time Clock,RTC 
                Time zone: Universal (UTC, +0000)              <------ Time zone 目前
System clock synchronized: no
              NTP service: active
              RTC in local TZ: no         

Note : 

Change Time Zone  

<code data-highlighted="yes">sudo timedatectl set-timezone "Asia/Taipei"
</code>

           Local time: Fri 2024-05-03 09:07:42 CST
           Universal time: Fri 2024-05-03 01:07:42 UTC
                RTC time: Fri 2024-05-03 09:07:42
                Time zone: Asia/Taipei (CST, +0800)
System clock synchronized: yes
              NTP service: active
              RTC in local TZ: yes

Time Zone List 

 

$ sudo timedatectl list-timezones

Africa/Abidjan

Africa/Accra

Africa/Addis_Ababa

Africa/Algiers

Africa/Asmara

Africa/Bamako

Africa/Bangui

Africa/Banjul

Africa/Bissau

Africa/Blantyre

Africa/Brazzaville

Africa/Bujumbura

Africa/Cairo

Africa/Casablanca

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

Yocto 4.2

Yocto 4.0