Difference between revisions of "ROM-2860 windowsonarm user guide"

From ESS-WIKI
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{DISPLAYTITLE:ROM-2860 WOA user guide}}
{{DISPLAYTITLE:EPC-R2860}}
 
  
 
== '''產品介紹(Product introduction )''' ==
 
== '''產品介紹(Product introduction )''' ==
Line 16: Line 15:
 
=== '''產品官網連結(Product official website link)''' ===
 
=== '''產品官網連結(Product official website link)''' ===
  
''' '''
+
''' TBD'''
  
 
 
 
 
Line 24: Line 23:
 
=== '''接口布局和尺寸(Layout and Sizes)''' ===
 
=== '''接口布局和尺寸(Layout and Sizes)''' ===
  
=== '''RSB-3810 接口布局圖 Board Dimension Layout''' ===
+
=== '''EPC-R2860 接口布局圖 Board Dimension Layout''' ===
 
 
[[File:RSB-3810-connector1.png|RTENOTITLE]]
 
 
 
[[File:RSB-3810-connector2.png|RTENOTITLE]]
 
 
 
Jumper list:
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
|   Connectot list:
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
|  
 
=== '''接口引脚定義 (Pin definitions)''' ===
 
 
 
*[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-BAT1.png BAT (RTC Battery CONN.)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-BL1.png BL1 (LVDS Backlight 1)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-COM1.png COM1 (Debug Console + RS232/RS485)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-CSI0.png CSI0 (MIPI-CSI Camera Input 0)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-CSI1.png CSI1 (MIPI-CSI Camera Input 1)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-CSI2.png CSI2 (MIPI-CSI Camera Input 2)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-DCIN.png DCIN (12V DC Jack)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-DCIN.png DCIN1 (12V DC-IN Pin Header)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-HDMI.png HDMI (HDMI CONN.)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-LAN.png LAN (Ethernet eth0+eth1)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-LOUT.png LOUT (Line Out Pin Header)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-LVDS0_1.png LVDS0 (LVDS channel 0)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-LVDS1_1.png LVDS1 (LVDS channel 1)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-M2.png M2 (M.2 Key E CONN.)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-MIC.png MIC (MIC In Pin Header)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-M2B.png M2B (M.2 keyB CONN.)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-RST.png RST (Reset Button)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-SD.png SD (SD Slot)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-SIM.png SIM (SIM Slot)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-UIO1.png UIO1 (UIO40-Express Pin Header 1)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-UIO2.png UIO2 (UIO40-Express Pin Header 2)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-USB1.png USB 1 (USB 3.2 Gen 1 on TOP + USB 2.0 on BOT)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-DL_KEY.png DL_KEY(Download Key)]&nbsp;<br/> *[http://ess-wiki.advantech.com.tw/view/File:RSB-3810-LED.png LED]&nbsp;
 
 
 
=== '''机械尺寸 ('''Mechanical Characteristics) ===
 
 
 
[[File:RSB-3810-dimension.png|RTENOTITLE]]
 
  
 
&nbsp;
 
&nbsp;
  
&nbsp;
+
== '''快速入門&nbsp;(Quick Start)''' ==
 
 
----
 
 
 
== '''快速入门 (Quick Start)''' ==
 
  
 
=== '''系统下载 (OS Download)''' ===
 
=== '''系统下载 (OS Download)''' ===
  
[https://advantecho365-my.sharepoint.com/:f:/g/personal/jems_cheng_advantech_com/El-qVcFLmBZBhM57lbsbZZQBsZPbzkkj2Y6iXMS1zHIg5g?e=RdTHtd Ubuntu recovery image]
+
'''&nbsp; &nbsp;TBD'''
 
 
&nbsp;
 
 
 
=== '''Debug port 連接與設定(Debug Port Connection and Setting)''' ===
 
 
 
1. RSB-3810 debug port is shared with COM1. Please connect the debug console cable 1700034345-01 & 1700019474. Then connect the USB-to-RS232 Cable to your PC terminal. Connect the cable to COM1 pin header to the nearby the HDMI connector.
 
 
 
[[File:RSB-3810-Debug cable.png|RTENOTITLE]]
 
 
 
2.&nbsp;RSB-3810 can communicate with a host server using serial cables. Common serial communication programs such as HyperTerminal, Tera Term or PuTTY can be used in such applications. The example demonstrated below describes the serial terminal setup using Tera Term on a Windows host: Open Tera Term on your Windows PC, set the Baud rate to 921600.
 
 
 
&nbsp;
 
  
 
=== '''燒錄方法 (Flash eMMC Method)''' ===
 
=== '''燒錄方法 (Flash eMMC Method)''' ===
  
Recovery Ubuntu:
+
&nbsp;ROM-2860 Windows installation method
 
 
Prepare:
 
 
 
#<span lang="EN-US" style="color:#1f497d">Prepare a </span><span lang="EN-US" style="color:red">Ubuntu 22.04</span><span lang="EN-US" style="color:#1f497d">&nbsp;recovery image.</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">Follow the link&nbsp;to install the MediaTek flash tool “[https://apc01.safelinks.protection.outlook.com/?url=https://mediatek.gitlab.io/aiot/doc/aiot-dev-guide/master/sw/yocto/get-started/env-setup/flash-env-linux.html&data=05|01|Jems.Cheng@advantech.com.tw|71544e779cc64d8cf9aa08dbf2bcbeeb|a77d40d9dcba4ddab5715f18e6da853f|0|0|638370664712054872|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0=|3000|||&sdata=D1P3sUeW5epqUT0nJq2MSej8AwP3RmBeSrVjVdWFRL4=&reserved=0 genio-tools]&nbsp;on a Ubuntu 22.04&nbsp;x86 PC.</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">USB typeA to typeA cable</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">USB typeA port, download and reset button information (screenshot below mark by color red)</span>&nbsp;
 
 
 
[[File:RSB-3810-TypeA.png.jpg|RTENOTITLE]][[File:RSB-3810-download-reset.png|400px|RSB-3810-download-reset.png]]
 
 
 
Flash steps:
 
 
 
#<span lang="EN-US" style="color:#1f497d">To connect USB typeA to typeA cable to the host computert and the RSB-3810&nbsp;typeA port</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">To extract the Ubuntu recovery image:</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">cd recovery package</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">Run "genio-flash"</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">Turn the RSB-3810&nbsp;board power on</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">press Download button and hold it</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">Press and release the reset button</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">Release the Download button after the tool outputs "< waiting for any device >"</span>&nbsp;<br/> #<span lang="EN-US" style="color:#1f497d">The flash tool will continue to flash recovery image.</span>&nbsp;
 
  
[[File:RSB-3810U-genio-flash.png|400px|RSB-3810U-genio-flash.png]][[File:RSB-3810U-download-reset.png|400px|RSB-3810U-download-reset.png]]
+
#Prepare a windows PC, Installed 7zip.
 +
#Use 7z decompress rom2860_image_ADV0.5.5.7z (Password is 12345678)
 +
#Install QUD.WIN.1.1 Installer_10065.1 1.zip
 +
#Use micro USB cable downing image to ROM-2860.  
  
[[File:RSB-3810U-release-download.png|400px|RSB-3810U-release-download.png]][[File:RSB-3810U-flash-successfully.png|400px|RSB-3810U-flash-successfully.png]]
+
[[File:ROM-2860 win 1.PNG|RTENOTITLE]]
  
== '''Linux系统的基本使用(Linux System Basic Operating Method)''' ==
+
5.Turn off the power, Change ROM-2860 SW2 to 1 on and 2 on for download mode, then turn on the power.
=== '''I2C Setting (RSB-3810)''' === <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''Step 1: install required software<br/> sudo apt update<br/> sudo apt install i2c-tools'''</div> <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''Step 2: check if the devices are on the specified bus<br/> sudo i2cdetect -y -r 4'''</div> &nbsp;<br/> '''[[File:RSB-3810U-I2C.png|RTENOTITLE]]'''
 
&nbsp;
 
  
=== '''Display Setting (RSB-3810)''' ===
+
6.Then Press SW4 button.
  
'''HDMI TX:'''
+
[[File:ROM-2860 win 2.PNG|RTENOTITLE]]
Single Display HDMI (default)<br/> u-boot: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">setenv DISPLAY hdmi.dtbo<br/> saveenv<br/> reset</div> &nbsp;<br/> Dual Channel LVDS panel G215HVN0<br/> u-boot: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">setenv DISPLAY lvds0.dtbo<br/> saveenv<br/> reset</div> &nbsp;<br/> ubuntu: (root permission) <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">sudo i2cset -f -y 2 0x20 0x81 0x0b b<br/> sudo i2cset -f -y 2 0x20 0x84 0x01 b<br/> sudo i2cset -f -y 2 0x20 0x85 0x00 b<br/> sudo i2cset -f -y 2 0x20 0xe8 0x01 0x78 0x45 0x56 i<br/> sudo reboot</div> &nbsp;<br/> Single Channel LVDS panel G070VW01<br/> u-boot: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">setenv DISPLAY lvds2.dtbo<br/> saveenv<br/> reset</div> &nbsp;<br/> ubuntu: (root permission) <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">sudo i2cset -f -y 2 0x20 0x81 0x00 b<br/> sudo i2cset -f -y 2 0x20 0x84 0x05 b<br/> sudo i2cset -f -y 2 0x20 0x85 0x02 b<br/> sudo i2cset -f -y 2 0x20 0xe8 0x01 0x78 0x45 0x56 i<br/> sudo reboot</div> &nbsp;<br/> Dual Display HDMI + Dual Channel LVDS panel G215HVN0<br/> u-boot: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">setenv DISPLAY hdmi.dtbo lvds0.dtbo<br/> saveenv<br/> reset</div> &nbsp;<br/> ubuntu: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">sudo i2cset -f -y 2 0x20 0x81 0x0b b<br/> sudo i2cset -f -y 2 0x20 0x84 0x01 b<br/> sudo i2cset -f -y 2 0x20 0x85 0x00 b<br/> sudo i2cset -f -y 2 0x20 0xe8 0x01 0x78 0x45 0x56 i<br/> sudo reboot</div> &nbsp;<br/> HDMI + Single Channel LVDS panel G070VW01<br/> u-boot: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">setenv DISPLAY hdmi.dtbo lvds2.dtbo<br/> saveenv<br/> reset</div> &nbsp;<br/> ubuntu: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">sudo i2cset -f -y 2 0x20 0x81 0x00 b<br/> sudo i2cset -f -y 2 0x20 0x84 0x05 b<br/> sudo i2cset -f -y 2 0x20 0x85 0x02 b<br/> sudo i2cset -f -y 2 0x20 0xe8 0x01 0x78 0x45 0x56 i<br/> sudo reboot</div> &nbsp;<br/> &nbsp;
 
=== Audio使用方法(Audio Testing Method): ===
 
HDMI Audio <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">TX: Setting-->Sound-->Output Device: HDMI/DP output - Build-in Audio-->Test</div> &nbsp;<br/> Line-Out/Speaker <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">TX: Setting-->Sound-->Output Device: Earphone speaker - Build-in Audio-->Test</div> &nbsp;<br/> Mic-In <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">sudo add-apt-repository ppa:audio-recorder/ppa<br/> sudo add-apt-repository ppa:ubuntuhandbook1/audio-recorder<br/> sudo apt install audio-recorder</div> &nbsp;<br/> Source: Build-in Audio Earphone microphone +
 
&nbsp;
 
  
=== '''M.2使用方法(M.2 Testing Method):&nbsp;''' ===
+
7.You can see QDloader (COMXX) in Device manager(In your laptop or PC)
  
'''KeyE:'''
+
[[File:ROM-2860 win 3.PNG|RTENOTITLE]]
PCIe 3.0 <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">lspci # WIFI</div> &nbsp;<br/> USB 2.0 <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">lsusb # Bluetooth<br/> sudo cat /sys/kernel/debug/usb/devices</div> &nbsp;<br/> '''KeyB:''' USB 3.0 <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">lsusb # 5G</div> &nbsp;<br/> *WiFi&nbsp; Setting-->Network <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">ifconfig<br/> ping -c4 8.8.8.8</div> &nbsp;<br/> *Bluetooth&nbsp;
 
Setting-->Bluetooth
 
  
*5G&nbsp; <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">mmcli --list-modems<br/> mmcli -m 0</div> &nbsp;<br/> &nbsp;
+
8. Execute burnimage.bat COMXX<br/> <br/> [[File:ROM-2860 win 4.PNG|RTENOTITLE]]
  
=== '''Serial port使用方法(Serial port Testing Method):''' ===
+
Note: When you execute the bat file . need to “press any key” by three time (you can ignore the message
  
'''Use the on-board UART (/dev/ttyS2) as example'''
+
9. Need to wait 1 or 2 hours (depend on your pc )<br/> [[File:ROM-2860 win 5.PNG|RTENOTITLE]]
 
 
*'''RS-232 Loopback Test:'''&nbsp;
 
 
 
1. Setting:
 
 
 
sudo bash -c "<br/> echo 328 > /sys/class/gpio/export 2> /dev/null<br/> echo 327 > /sys/class/gpio/export 2> /dev/null<br/> echo out > /sys/class/gpio/gpio328/direction<br/> echo out > /sys/class/gpio/gpio327/direction<br/> # default settings<br/> echo 1 > /sys/class/gpio/gpio328/value<br/> echo 0 > /sys/class/gpio/gpio327/value<br/> "
 
2. Test: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">#&nbsp;sudo stty -F /dev/ttyS2 -echo -onlcr 115200 raw<br/> #&nbsp;echo "RS-232 test" &#124; sudo tee /dev/ttyS2 > /dev/null</div> &nbsp;<br/> *'''RS-422 Test:'''&nbsp;
 
1. Setting:
 
 
 
Adam-4520 RX- <--> DB9 Pin 1<br/> Adam-4520 RX+ <--> DB9 Pin 2<br/> Adam-4520 TX- <--> DB9 Pin 4<br/> Adam-4520 TX+ <--> DB9 Pin 3
 
 
 
sudo bash -c "<br/> echo 328 > /sys/class/gpio/export 2> /dev/null<br/> echo 327 > /sys/class/gpio/export 2> /dev/null<br/> echo out > /sys/class/gpio/gpio328/direction<br/> echo out > /sys/class/gpio/gpio327/direction<br/> echo 1 > /sys/class/gpio/gpio328/value<br/> echo 1 > /sys/class/gpio/gpio327/value<br/> "
 
2. Test: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># sudo stty -F /dev/ttyS2 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke&nbsp;<br/> # echo "RS-422 Test" > /dev/ttyS2</div> &nbsp;<br/> *'''RS-485 Test:'''&nbsp;
 
1. Setting:<br/> Adam-4520 Data- <--> DB9 Pin 1<br/> Adam-4520 Data+ <--> DB9 Pin 2
 
 
 
sudo bash -c "<br/> echo 328 > /sys/class/gpio/export 2> /dev/null<br/> echo 327 > /sys/class/gpio/export 2> /dev/null<br/> echo out > /sys/class/gpio/gpio328/direction<br/> echo out > /sys/class/gpio/gpio327/direction<br/> echo 0 > /sys/class/gpio/gpio328/value<br/> echo 1 > /sys/class/gpio/gpio327/value<br/> "
 
2. Test: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># sudo stty -F /dev/ttyS2 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke&nbsp;<br/> # echo "RS-485 Test" > /dev/ttyS2</div> &nbsp;<br/> === '''I2C使用方法(I2C Test Method):''' ===
 
Step 1: Check i2c device
 
 
 
Step 2: I2c set and get
 
 
 
console:/ # i2cdetect -y -a 4
 
 
 
&nbsp;
 
 
 
=== '''USB:&nbsp;USB disk test (USB 2.0/ USB 3.2 Gen 1 By 1 port)''' ===
 
check if the USB device is mount automatically <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># lsblk</div> &nbsp;<br/> [[File:RSB-3810U-USB.png|RTENOTITLE]] <span style="text-autospace:none">if USB device is not mount automatically</span> <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># use /dev/sda1 as example<br/> # sudo mkdir -p /mnt/tmp<br/> # sudo mount /dev/sda1 /mnt/tmp</div> &nbsp;<br/> &nbsp;
 
&nbsp;
 
 
 
=== '''RTC使用方法(RTC Test Method):''' ===
 
Step 1: Set system time to current, then write to RTC <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 113009362023 && hwclock -w && date</div> &nbsp;<br/> Step 2: Set one incorrect time, then read time from RTC to verify <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 113009362023 && hwclock -r</div> &nbsp;<br/> Step 3: Restore the RTC time to system time <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># date 113009362023 && hwclock -r</div> &nbsp;<br/> &nbsp;
 
=== '''eMMC/SD/SPI flash使用方法(eMMC/SD/SPI flash Testing Method):''' ===
 
SD <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">lsusb -t # get correct device node, use /dev/mmcblk1p1 as example<br/> sudo mkdir -p /mnt/tmp<br/> sudo mount /dev/ mmcblk1p1 /mnt/tmp</div> &nbsp;<br/> eMMC<br/> Ubuntu OS here
 
=== '''Ethernet使用方法(Ethernet Testing Method):''' ===
 
Step 1: Check the Ethernet device <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ifconfig</div> &nbsp;<br/> [[File:RSB-3810U-ifconfig.png|RTENOTITLE]] Step 2: Connect the cable and ping test (eg. Eth0) <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># ping -c4 8.8.8.8</div> &nbsp;<br/> [[File:RSB-3810U-ping.png|RTENOTITLE]]  
 
&nbsp;
 
 
 
=== '''GPIO使用方法(GPIO Testing Method):''' ===
 
 
 
*'''GPIO Pins:'''&nbsp;
 
 
 
UIO Extension 1(UIO1):
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| UIO Extension2 (UIO2):
 
*'''GPIO Loopback Test (Using GPIO2 and GPIO4 as examples):'''&nbsp;
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| Step 1: Connect GPIO2 and GPIO4<br/> Step 2: Export GPIO interface
 
#echo 315 > /sys/class/gpio/export<br/> # echo 316 > /sys/class/gpio/export&nbsp;
 
 
 
Step 3: Set GPIO direction
 
 
 
#echo out > /sys/class/gpio/gpio1/direction<br/> # echo in > /sys/class/gpio/gpio2/direction&nbsp;
 
 
 
Step 4: Read value and set output value than check
 
 
 
#cat /sys/class/gpio/gpio2/value 0<br/> # echo 1 > /sys/class/gpio/gpio1/value<br/> # cat /sys/class/gpio/gpio2/value<br/> 1&nbsp;
 
 
 
&nbsp;
 
 
 
=== '''Watchdog使用方法(Watchdog Testing Method):''' ===
 
 
 
'''[[File:RSB-3810U-WDT.png|RTENOTITLE]]'''
 
 
 
*'''Internal Watchdog:'''&nbsp;
 
System will reboot after 30 sec <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 1 &#124; sudo tee /dev/watchdog # or /dev/watchdog0</div> &nbsp;<br/> *'''External Watchdog:'''&nbsp; System will reboot after 60 sec <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 1 &#124; sudo tee /dev/watchdog1</div> &nbsp;<br/> === '''LED ON/OFF 使用方法(LED ONOFF Testing Method):''' === LED ON: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 255 &#124; sudo tee /sys/class/leds/user/brightness</div> &nbsp;<br/> LED OFF: <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;"># echo 0 &#124; sudo tee /sys/class/leds/user/brightness</div> &nbsp;<br/> &nbsp;
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
=== '''UIO-4030使用方法(UIO-4030 Testing Method):''' ===
 
 
 
'''Switch to root: $ sudo su'''
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| (Note: gpio 323 & gpio 324 need to set the gpio 345 to high) &nbsp;
 
{| border="1" cellpadding="1" cellspacing="1" style=""
 
|-
 
| &nbsp;
 
=== '''UIO-4032使用方法(UIO-4032 Testing Method):''' ===
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| COM_3:ttyS3 COM_4:ttyS1
 
|-
 
| -<br/> &#124; # stty -F /dev/ttyS1 -echo -onlcr 921600 raw # cat /dev/ttyS1 &<br/> # echo "Serial Port Test" > /dev/ttyS1<br/> or<br/> # microcom -s 921600 -X /dev/ttyS1<br/> &#124;-<br/> &#124; 2<br/> &#124; USB<br/> &#124; USB disk write/read/verify pattern<br/> &#124;-<br/> &#124; 3<br/> &#124; Ethernet<br/> &#124; # ifconfig<br/> # ping 8.8.8.8<br/> &#124;-<br/> &#124; 4<br/> &#124; EEPROM<br/> &#124; # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1<br/> # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom<br/> # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync<br/> &#124;}
 
&nbsp;
 
 
 
=== '''UIO-4034使用方法(UIO-4034 Testing Method):''' ===
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| COM_3:ttyS3 COM_4:ttyS1
 
|-
 
| -<br/> &#124; $ stty -F /dev/ttyS1 -echo -onlcr 921600 raw<br/> $ cat /dev/ttyS1 &<br/> $ echo "Serial Port Test" > /dev/ttyS1<br/> or<br/> $ microcom -s 921600 -X /dev/ttyS1<br/> &#124;-<br/> &#124; 2<br/> &#124; CAN Bus<br/> &#124;&nbsp;<br/> NA
 
|-
 
| &nbsp; &nbsp;
 
=== '''UIO-4036使用方法(UIO-4036 Testing Method):''' ===
 
 
 
'''(Note:&nbsp;Please contact Advantech to get the kernel packages for enabling&nbsp;the UIO-4036 Ethernet switch)'''
 
 
 
[[UIO-4036_hardware_enabled:]]
 
 
 
=== '''UIO-4038使用方法(UIO-4038 Testing Method):''' ===
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| &nbsp; &nbsp;
 
=== '''UIO-4040使用方法(UIO-4040 Testing Method):''' ===
 
 
 
{| border="1" cellpadding="1" cellspacing=""
 
|-
 
| Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors<br/> Disk model: UIO-4040<br/> Units: sectors of 1 * 512 = 512 bytes<br/> Sector size (logical/physical): 512 bytes / 512 bytes<br/> I/O size (minimum/optimal): 512 bytes / 512 bytes &nbsp; &nbsp; &nbsp; &nbsp;
 
=== '''安裝AI SDK使用方法(Install AI SDK):''' ===
 
 
 
'''Install AI SDK'''
 
 
 
[https://mediatek.gitlab.io/genio/doc/ubuntu/bsp-installation.html Install Genio Hardware Support Packages]
 
 
 
[https://mediatek.gitlab.io/genio/doc/ubuntu/bsp-installation/neuropilot.html AI Processor Drivers]
 
 
 
[https://mediatek.gitlab.io/aiot/doc/aiot-dev-guide/master/sw/yocto/app-dev/hdmirx/hdmirx.html HDMI-RX]
 
Install Mediatek hdmirx-tool: <pre>$ sudo apt-add-repository ppa:mediatek-genio/genio-public<br/> $ sudo apt install mediatek-apusys-firmware-genio1200<br/> $ sudo apt install mediatek-hdmirx-tool</pre>
 
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
== '''通用方法(General Method)''' ==
 
=== '''讀取溫度(Read Thermal):''' === <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''$ i=0&nbsp;; while [[$i_-lt_18|$i -lt 18]]&nbsp;; do (type=`cat /sys/class/thermal/thermal_zone$i/type`&nbsp;; temp=`cat /sys/class/thermal/thermal_zone$i/temp`&nbsp;; echo "$i $type&nbsp;: $temp"); i=$((i+1));done&nbsp;; sleep 0.1;'''</div> &nbsp;<br/> '''loop:''' <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">'''$ while; do i=0&nbsp;; while [[$i_-lt_18|$i -lt 18]]&nbsp;; do (type=`cat /sys/class/thermal/thermal_zone$i/type`&nbsp;; temp=`cat /sys/class/thermal/thermal_zone$i/temp`&nbsp;; echo "$i $type&nbsp;: $temp"); i=$((i+1));done&nbsp;; sleep 0.1; done'''</div> &nbsp;<br/> *<span lang="EN-US" style="font-family:"><span style="color:#1f497d">thermal_zone0</span></span><span style="font-family:"><span style="color:#1f497d">通常會是</span></span><span lang="EN-US" style="font-family:"><span style="color:#1f497d">soc_max&nbsp;:</span></span><span style="font-family:"><span style="color:#1f497d">會取</span></span><span lang="EN-US" style="font-family:"><span style="color:#1f497d">soc</span></span><span style="font-family:"><span style="color:#1f497d">內部最高的溫度當作數值(Use the highest thermal in the SOC)</span></span>&nbsp;<br/> *<span lang="EN-US" style="font-family:"><span style="color:#1f497d">cpu_big1-4</span></span><span style="font-family:"><span style="color:#1f497d">對應的就會是</span></span><span lang="EN-US" style=""><span style="color: rgb(31, 73, 125);"><font face="Century Gothic, sans-serif">A78 (</font><font face="微軟正黑體, sans-serif"><span style="font-style: normal;">Should&nbsp;</span></font></span></span><span lang="EN-US" style="font-family:"><span style="color:#1f497d">A78 1-4 core)<u5:p></u5:p></span></span>&nbsp;<br/> *<span lang="EN-US" style="font-family:"><span style="color:#1f497d">cpu_little1-4</span></span><span style="font-family:"><span style="color:#1f497d">對應的就會是</span></span><span lang="EN-US" style="font-family:"><span style="color:#1f497d">A55 (Should A55 1~4 core)<u5:p></u5:p></span></span>&nbsp;
 
&nbsp;
 
  
== '''BSP編譯方法(BSP Compile Method)''' ==
+
10.&nbsp;If the process fails, it will display the error screen (red screen).<br/> <br/> [[File:ROM-2860 win 6.PNG|RTENOTITLE]]
  
'''NA'''<br/> &nbsp;
+
11.If the process successes , it will show “ the operation completed successfully” , then turn off the power&nbsp;
  
|}
+
[[File:ROM-2860 win 7.PNG|RTENOTITLE]]
  
|-
+
12. Disconnect with ROM-2860<br/> [[File:ROM-2860 win 8.PNG|RTENOTITLE]]
| &nbsp;
 
|}
 
  
{| border="1" cellpadding="1" cellspacing=""
+
13.&nbsp;Change Switch to 1 off 2 on , then turn on the power
|-
 
| &nbsp;
 
|}
 
  
|}
+
[[File:ROM-2860 win 9.PNG|RTENOTITLE]]
  
|}
+
14.&nbsp;Re-plug the power.<br/> &nbsp;[[File:ROM-2860 win 10.PNG|RTENOTITLE]]
  
|-
+
15.&nbsp;After turn the power , press SW4
| &nbsp;
 
|}
 
  
|}
+
[[File:ROM-2860 win 11.PNG|RTENOTITLE]]
  
|-
+
16.&nbsp;Connect with HDMI or DP , Its start to boot up from windows OS.
| &nbsp;
 
|}
 
  
|-
+
[[File:ROM-2860 win 12.PNG]]
| &nbsp;
 
|}
 
  
|-
+
[[File:ROM-2860 win 13.PNG]]
| &nbsp;
 
|}
 
  
|-
+
[[File:ROM-2860 win 14.PNG]]
| &nbsp;
 
|}
 

Latest revision as of 05:58, 12 December 2024


產品介紹(Product introduction )

產品特性(Product Features)

  • Qualcomm 8 Kryo cores up to 2.7GHz
  • Onboard LPDDR5 8GB, 8533MT/s memory
  • Onboard 128GB UFS and 128GB eMMC
  • 1x 2ch. LVDS, 1x DP and 1x HDMI for displays
  • 2x USB3.2 Gen1, 2x USB2.0, 2x PCIe Gen3.0 x1, 2x 4wire UART, 1x SPI,16x GPIO, 1x I2C, 2x MIPI-CSI x4
  • 1x Micro SD and 1x Nano SIM
  • Support Windows 11 IoT Enterprise

產品官網連結(Product official website link)

 TBD

 

硬件接口說明(Hardware interface introduction)

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

EPC-R2860 接口布局圖 Board Dimension Layout

 

快速入門 (Quick Start)

系统下载 (OS Download)

   TBD

燒錄方法 (Flash eMMC Method)

 ROM-2860 Windows installation method

  1. Prepare a windows PC, Installed 7zip.
  2. Use 7z decompress rom2860_image_ADV0.5.5.7z (Password is 12345678)
  3. Install QUD.WIN.1.1 Installer_10065.1 1.zip
  4. Use micro USB cable downing image to ROM-2860.

RTENOTITLE

5.Turn off the power, Change ROM-2860 SW2 to 1 on and 2 on for download mode, then turn on the power.

6.Then Press SW4 button.

RTENOTITLE

7.You can see QDloader (COMXX) in Device manager(In your laptop or PC)

RTENOTITLE

8. Execute burnimage.bat COMXX

RTENOTITLE

Note: When you execute the bat file . need to “press any key” by three time (you can ignore the message

9. Need to wait 1 or 2 hours (depend on your pc )
RTENOTITLE

10. If the process fails, it will display the error screen (red screen).

RTENOTITLE

11.If the process successes , it will show “ the operation completed successfully” , then turn off the power 

RTENOTITLE

12. Disconnect with ROM-2860
RTENOTITLE

13. Change Switch to 1 off 2 on , then turn on the power

RTENOTITLE

14. Re-plug the power.
 RTENOTITLE

15. After turn the power , press SW4

RTENOTITLE

16. Connect with HDMI or DP , Its start to boot up from windows OS.

ROM-2860 win 12.PNG

ROM-2860 win 13.PNG

ROM-2860 win 14.PNG