Moxa IA240-T-LX [20/92] Sd socket and usb for storage expansion

Moxa IA240-T-LX [20/92] Sd socket and usb for storage expansion
IA240/241 Linux User’s Manual Getting Started
2-12
SD Socket and USB for Storage Expansion
Both the IA240 and IA241 provide an SD socket for storage expansion. Moxa provides an SD
flash disk for plug & play expansion that allows users to plug in a Secure Digital (SD) memory
card compliant with the SD 1.0 standard for up to 1 GB of additional memory space, or a Secure
Digital High Capacity (SDHC) memory card compliant with the SD 2.0 standard for up to 16 GB
of additional memory space.The SD socket is located on the front panel of the IA240/241. To
install an SD card, you must first remove the SD protection cover to access the socket, and then
plug the SD card directly into the socket. Remember to press on the SD card first if you want to
remove it.
The SD card will be mounted at
/mnt/sd.
In addition to the SD socket, a USB 2.0 host is located on the front panel. The USB host is also
designed for storage expansion. To expand the storage by USB flash disk, you just need to plug
the USB flash disk into this USB port. The flash disk will be detected automatically, and its file
partition will be mounted into the OS. The USB storage will be mounted at
/mnt/usbstorage.
Test ProgramDeveloping Hello.c
In this section, we use the standard “Hello” programming example to illustrate how to develop a
program for the IA240/241. In general, program development involves the following seven steps.
Step 1:
Connect the IA240/241 to a Linux PC.
Step 2:
Install Tool Chain (GNU Cross Compiler & glibc).
Step 3:
Set the cross compiler and glibc environment variables.
Step 4:
Code and compile the program.
Step 5:
Download the program to the IA240/241 Via FTP or
NFS.
Step 6:
Debug the program
Æ If bugs are found, return to Step 4.
Æ If no bugs are found, continue with Step 7.
Step 7:
Back up the user directory (distribute the program to
additional IA240/241 units if needed).
x86
Cross
Compiler

Содержание

Похожие устройства

Скачать