Arcom ELAN-104NC Скачать руководство пользователя страница 13

CONTROL SYSTEMS

Issue B 

 

    2192-10962-000-000

 

                                                                                                                                                                         page   12 

 

 

Downloading the Application 

Applications can either be downloaded using FTP or transferred via NFS.  Setting up NFS is 
beyond the scope of this document so the FTP method is described here. 
Use an ftp client on the host system to transfer files to the board 

1.  Run the ftp client on the host system 

 

 

ftp 

IP address of

  

ELAN-104NC

 

2.  Login to the ELAN-104NC as arcom (password: arcom). Note that for security reasons 

you can’t login as root 

3.  Transfer the files to the ELAN-104NC (the files will end up in /home/arcom) 

 

 

put 

local file name 

4.  On the ELAN-104NC copy the executable from /home/arcom to the appropriate location 

(e.g. /usr/bin) 

 

 

cp /home/arcom/

executable name 

/usr/bin 

5.  Change the permissions of any of the executables to make them runnable 

 

chmod a+x /usr/bin/

executable name 

 

Running the Application 

Run the application 

executable name 

Содержание ELAN-104NC

Страница 1: ...4 511 Fax 08001 824 512 Netherlands Gratis 0800 Nummer Tel 0800 0221136 Fax 0800 0221148 Italy Numero Verde Tel 0800 790841 Fax 0800 780841 Whilst Arcom s sales team is always available to assist you in making your decision the final choice of boards or systems is solely and wholly the responsibility of the buyer Arcom s entire liability in respect of the boards or systems is as set out in Arcom s...

Страница 2: ...s 6 What s in Arcom Embedded Linux 7 The File system 7 Setting up Networking 8 Installing the Support Software 9 Installing an IDE Source Navigator 9 Building and Running Applications 10 Building the Test Application 10 Building an Application with Source Navigator 11 Downloading the Application 12 Running the Application 12 Detailed Information 13 Revision History Manual Comments Issue A 000905 I...

Страница 3: ... product at any time and without notice Anti Static Handling The boards in this development kit contain CMOS devices that may be damaged in by electrostatic discharge At all times please observe anti static precautions when handling the boards This includes storing the boards in appropriate anti static packaging and wearing a wrist strap when handling the boards Packaging Please ensure that should...

Страница 4: ...ector for the ELAN_104NC board Power supply adapter cable PS 2 mouse PS 2 to AT keyboard adapter VGA adapter cable Serial adapter cable Floppy drive cable Crossover RJ45 Ethernet cable Arcom Embedded Linux Development Kit CD ROM Printed copy of the Arcom Embedded Linux Quick Start manual this document Technical Manual on CD ROM The following items are also included with the LCD panel kit NEC 6 5 f...

Страница 5: ...ducing GLIBC 2 1 dynamically linked ix86 executables Arcom suggests Red Hat Linux 6 2 running on a PC though other distributions platforms may be suitable Networking details for the ELAN 104NC Consult your network of system administrator for these IP address and subnet mask netmask Default gateway IP address if required Nameserver DNS IP address optional Networking details for the host machine It ...

Страница 6: ...ard into the socket labelled PL4 KBD using the PS 2 adapter if required 4 Plug the Ethernet cable into the socket labelled PL5 Network and plug the other end into your development system The cable supplied in the kit is a crossover cable designed to go directly between the ELAN 104NC and another PC If you want to connect to an existing network you will need a straight through cable instead For fur...

Страница 7: ...e entire system or as the regular user arcom login name arcom password arcom for restricted access Note The default BIOS for the ELAN 104NC sets the output to CRT only mode if a CRT monitor is detected when the board is switched on Therefore to use a flat panel make sure that a CRT monitor is NOT connected Also the backlight inverter generates high voltages so make sure the power is off while conn...

Страница 8: ...t the Technical Manual supplied on the CD The File system The onboard flash has been divided into three partitions boot root and var By default the root partition is mounted read only for added data security to mount it read write type mount n o remount rw The var partition is read write and can be used for storing application data which must persist across reboots The var partition also contains ...

Страница 9: ... using the ae editor ae eth0 The file should look like with appropriate IP address and netmask DEVICE eth0 IPADDR IP address NETMASK netmask 6 Save the file by typing CRTL X then CTRL W 7 Exit the ae editor by typing CTRL Q 8 Setup DNS if required by editing the file etc resolv conf cd etc ae resolv conf The file should look like this nameserver IP address of nameserver 9 Setup a default gateway i...

Страница 10: ...o build and test application on your Red Hat 6 2 host system before downloading to the Elan 104NC board To install the IDE Source Navigator on your host system follow these instructions 1 Copy the source tarball from the CD utils ide SN451 tar gz to a suitable directory e g your home directory on your host system 2 If you re using X KDE GNOME etc start a terminal emulator such as xterm Konsole in ...

Страница 11: ...d then install onto the ELAN 104NC Building the Test Application 1 Copy the content of the directory examples test from the CD to a suitable directory on the host system 2 Change to the directory containing the source cd directory containing source 3 Build the application by typing make 4 Test the application by typing hello 5 You will see the following text printed on the screen Hello world ...

Страница 12: ...avigator Projects press New Project 7 Select OK from the Auto Create Project dialog box 8 Select Windows New views Editor from the menu bar of the Source Navigator demo_project Symbols window 9 Enter your code into the Editor window and save using File Save As 10 Choose Tools Build settings from the menu 11 Enter the executable name to be built in the bottom box of the Build Settings dialog box an...

Страница 13: ...t system ftp IP address of ELAN 104NC 2 Login to the ELAN 104NC as arcom password arcom Note that for security reasons you can t login as root 3 Transfer the files to the ELAN 104NC the files will end up in home arcom put local file name 4 On the ELAN 104NC copy the executable from home arcom to the appropriate location e g usr bin cp home arcom executable name usr bin 5 Change the permissions of ...

Страница 14: ... The following detailed information can be found in the ELAN 104NC embedded Linux technical manual which can be found on the CD Detailed Software list File system layout Arcom embedded Linux CD contents Utilities Installing Linux on to a hard drive Limitations of the JFFS ...

Отзывы: