Home

DNP/SK25 Embedded Linux Starter Kit

image

Contents

1. DNP SK25 Embedded Linux Starter Kit First Steps Embedded Linux Vers 1 0 6 2006 c SSV SSV Embedded Systems Heisterbergallee 72 D 30453 Hannover Phone 49 0 511 40 000 0 Fax 49 0 511 40 000 40 Document Revision 1 0 E mail sales ist1 de Date 2006 09 13 For further information regarding our products please visit us at www dilnetpc com Or visit our support forum at www ssv comm de forum DNP SK25 First Steps CONTENT T INTRODUC TION ceee E E E 3 1 1 S CICS WING E E E IEA E EE 3 1 2 COn AUO aac secnscs E E E E E E E 3 1 3 Features and Technical DAU ssc cacasesaneceosecceats nce does ausaess rn eie resinen EE Eein n ENES 4 2 TE TING SIAR TE D eee a e r 5 2l Ethernet Link between DNP EVA10 and PC scsscsiccscnsesasentesirisesessdsensisecesersasauemteleoteneacaseneies 5 22 Connecting USB Cable and Power up the Starter Kat ccccccccssssseseeeeceeceeeeeeseeeceeeeeeeeaeeeees 6 2 3 Chockine IP Address of PU sa cacceczsuteseseasacesatonctaasoadisaqceaucasacsseavaaeectsacadeoanssqeesicecaedsaassameuenendeosts 7 2 4 Checking Ethernet based TCP IP Communication ccccccssssessecceeceeeeeeeeeeececeeeeeaaeeeees 8 25 Using a Re mie tC Mie CO sinesine n i pehia iiaiai 9 2 6 Checking Embedded Web Servet siruina neonin re naer T Earne 10 2 Cherm EE SS Ci ess Saas celeste E len aca E E E RE 12 2 8 Min rt TTIP i I ac cirtecsersr te seeps E E E E E EO 14 29 Changing Ex Factory IP Address ipaddree Usag
2. nection provides the DNP SK25 with power USB cable Figure 2 Power supply for the Evaluation Board Directly after connecting the PC with the DNP SK25 via USB the boot process of the DNP 9200 Linux begins If the PC is shut down the USB based power supply will be switched off Alternatively it is possible to use a 5 VDC power supply with a 5 5 mm x 2 5 mm jack plug to provide the DNP SK25 with power CAUTION Providing the DNP SK25 with a voltage higher than the regular 5 VDC 10 could resolve in damaged board components Do not connect both the USB cable and the power supply at the same time with the DNP SK25 This could resolve in damaged board components Please pay attention to the polarity of the power connector the pole is in the center Polarity O e _ Figure 3 Polarity of the power connector 6 SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 3 Checking IP Address of PC Directly after providing the DNP SK25 with power the boot process of the DNP 9200 be gins The boot process takes approx 30 seconds After the boot process make sure that the PC is using the right IP address for the Ethernet based TCP IP communication with the DIL NetPC Use 192 168 0 1 or 192 168 0 254 for the PC The IP address of the DNP 9200 is set ex factory to 192 168 0 126 Please note In DHCP enabled networks the DNP 9200 is automatically assigned an IP address as it is DHCP enabled by default If DHCP does not
3. new files with a Telnet session Change to the DNP 9200 default FTP directory home guest within the Telnet session cx Telnet 192 168 0 126 SSY Embedded Linux Version 20 emblinux login root Password root emblinux 7 root cd home guest Croot emblinux guest ls al guest users root root guest users guest users guest users guest users guest users guest users guest users guest users guest users guest users guest users guest users guest users Croot emblinux guest index html l l 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1 e Ieee EE EEE Ml Figure 12 The new files within home guest SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 8 Checking TFTP Client The DNP 9200 Linux offers also a pre installed TFTP client This program allows the TFTP based file transfer between a PC and the DNP 9200 First run a TFTP server program on the PC Linux based PCs offer a TFTP server as part of the standard networking feature set For Windows based PCs please use the free Win32 TFTP server program from the Starter Kit CD ROM see directory TFTP Server Win32 at the Starter Kit CD ROM gt TFTPD32 by Ph Jounin Serwer interfaces 192 168 0 1 r Show Dir Connection received from 192 166 0126 on port 1025 Read request for file lt DNP9200 boot tuts Mode octet recy returns 10054 lt Eine vorhandene Yerbindung wurde vor Remotehost geschlossen Connection received from 192 168 0 726 on port 1025
4. the DNP 9200 Flash memory Setup a Telnet session like shown in chapter 2 5 between PC and DNP 9200 Enter the fol lowing command lines within this Telnet session cd flash mkdir www cd www cat gt test html lt html gt lt head gt lt title gt Hallo Welt lt title gt lt head gt lt body gt lt hl gt Hallo Welt lt h1 gt lt body gt lt html gt CTRL D CTRL D stops the Linux cat command These command lines create an HTML file flash www test html within the DNP 9200 Flash memory with the German version of Hello World Hallo Welt Reboot your DNP 9200 by interrupting the USB based power supply This reboot defines flash www as default directory for the web server cx Telnet 192 168 0 126 SSY Embedded Linux Version W 20 emblinux login root root cd f lash flashi mkdir www flashi cd www wwwil cat gt test html Welt lt hi gt Croot emblinux wwwlg ls al drwxr xr x root root drwxr xr x 1 root root oe rw r r 1 root root test html Croot emblinux www Figure 8 Create an HTML file within a Telnet session Run a web browser on the PC to open the HTML file test html with the browser Use the URL http 192 168 0 126 test html This URL assumes that the DNP 9200 uses the IP address 192 168 0 126 Change this IP address if necessary see chapter 2 9 10 SSV EMBEDDED SYSTEMS Ss DNP SK25 First Steps Hallo Welt Microsoft Internet Expl
5. using the GNU C C cross tool chain it is necessary to run Linux on the development sys tem 1 1 Safety Guidelines Please read the following safety guidelines carefully In case of property or personal damage by not paying attention to this document and or by incorrect handling we do not assume liability In such cases any warranty claim expires e Discharge yourself before you work with the device e g by touching a heater of metal to avoid damages e Stay grounded while working with the device to avoid damage through electrostatic discharge 1 2 Conventions Convention Usage bold Important terms italic Filenames user inputs monospace Pathnames program code command lines Table 1 Conventions used in this Document SSV EMBEDDED SYSTEMS DNP SK25 First Steps 1 3 Features and Technical Data The DIL NetPC DNP 9200 comes with a pre installed U Boot boot loader and an Embedded Linux operating system The DNP 9200 Linux consists of two main components 1 the Linux kernel and 2 the root file system The DNP 9200 U Boot boot loader allows the downloading of new Linux kernel versions and root file systems to the DNP 9200 RAM and Flash e DIL NetPC DNP 9200 with Atmel AT91RM9200 16 Mbytes Flash and 32 Mbytes SDRAM 3 3 VDC VCC e U Boot boot loader and Embedded Linux pre installed in Flash memory e Evaluation Board DNP EV A10 e USB cable e CD ROM with user manual and hardware programmers manuals e Embedd
6. von 192 168 126 Bytes 32 Zeit lt ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Ping Statistik f r 192 168 0 126 Pakete Gesendet 4 Empfangen 4 Verloren 0 Verlust Ca Zeitangaben in Millisek Minimum ms Maximum ims Mittelwert ms C Dokumente und Einstel lungen kdw gt Figure 5 Windows PC TCP IP communication check with ping First check the cable connections and then the IP addresses if the ping does not work Then check the TCP IP setup of the PC 8 SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 5 Using a Telnet Connection Run a Telnet client program on the PC with the IP address of the DNP 9200 You can use a Telnet session for remote entering Linux commands c Eingabeaufforderung Microsoft Wind ows X Copyright 1985 2001 C Dokumente und Einstellungen kdw gt telnet 192 168 0 126 P Ait ee 5 1 2600 i crosoft Corp Figure 6 Run the Windows telnet client program Wait until the DNP 9200 Linux requests a user name Enter the user name root This user name needs no password Just hit Enter if the DNP 9200 Linux requests a password Please note The DNP 9200 Linux comes with BusyBox All Linux command line com mands are implemented in BusyBox BusyBox combines tiny versions of many common UNIX utilities into a single small executable It provides replacements for most of the utili ties you usually find in GNU fileutils shellutils etc The utilities i
7. 92 168 0 126 The network mask for this address is 255 255 255 0 You can change this IP address during a Telnet session with help of the program called ipaddree lpaddree Telnet session Ethernet link DIL NetPC DNP 9200 Figure 15 Environment for ipaddree usage Establish a Telnet session like shown in chapter 2 5 Then execute the following command ipaddree w 192 168 2 126 m 255 255 255 0 ipaddree is the name of a command line IP setup tool 192 168 2 126 is the new IP ad dress Use an IP address of your choice for your setup on this position 255 255 255 0 is a network mask Use a valid network mask for the new IP address ch Telnet 1927 168 0 176 SSU Embedded Linux Version 0 62 emblinux login root Password LrootPemblinux root ipaddree wu 192 168 2 126 m 255 255 255 0 CrootPemblinux root 15 Figure 16 Telnet session with ipaddree command line cy CO WINDOWS system32 cmd ene IC gt ping 192 168 2 126 Ping wird ausgef hrt f r 192 168 2 126 mit 32 Bytes Daten Antwort von 192 168 2 126 Bytes 32 Zeittims TIL 64 Antwort won 192 168 2 126 Bytes 32 Zeit lt ims TIL 64 Antwort von 192 168 2 126 Hytes 32 Zeit ims TTL 64 Antwort von 192 168 2 126 HBytes 32 Zeit lt ims TIL 64 Ping Statistik f r 192 168 2 126 Pakete Gesendet 4 Empfangen 4 Verloren A tz Verlust gt Ca Zeitangaben in Millisek Minimum Ams Maximum Ams Mittelwert Bms
8. GiM ua Figure 17 Check the new IP address with ping Please note Do not forget to change the IP address of the PC to 192 168 2 1 or simi lar otherwise the ping will not work SSV EMBEDDED SYSTEMS IGW 400 UART Helpful Literature 3 HELPFUL LITERATURE e Atmel AT9IRM9200 data sheet summary e Atmel AT9IRM9200 user guide e ARM ARMQ926EJ S technical reference manual e ARM ARMQ9EJ S technical reference manual e DIL NetPC DNP 9200 hardware reference manual SSV Starter Kit item e Evaluation Board DNP EVA10 hardware reference manual SSV Starter Kit item CONTACT SSV Embedded Systems Heisterbergallee 72 D 30453 Hannover Germany Phone 49 0 511 40 000 0 Fax 49 0 511 40 000 40 E mail sales istl de Internet www dilnetpc com Support www ssv comm de forum DOCUMENT HISTORY Revision Date PO Remarks Name 1 0 2006 09 13 first version WBU The content of this document can change any time without announcement There is taken over no guarantee for the accuracy of the statements The user assumes the entire risk as to the accuracy and the use of this document Information in this document is provided as is without warranty of any kind Some names within this document can be trademarks of their respective holders 2006 SSV EMBEDDED SYSTEMS All rights reserved 16 SSV EMBEDDED SYSTEMS
9. Read request for file lt DNP9200 boot tuts Mode octet recy returns 10054 lt Eine vorhandene Yerbindung wurde vor Remotehost geschlossen Curent Action recy returns 10054 lt Eine vorhandene Yerbindung wurde vom Remotehost geschlossen About Settings Figure 13 Running the Win32 TFTP server Figure 13 shows the free Win32 TFTP server in action This server allows file transfers to and from any DNP 9200 directory Telnet 192 168 0 126 lo x Lroot emblinux flashi tftp g 1 DNP9200 boot txt 192 168 0 1 flashl ls al root 16 root 1 36 root 12 42 DNP9Y2Z00 boot txt root 5616 1970 root autostart sh pb ph j ph ph ed j p pt GN any root r Croot emblinux f lash Figure 14 Download with TFTP get command Enter the get and put commands within a Telnet session Figure 14 shows a sample for a TFTP get command getting a file from the PC to the DNP 9200 Here we enter tftp g l DNP9200 boot txt 192 168 0 1 DNP9200 boot txt is the filename which is requested from the TFTP server 192 168 0 1 is the IP address of the TFTP server 14 SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 9 Changing Ex Factory IP Address ipaddree usage The DNP 9200 is automatically assigned an IP address on DHCP enabled networks as it is DHCP enabled by default If DHCP does not work i e no DHCP server is available the DNP 9200 takes its default IP address The ex factory value for this default IP address is 1
10. e ccccccssssessseccececceaeesseeceeeeeeaeeeeeees 15 2 AHELPF OCOTERA TORT osre er neR een eek nr eee es ete ene einer eee eee eee eee 16 SON TAC TEREE ors svc EE E E ots go EE E E EEE EEE 16 DOCUMENT HISTORY 0 0 0c cccccc cece eccceeeeeeeeee cece eeseeeeeeeseceseueesueeseceseuessueeseeseessueeseeeseeesans 16 2 SSV EMBEDDED SYSTEMS DNP SK25 First Steps 1 INTRODUCTION The DNP SK25 Embedded Linux Starter Kit with the DIL NetPC DNP 9200 contains every thing you need to get started with your Atmel AT91RM9200 ARM9 based embedded net working application The DNP SK25 includes a DNP 9200 module with a pre installed U Boot boot loader and an embedded Linux the Evaluation Board DNP EV A10 a USB cable a CD ROM with soft ware and documentation and a printed user manual for the first steps with the DNP SK25 The Starter Kit CD ROM comes with a full GNU cross tool chain for C C software de velopment The binary files of this pre build tool chain run on an x86 Linux based host SuSE Red Hat or other and build executable files for the Atmel AT91RM9200 ARMQ9 based microcontroller For using the DNP SK25 Embedded Linux Starter Kit you need a development system The minimal configuration for this system is a Windows based PC with Telnet an 10 Mbps or 10 100 Mbps Ethernet LAN interface and an USB interface This environment allows web server programming HTML pages Java Applets and Linux shell script programming For
11. ed Linux with source e GNU cross tool chain for C C software development for Linux based PCs e GNU gdb and gdbserver for Ethernet based remote debugging e Linux remote login with Telnet e Web server setup sample e FTP server setup sample e Many source code samples Please note The download of a new Linux kernel needs an RS232 based serial link and an Ethernet LAN link between the DNP 9200 and a PC The RS232 connector is not available on the DNP EV A10 4 SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 GETTING STARTED 2 1 Ethernet Link between DNP EVA10 and PC Setup the Ethernet link between the DNP SK25 and the PC before connecting the power supply Use an Ethernet cross over cable for the connection Ethernet cross over cable Figure 1 Ethernet link between DNP SK25 and PC Please note The DNP 9200 comes with the default IP address 192 168 0 126 Please make sure that the PC can work with the IP address range 192 168 0 x In DHCP enabled networks the DNP 9200 is automatically assigned an IP address as it is DHCP enabled by default If DHCP does not work i e no DHCP server is avail able the DNP 9200 takes its default IP address SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 2 Connecting USB Cable and Power up the Starter Kit Please setup the Ethernet link first see chapter 2 1 Then connect the PC and the DNP SK25 with the USB cable Use the USB device port of the DNP SK25 This USB con
12. n BusyBox generally have fewer options than their full featured GNU cousins however the options that are included provide the expected functionality and behave very much like their GNU counterparts BusyBox provides a fairly complete environment for any small or embedded system ci Telnet 192 168 0 126 SSY Embedded Linux Version YW 20 keventd ksoftirqd_CPUG kswap bdf lush kupdated mtdblockd jiffs_gcd inet Eni Tpa ge F in telnetd s YVORIVVVVVUVWVOOAO D 43 2 PAOSISOSSSSS lt an Ww O 158_136 0 00 00 ps root emblinux root ls al drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root dr xr xr x root root drwxr x root root root root root root drwxr xr x root root drwxr xr x root root Croot emblinux root m m bin dev etc flash home i lost found mn proc root WRN eEQoOR N AABDARPENAVUHE N O NNNNANNUWUAeAWNOO GOO sbin tmp usr var drwxr xr x drwxrwxrwt Figure 7 Using Linux commands within a Telnet client window SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 6 Checking Embedded Web Server The DNP 9200 default Linux configuration comes with a pre installed embedded web server The object storage space HTML pages CGI programs Java Applets etc for this web server is located within
13. orer Datei Bearbeiten Ansicht Favoriten Extras Q r k amp ix B A p Suchen P Favoriten A Medien O 2 x basa adresse 8 http 192 168 0 126 test html i EE wechseln zu Links Hallo Welt Figure 9 Check the embedded web server with Internet Explorer Please note 1lash www is the default directory for the DNP 9200 embedded web server Restart the DNP 9200 Linux after the creation of flash www test html and be fore the first access with a web browser The DNP 9200 embedded web server looks out for lash www at boot time If the direc tory flash www does not exist at boot time the DNP 9200 embedded web server works with the RAM disk based directory usr local www SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 7 Checking FTP Server The DNP 9200 Linux comes with a pre installed FTP server This server allows the file transfer between a PC and the DNP 9200 Run an FTP client program on the PC Set the session parameters for the FTP client to the IP address 192 168 0 126 user name guest and password guest The DNP 9200 default direc tory for the FTP user name guest is home guest This directory is located within the DNP 9200 RAM disk S FIP Explorer File Edit View Tools Window Help Profile Name 192 168 0 126 Host Address 192 168 0 126 Cancel Port 21 M Use PASY Mode Use Firewall alstevens com Login guest Anonymous CICA dilnetpc ecoscentiic com FTP E
14. work i e no DHCP server is available the DNP 9200 takes its default IP address c Eingabeaufforderung Microsoft Windows XP LYersion 5 1 2600 C Copyright 1985 2001 Microsoft Corp C Dokumente und Einstel lungen kdw gt ipconfig Windows IP Konf iguration Ethernetadapter LAN Verbindung Verbindungsspezif isches DNS Suf fix IP Adresse Subnet zmaske 255 255 255 0 Standardgateway 192 168 0 254 C NDokumente und Einstel lungen kdw gt Figure 4 Windows PC IP address check with ipconfig Talk to your network administrator if you have problems with the IP address understanding SSV EMBEDDED SYSTEMS DNP SK25 First Steps 2 4 Checking Ethernet based TCP IP Communication Check the Ethernet based TCP IP communication between the DNP 9200 and the PC with a simple ping command The IP address of the DNP 9200 is set ex factory to 192 168 0 126 Please note In DHCP enabled networks the DNP 9200 is automatically assigned an IP address as it is DHCP enabled by default If DHCP does not work i e no DHCP server is available the DNP 9200 takes its default IP address c Eingabeaufforderung Microsoft Windows XP LVersion 5 1 2600 C Copyright 1985 2001 Microsoft Corp C Dokumente und EinstellungenN kdwoping 192 168 0 126 Ping wird ausgef hrt f r 192 168 0 126 mit 32 Bytes Daten Antwort von 192 168 126 Bytes 32 Zeit 1ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Antwort
15. xplorer Home R ftp alstevens com Initial Path ftp circuitcellar com pub Circ Attempts f Retry Delay fio Download Path Browse Description H for Innovative Computer Applications Papa WinSock L Qualcomm Cache data between sessions SimT el Sev comm v Add Save Shortcut Remove Password Figure 10 Set the session parameters for an FTP client program Connect the FTP client with the DNP 9200 FTP server Please watch the DNP 9200 default FTP directory Transfer some files from the PC to the DNP 9200 The DNP 9200 stores these files in the DNP 9200 default FTP directory S 192 168 0 126 FTP Explorer File Edit View Tools Window Help EIkE 2 E x es All Folders Contents of home quest 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 01 01 2004 14 32 00 users 200 Type set to A PORT 192 168 0 1 4 56 200 PORT command successful LIST 150 Opening ASCII mode data connection for fbinjls 226 Transfer complete For Help press F1 Figure 11 Transfer some files to the DNP 9200 12 SSV EMBEDDED SYSTEMS Ss F DNP SK25 First Steps Check the

Download Pdf Manuals

image

Related Search

Related Contents

A2T Multitrac A2T Multitrac  取扱説明書  Manual do Usuário – Fluke 1000FLT  Bolens 1160 User's Manual  HITACHI  Mode d`emploi 5000  Philips Composite video cable SWV3510  User Manual - LIKO-S    Thermal Printer User Manual  

Copyright © All rights reserved.
Failed to retrieve file