MB:2NOR01

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(How to Test M113A(SMBUS)+CIO116(B version))
(How to Test M113A(SMBUS)+CIO116(B version))
Line 167: Line 167:
CIO1 i2c command Test
CIO1 i2c command Test
i2cset -y 1 0x37 0x20 0xf0
i2cset -y 1 0x37 0x20 0xf0
 +
i2cset -y 1 0x37 0x21 0xf0
i2cset -y 1 0x37 0x21 0xf0
 +
i2cset -y 1 0x37 0x2b 0xf0
i2cset -y 1 0x37 0x2b 0xf0
 +
i2cget -y 1 0x37 0x22
i2cget -y 1 0x37 0x22
CIO2 i2c command Test
CIO2 i2c command Test
i2cset -y 1 0x37 0x30 0xf0
i2cset -y 1 0x37 0x30 0xf0
 +
i2cset -y 1 0x37 0x31 0xf0
i2cset -y 1 0x37 0x31 0xf0
 +
i2cset -y 1 0x37 0x3b 0xf0
i2cset -y 1 0x37 0x3b 0xf0
 +
i2cget -y 1 0x37 0x32
i2cget -y 1 0x37 0x32
CIO3 i2c command Test
CIO3 i2c command Test
 +
i2cset -y 1 0x37 0x40 0xf0
i2cset -y 1 0x37 0x40 0xf0
 +
i2cset -y 1 0x37 0x41 0xf0
i2cset -y 1 0x37 0x41 0xf0
 +
i2cset -y 1 0x37 0x4b 0xf0
i2cset -y 1 0x37 0x4b 0xf0
 +
i2cget -y 1 0x37 0x42
i2cget -y 1 0x37 0x42
CIO4 i2c command Test
CIO4 i2c command Test
-
output
+
 
 +
output:
 +
 
i2cset -y 1 0x37 0x70 0x0f
i2cset -y 1 0x37 0x70 0x0f
 +
i2cset -y 1 0x37 0x71 0x0f
i2cset -y 1 0x37 0x71 0x0f
 +
i2cset -y 1 0x37 0x7b 0x0f
i2cset -y 1 0x37 0x7b 0x0f
-
input
+
input:
 +
 
i2cset -y 1 0x37 0x10 0x00
i2cset -y 1 0x37 0x10 0x00
 +
i2cget -y 1 0x37 0x12
i2cget -y 1 0x37 0x12
== LEX ORIN DTS ==
== LEX ORIN DTS ==
https://www.lex.com.tw/en/download/download-hide?cid1=73&cid2=203#topDownload
https://www.lex.com.tw/en/download/download-hide?cid1=73&cid2=203#topDownload

Revision as of 09:05, 2 May 2024

O.S.CPURevHDMI0HDMI1Dual outputNGFF1NGFF2NGFF3nano SIMUSB2.0USB3.0PCIELANCOM-232COM-422COM-485F75111NWDT/DIOTPM2.0CANBUSCC007Download Patch

Ubuntu20.04.6

Orin Nano

0.1

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

Yes

Yes

Yes

Yes

Yes

kernel5.10.120-Terga

Ubuntu20.04.6

Orin NX

0.1

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

-

-

Yes

Yes

Yes

Yes

Yes

Kernel5.10.120-Terga

edit table

Contents

How to Test CIO

F75111 sample code download: https://drive.google.com/file/d/1IckmlDege0PMRkbx3Py7wBg_OQATqO8P/view?usp=sharing

How to add static MAC address

1.sudo gedit /etc/systemd/nv.sh

2.add eth0~eth2 Mac Address to nv.sh,MAC address patch for network interfaces

ifconfig eth0 down

ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx

ifconfig eth0 up

ifconfig eth1 down

ifconfig eth1 hw ether xx:xx:xx:xx:xx:xx

ifconfig eth1 up

ifconfig eth2 down

ifconfig eth2 hw ether xx:xx:xx:xx:xx:xx

ifconfig eth2 up

3.reboot

Flash image Command

orin nano/orin nx flash command:

1.cd nvidia_sdk/JetPack_5.1.2_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/

2.sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit internal

How to test CC007

1.use set_mode and set_gpio change node to RS485

2.example ./set_mode ttyUSB0 2 ./set_gpio ttyUSB0 2

Image:set_mode_set_gpio.jpg

3.use cutecom test

Image:cutecom.jpg

How to Test M113A(SMBUS)+CIO116(B version)

CIO1 i2c command Test i2cset -y 1 0x37 0x20 0xf0

i2cset -y 1 0x37 0x21 0xf0

i2cset -y 1 0x37 0x2b 0xf0

i2cget -y 1 0x37 0x22

CIO2 i2c command Test i2cset -y 1 0x37 0x30 0xf0

i2cset -y 1 0x37 0x31 0xf0

i2cset -y 1 0x37 0x3b 0xf0

i2cget -y 1 0x37 0x32

CIO3 i2c command Test

i2cset -y 1 0x37 0x40 0xf0

i2cset -y 1 0x37 0x41 0xf0

i2cset -y 1 0x37 0x4b 0xf0

i2cget -y 1 0x37 0x42

CIO4 i2c command Test

output:

i2cset -y 1 0x37 0x70 0x0f

i2cset -y 1 0x37 0x71 0x0f

i2cset -y 1 0x37 0x7b 0x0f

input:

i2cset -y 1 0x37 0x10 0x00

i2cget -y 1 0x37 0x12

LEX ORIN DTS

https://www.lex.com.tw/en/download/download-hide?cid1=73&cid2=203#topDownload

Personal tools