Languages:  English  Traditional Chinese  
ARM Cortex SMARC Module
$59.00 for orders of 1,000+

APC-7112

Highlight

Processor: Samsung S3C2440A with ARM920T Core
Speed: 400Mhz
Memory: 64MB SDRAM
                  64MB NAND Flash
On Board: 10/100Mbps Ethernet, 4 x USB, CF, 6 x RS232, LCD (TTL/LVDS), Touch, Audio, 12 x GPIOs
Dimensions: 102mm x 145mm (L x W)
Power Consumption: <2W
Power Input: Single 5V


HEADING_TITLEAPC-7112

These quick start guides are intended to provide developers with simple instructions on how to install APC-7112 from very beginning and have it monitoring your local device in few minutes. No advanced installation options are discussed here - just the basics that will work for 95% of users who want to get started. This guide will lead you through the process of configuring, installing, and developing APC-7112. This guide was written to be as clear as possible and to provide only the details necessary to get you up and running with APC-7112. For more in-depth information, links to other chapters will be located where appropriate.
Step 1. Extract Root Filesystem tarball to a CF card
Figure 1. Extract Root FilesystemTarball to a CF card


First of all, you need a Linux PC and extract the rootfs into a CF card. 1GB CF card capacity is a minimal requirement for the Embedian official root file system. After done, plug the CF card into CN25 (CF socket) connector. The rootfs can use Embedian’ or Debian Etch.
Figure 2 Plug the rootfs pre-installed CF card into APC-7112



Details in regarding to how to make a pre-loaded filesystem CF card can be found here.
Step 2. Check Jumpers and Switches
Different configurations can be set by several jumper blocks on board. For example, if you attached an LCD, JP4 needs to be shunt depending on your LCD is 5V or 3.3V.
Step 3. Connect the Console Serial Debug Cable from APC-7112 to your PC
Connect the DB9 to RJ-45 console debug cable from CN6 of the APC-7112 to the COM port your PC. Open the Hyperterminal program of your PC and set the baud rate as 115200, 8N1.
Figure 3: Connect Console Debug Cable



Step 4. Apply 5V to APC-7112
Apply 5V to the mini-ATX connector of the device as shown in figure 4.
Figure 4 Apply Power to Evaluation Kit



You will see the boot messages from the Hyperterminal as shown in figure 5.
Figure 5: Boot up messages from Hyperterminal



The default root password is "apc7112" (no quot). You can use passwd command to change the root password.
Step 5. Network Configuratio
Plug an Ethernet cable to CN12 of your device first.
The default IP address is set static and network configuration is as follows.
IP address 192.168.1.121
netmask 255.255.255.0
gateway 192.168.1.254
[root@apc7112 ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 10:0D:32:1F:19:39
          inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:310 (310.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 Base address:0xc300

[root@apc7112 ~]#
Users can use ifconfig to change the IP address at runtime.

Example:
Below is an example to change the IP address to 192.168.1.123 and netmask to 255.255.255.0 at runtime.
[root@apc7112 ~]# ifconfig eth0 192.168.1.123 netmask 255.255.255.0 up
[root@xpc8110 ~]#
Change Network Configurations Permanently:
The ifconfig command only changes the network setting at runtime. After reboot or network restart, the network configuration will be restored to default values. To configure the network configurations at boot or network restart, users need to modify the /etc/sysconfig/network-scripts/ifcfg-eth0 file. Network configuration will take effect at next boot or network restart.
Step 6. LCD Connectivity
If you need to connect an LCD, use a FPC cable or LVDS cable (depending on the type of LCD) connect to SBC first. Check if JP4 is configured properly. The FPC cable at the board side (CN22) is top-contacted. You will need to power the backlight yourself. APC-7112 single board computer provides users with a 12V bypass path from pin 2 of CN3 to pin 1 of CN2 for the backlight connection.
Figure 6 shows the LCD connection.
Figure 6: LCD Connection



The device descriptor of the LCD is /dev/fb0. For Embedian default root file systems, there will be no outputs to LCD.
To better protect your LCD, the panel power (JP4) and backlight power (pin1 of CN2) is controlled by two switches via two GPIOs and default is set to off. You will need to turn it on first by the following command.
[root@xpc8110 ~]# modprobe backlight
LCD backlight & panel power control interface for XPC-81xx.
This is to load driver that control the switches.
[root@apc7112 ~]# modprobe backlight
LCD backlight & panel power control interface for APC-71xx.
This is to load the driver that controls the switches.
[root@apc7112 ~]# echo "1" >> /proc/panel_power
[root@apc7112 ~]# echo "1" >> /proc/backlight
[root@apc7112 ~]#
This is to turn the switches on.
The LCD driver is a kernel module and you need to load the lcd module first by the following two ways.
You can edit /etc/sysconfig/devices
#! /bin/sh

LOADDRV_APM=YES
LOADDRV_APCIDE=YES
LOADDRV_USB_HOST=YES
LOADDRV_USB_DISK=YES
LOADDRV_SOC_LCD=YES
# LOADDRV_SM501FB=YES
# LOADDRV_SM502FB=YES
# SM501FB_OUTPUT=VGA
# SM501FB_OUTPUT=LCD
LOADDRV_AC97=YES
LOADDRV_TOUCHSCREEN=YES
By setting the LOADDRV_SOC_LCD equals to YES.
Or simply load the drive by the following command.
[root@apc7112 ~]# modprobe s3c2410fb
fb0: s3c2410fb frame buffer device
Users also need to use fbset command to set up the frame buffer first. The settings are located in the file /etc/fb.modes. After done the above steps, users can cat a simple pattern to LCD to see if your LCD is wired correctly.
Back
Your IP Address is: 18.232.124.77