Page | 75
root@SBC8140:#
echo 0 > /sys/class/leds/led2/brightness
4.
Execute the following instructions to test LED3;
root@SBC8140:#
echo 1 > /sys/class/leds/led3/brightness
root@SBC8140:#
echo 0 > /sys/class/leds/led3/brightness
When executing each instruction, the corresponding LED will be turned on
or turned off.
3.8.2
Testing a Touch-Screen
Boot up the SBC8140 from NAND Flash and start testing;
1.
Execute the following instruction to calibrate the touch-screen;
root@SBC8140: # ts_calibrate
Touch all the “+” marks on the screen by following the screen prompt
information to finish calibration;
2.
Execute the following instruction to test the touch-screen;
root@SBC8140: # ts_test
Draw points and lines on the screen as you see the prompt information to
proceed with testing;
3.8.3
Testing the RTC
The SBC8140 has a hardware clock which can store and recover the
system clock; please carry out testing of the RTC through the following
steps;
1.
Execute the following instruction to set system clock to 8 pm,
Aug. 8
th
, 2011;
root@SBC8140 : #
date 080820002011
The information in HyperTerminal window is shown below;
Mon Aug 8 20:00:00 UTC 2011
2.
Execute the following instruction to write the system clock into
RTC;
root@SBC8140: # hwclock -w
3.
Execute the following instruction to read the RTC;
Summary of Contents for SBC8140
Page 1: ...SBC8140 Single Board Computer User Manual Version 1 1 22nd Jan 2014...
Page 12: ...Page 6 1 4 Interfaces on the SBC8140 Figure 4 SBC8140 Interfaces...
Page 13: ...Page 7 1 5 System Block Diagram Figure 5 SBC8140 system block diagram...
Page 15: ...Page 9 1 6 2 Expansion Board Figure 8 Expansion board dimensions...
Page 128: ...Page 122...
Page 131: ...Page 125...
Page 139: ...Page 133 Appendix 5 FAQ Please visit http www elinux org SBC8600_FAQ...