Difference between revisions of "AIMB 294 Development"
| Line 47: | Line 47: | ||
=== Test Command === | === Test Command === | ||
| + | |||
| + | ==== '''DIO 8bit''' ==== | ||
| + | Hardware setting | ||
| + | <br/> | ||
| + | |||
| + | <br/> | ||
| + | * The TCA9555 is identical to the TCA9535, except for the inclusion of the internal I/O pull-up resistor, which pulls the I/O to a default high when configured as an input and undriven. | ||
| + | Pin table with DIO expander number | ||
| + | <br/> | ||
| + | <br/>Pin1-->704, Pin5-->712 | ||
| + | <br/>Pin2-->705, Pin6-->713 | ||
| + | <br/>Pin3-->706, Pin7-->714 | ||
| + | <br/>Pin4-->707, Pin8-->715 | ||
| + | <br/> | ||
| + | For example set Pin1 direction out, value high | ||
| + | <pre> | ||
| + | $ sudo su | ||
| + | # echo 704 > /sys/class/gpio/export | ||
| + | # echo out > /sys/class/gpio/gpio704/direction | ||
| + | # echo 1 > /sys/class/gpio/gpio704/value | ||
| + | </pre> | ||
| + | For example set Pin5 direction in | ||
| + | <pre> | ||
| + | $ sudo su | ||
| + | # echo 712 > /sys/class/gpio/export | ||
| + | # echo in > /sys/class/gpio/gpio712/direction | ||
| + | </pre> | ||
==== '''GMSL''' ==== | ==== '''GMSL''' ==== | ||
Latest revision as of 09:51, 22 December 2025
Contents
Attention
Account & Password
Account number
ubuntu
In device used "sudo" or "sudo su" to root. Password required.
ubuntu
Power off and restart
Cold reboot the device.
Bootloader Version
Check device boot up in debugport log
Burnin
$ cd /tool $ sudo Burnin.sh
BootCount
BootCount tool install
In first time please install bootcount tool
$ cd /home/ubuntu $ sudo ./bootCount.sh
Default enter the OS 20s will poweroff
Boot On Off
The boot count message will be printed before log-in.
![]()
Reset the boot count please remove bootCount.tt.
$ rm bootCount.tt
Tools
Test Command
DIO 8bit
Hardware setting
- The TCA9555 is identical to the TCA9535, except for the inclusion of the internal I/O pull-up resistor, which pulls the I/O to a default high when configured as an input and undriven.
Pin table with DIO expander number
Pin1-->704, Pin5-->712
Pin2-->705, Pin6-->713
Pin3-->706, Pin7-->714
Pin4-->707, Pin8-->715
For example set Pin1 direction out, value high
$ sudo su # echo 704 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio704/direction # echo 1 > /sys/class/gpio/gpio704/value
For example set Pin5 direction in
$ sudo su # echo 712 > /sys/class/gpio/export # echo in > /sys/class/gpio/gpio712/direction
GMSL
APPROPHO Camera
Camera type : IMX335
HW setting : Camera link to GMSL port
Please install camera driver first
Then system needs to reboot to take effect after setting camera interface done
Setup driver with GMSL
$ cd /tools/approcam/gmsl $ sudo ./set_approcam_gmsl.sh
Preview command
$ cd /home/ubuntu $ sudo ./enable-approcamera.sh