第4章 Function Tests

This chapter explains how to perform a hardware operation check using the function test application included in the default userland of the Armadillo-440 LCD Model. The function test application is automatically displayed on the LCD panel after the Armadillo-440 LCD Model is powered on. Please go through all tests in this chapter after obtaining the Armadillo-440 LCD Model in order confirm that the hardware is operating correctly.

The tests can be selected by pressing the buttons on the left side of the screen.

Function Tests - Menu

図4.1 Function Tests - Menu


4.1. LED

This tests whether or not the LEDs can be turned on and off. Press the "Red" and "Green" buttons and check that the actual LEDs on the Armadillo-440 are in the same state as that shown on the screen.

Function Tests - LEDs

図4.2 Function Tests - LEDs


4.2. Buttons

This tests whether or not the state of the buttons can be obtained. Press each button on the LCD Expansion Board and check that "Push" is displayed in the correct position on the screen.

Function Tests - Buttons

図4.3 Function Tests - Buttons


4.3. Touch Screen

This tests whether or not the touch screen coordinates can be obtained. The touch screen coordinates are displayed as [X, Y]. Check that the X value increases with touches further to the right and the Y value increases with touches further to the bottom.

Function Tests - Touch Panel

図4.4 Function Tests - Touch Panel


4.4. Backlight

This tests whether or not the brightness of the backlight on the LCD panel can be adjusted. The backlight brightness is adjusted with the slider. Check that moving the slider to the left darkens the backlight and moving it to the right brightens the blacklight.

Function Tests - Backlight

図4.5 Function Tests - Backlight


4.5. Sound

This tests whether or not sound can be recorded and played back. Be sure to refer to 図2.2「Connection Diagram」 to connect a speaker and microphone before carrying out the test.

Function Tests - Sound

図4.6 Function Tests - Sound


4.5.1. Playing Back Sound

Check that a sound can be heard after pressing the "Play" button in "Audio Test."

4.5.2. Recording Sound

Press the "Record" button in "Recording Test" to record sound with the microphone. After recording for approximately five seconds, the "Record" button will return to its initial state.

Next, press the "Play" button in "Recording Test" and check that the recorded sound can be heard.

4.6. RTC (Real-Time Clock)

This tests whether or not time configuration can be written to and read from the RTC.

Enter a date and time on the calendar and then press the "Set" button to set the system clock and RTC (hardware clock).

Press the "Get" button to read the date and time from the RTC (hardware clock) and display it on the calendar. Please note that the hardware clock and system clock will not always match.

Function Tests - RTC

図4.7 Function Tests - RTC


4.7. Stopping The Function Test Application From Starting

After having completed all of the function tests, if you wish to stop the function test application from starting automatically, execute the commands shown in 図4.8「Stopping Automatic Startup」

[armadillo ~]# chmod -x /etc/config/rc.local
[armadillo ~]# flatfsd -s

図4.8 Stopping Automatic Startup


To have the function test application start automatically again, execute the commands shown in 図4.9「Starting Automatic Startup」.

[armadillo ~]# chmod +x /etc/config/rc.local
[armadillo ~]# flatfsd -s

図4.9 Starting Automatic Startup