Home

User Manual

image

Contents

1. Neu PI Konsole Nr Figure 5 30 Running Linux When the Linux boot process is done the system will stop with the following login prompt ET Konsole Konsole Lol ele Datei Sitzungen Optionen Hilfe 0x00800000 0x01000000 ADNP FLASH PART 3 0x00020000 0x00040000 ADNP BOOTLOADER 0x00000000 0x00020000 ADNP BIOS jffs Using lib modules jffs o JFFS version 1 0 C 1999 2000 Axis Communications AB D D sc520_wdt Using lib modules scb20 wdt o sc520_wdt CBAR 0x800fd000 scb20 wdt MMCR Aliasing enabled scb20 wdt HDT driver for SC520 initialised Checking all file systems Parallelizing fsck version 1 12 9 Jul 98 IP ipaddree Error No IP configuration in EEPROM Starting Network lo Local time GMT Tue Jan 1 00 11 31 UTC 1980 Configuring serial ports ttySl LSR safety check engaged dev ttyS0 at 0x03f8 irq 4 is a 16550A INIT Entering runlevel 2 Starting netbase daemons routed portmap inetd Starting periodic command scheduler cron SSY Embedded Linux Yersion 1 00 ADNP1520 emblinux login J ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 YT102 Online 00 00 F Neu konsole Nr Figure 5 31 Linux login SSV EMBEDDED SYSTEMS 36 ADNP 1520 Starter Kit First Steps d d UI 5 2 6 Login via Serial Console Under Linux you can gain access onto the ADNP 1520 via Minicom by using the username gast specific pas
2. complete machine readable copy of the corresponding source code to be distributed under the terms of Sections and 2 above on a medium customarily used for software interchange or c Accompany it with the information you received as to the offer to distribute corresponding source code This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer in accord with Subsection b above The source code for a work means the preferred form of the work for making modifications to it For an executable work complete source code means all the source code for all modules it contains plus any associated interface definition files plus the Scripts used to control compilation and installation of the executable However as a special exception the source code distributed need not include anything that is normally distributed in either source or binary form with the major components compiler kernel and so on of the operating system on which the executable runs unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated place then offering equivalent access to copy the source code from the same place counts as distribution of the source code even though third parties are not compelled to copy the source along with the object code 4 You may not copy modify
3. 21 Figure 5 9 Transfering data to the ADNP 1520 rarnrnnerrvrnnnrrvnnnnerrvnnnnerernnnerrennnnersnnnnene 22 Figure 5 10 Selecting files and transfer protocol 22 Peoc EE Leavis EL REE 23 Figure 5 12 Starting Linux erernrnnrrvrnnnerrvnnnnerevnnnnrrnnnnnerenrnnnerennnnerennnnnenersnnesrensnnesensnneee 24 Figure 5 13 Linux login prompt ssseesseesssersseesssersssersssrsseerssersssersseesssersssessseessserss 24 Figure 5 14 Login procedure via Hvperlemmal 25 Figure 5 15 Login procedure via Telnet 26 Fete 5 16 L n proced re ATP ee 27 Fete 5 17 FTP file transfer nder DOS venner 28 Figure 5 18 File transfer with the Internet Explorer 28 Figure 5 19 Serial Port Settings under Minicom rrrrnnvrrnnnnnrrvnnnnerrvnnnnerrnnnnerrnnnnnersnnnneer 29 Figure 5 20 ROM DOS boot process In progregg 30 Figure 5 21 After the ROM DOS boot procesgg 30 Figure 5 22 Running the DOS based Web Server rrrrrrrrnnnrrvrrnnerrvrrnnerevrnnerrrnnnnerernnneee 31 HS NT ETH 32 Figure 5 24 IP address check via feonfg 32 Figure 5 25 Web page shown by the Konqueror File Manager 33 Figure 5 26 Installing Linux from the Starter Kit CD ROM 34 Figure 5 27 Selecting transfer protocol 34 Fete 5 28 Pile select nd EE 35 erter 35 Figure 5 30 Running mus 36 EE EG EE 36 SSV EMBEDDED SYSTEMS ADNP 1520 Starter Kit Appendix Gg geg F List of Tables Figure 5 32 Login procedure via Minicom cccccsescccseececee
4. Datei Sitzungen Optionen Hilfe 2 file s 0 bytes RB COM Receive Y ModemG Batch Yersion 1 02 c SSY 2000 Ha Goto Prev Show Tag CUntag C tag ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 06 Ne Ly A neu PB Konsole nr 1 Figure 5 28 File select in rb mode The following figure shows the file transfer process from the Starter Kit CD ROM to the ADNP 1520 NO Datei Sitzungen Optionen Hilfe 2 file s 0 bytes 7 389 184 bytes free C LINUX gt rb RB COM Receive Y ModemG Batch Yersion 1 02 c SSY 2000 Hait for lem upload Press CTRL C to quit User breet B Program e anal Volume il Oo 1 ume S aL E TO AEK Directory of C LINUX lt DIR gt 01 01 1980 12 02a lt DIR gt 01 01 1980 12 02a 2 file s 0 bytes 7 389 184 bytes free C LINUX gt rb RB COM Receive Y ModemG Batch Yersion 1 02 c SSY 2000 Wait for Files End with CTRL C C ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 YT102 Online 00 08 New Konsole Nr 1 Figure 5 29 File transfer in rb mode SSV EMBEDDED SYSTEMS 35 ADNP 1520 Starter Kit First Steps E mem Se See WS 5 2 5 Running Linux When all necessary files are placed on the ADNP 1520 you are ready to start Embedded Linux For this make sure that you are within the directory C LINUX Type in the command start and confirm this input with pressi
5. fo GE EG ol EE EE SRGCSCSCARGEGRODMEMES DESO RE EDS O BORER S d link E f CEET re Cee rrr rrr SLET LET TT TETT TETTE TETTE TET EE HUTT ELLE 22 66 GE ETT ETE EET ETTE TET ETE ETTE Pee eee eee eT eee re cake EN gt LEE EET EE EE EE ess TM Ss Figure 4 1 Position of the ADNP 1520 on the Evaluation Board SSV EMBEDDED SYSTEMS 11 ADNP 1520 Starter Kit Connections EE F San Ga S 4 2 Cable Connections Before you can use your DIL NetPC Starter Kit you need a further Desktop or Notebook PC which acts as development system This development system should run under MS Windows or Linux in an ideal manner Between the development system and the Starter Kit are two connections required At first the RS232 Serial Link and at second the Ethernet Link The PC will act as development system and as Remote Console Monitor RCM for the ADNP 1520 on the Evaluation Board tine Som deb Geb at sei hit ast nae EEA 3 Ari palm af hf mi od dad a et CET G LKA EE a EIESERREEEEEE E EH EE Bebe ENKELS ae oe en GEES EPERE EHE net Bil SET T ale sch kleed g kd G l ee d HH Hr PERHERE g sekret el dre 4 opp ea es F ELLE ia Lo ee ee ee re By ZZ EJPtPSP PP ee a ee mesk PETE a a a be Hark Pree Tee Se Cee ee Eu da ER aa H LE es EES PPP ete Pee rs kn 4 Z iptr reraterggrerger rg PEHE k t ab K KR D Pare PETE il E LG ee KEE REEL hokage EE RHER ul on ER Gkd keen bl
6. F dktttk ktt ESE aka ER SES oe be ie Raae HEE raat FERFE im PATENTERTE eat I sms sj ad ke LELET EJ Kamal Per EE ES ee oni Shae fran Sea EF ere HH TE Ethernet Link CETE EIER ES GEZEI AL SEO k te SR bii Hitt fit a WI eanerg GE MA Senn p D ES I Bis D a d bk d Jobbet aadnk om TTS EIER ES ENKE at P FE EE PO ot ES j J ER REE TER q 3 z D F ETA t 4 Figure 4 2 Overview about the required cable Connections SSV EMBEDDED SYSTEMS 12 T Ss 4 3 Serial Link For the Serial Link you need a Null Modem cable This cable comes along with your Starter Kit Please connect the Evaluation Board with the COM1 port of your development system by using this cable fare HERE PE gi E E EE E LE E EE E E E E E E E E E ey a seder LEI J CH SR ie LEE PE wu Wi i te KURS 1 wii F TTT AA wm E I ae Sg Bez en om mme si ji gg HI fa abba Hi ba bad HI LSA FEF E l 13 iii HH i CEOE E E itzizaz TER TETT i HEHH HHEHEHH L GE GEA G ea CH fa I RS232 Serial Link Figure 4 3 Serial Link Connection SSV EMBEDDED SYSTEMS 13 ADNP 1520 Starter Kit Connections i F T Ba VE 4 4 Ethernet Link The Ethernet Link can be made on two ways First with a crossover cable and second with two standard 10Base T patch cables and a Hub or Switch In both cases an Ethernet LAN inter
7. for a list of built in commands ipaddree w 192 168 0 222 m 255 255 255 0 ipaddree 192 168 0 255 255 broadcast 192 168 0 network 192 168 0 d ALT 2 for help 1115200 8N1 NOR I Minicom 1 83 1 I YT102 Online 00 19 C Neu 9 konsole Nr Figure 6 1 Changing the IP address with ipaddree With help of ipaddree it is possible to change the IP address of the ADNP 1520 With enter ipaddree the programm will show you a short help dialog Note After you have changed the IP address it is absolut necessary to restart the ADNP 1520 After the restart the changed settings will be stored durable in the Flash of the ADNP 1520 SSV EMBEDDED SYSTEMS 42 ADNP 1520 Starter Kit Troubleshooting st F 7 Troubleshooting This page shows problems that can be corrected by users If a problem persists after trying these solutions please contact SSV Embedded Systems Probable Cause No power to the Power cable is Make sure power cable is securely system at all Power unplugged plugged in light does not illuminate Power supply failure Contact technical support Defective power Contact technical support cable Incorrect polarity Make sure polarity of the cable matched with polarity from connector No boot messages RCM jumper is not Open RCM jumper will block all boot set messages SSV EMBEDDED SYSTEMS 43 ADNP 1520 Starter Kit Appendix as J 8 Appendix The Appendi
8. The precise terms and conditions for copying distribution and modification follow Pay close attention to the difference between a work based on the library and a work that uses the library The former contains code derived from the library whereas the latter must be combined with the library in order to run GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING DISTRIBUTION AND MODIFICATION 1 This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License also called this License Each licensee is addressed as you A library means a collection of software functions and or data prepared so as to be conveniently linked with application programs which use some of those functions and data to form executables The Library below refers to any such software library or work which has been distributed under these terms A work based on the Library means either the Library or any derivative work under copyright law that is to say a work containing the Library or a portion of it either verbatim or with modifications and or translated straightforwardly into another language Hereinafter translation is included without limitation in the term modification SSV EMBEDDED SYSTEMS 60 ADNP 1520 Starter Kit App
9. etc Interrupt vector of your packet driver is 0x60 iface pdr if0O dix 1500 10 0x60 When using a gateway IP router to the rest of the world replace XXX XXX XXX XXX with your gateway ip route add default if0 NNN NNN NNN NNN When using a dns to resolve name lookups replace XXX XXX XXX XXX with your gateway ip domain server XXX XXX XXX XXX The following line will just display the info for easy verification ip address The following lines set TCP IP parameters ip til 15 tcp mss 1460 tcp window 2920 SSV EMBEDDED SYSTEMS 41 ADNP 1520 Starter Kit Setting your own IP address with Linux 6 2 Setting the IP address under Linux To set the IP adress of your ADNP 1520 with a development system running under Linux it is necessary to open a serial data connection between the development system and the ADNP 1520 Please use root as login name and type in ipaddree to start the respective program L NS Starting Network lo E Local time GMT Tue Jan 1 00 00 58 UTC 1980 Configuring serial ports ttySl LSR safety check engaged dev ttySO at 0x03f8 irq 4 is a 16550A E sl INIT Entering runlevel 2 Starting netbase daemons routed portmap inetd Starting periodic command scheduler cron SSY Embedded Linux Yersion 1 00 ADNP1520 emblinux login root loginL 1751 root login on ttyS0 BusyBox v0 60 1 2001 09 28 09 44 0000 Built in shell ash Enter help
10. mtdblockd 61 root S L jffs_gcd 134 root S usr sbin routed q 138 daemon sbin portmap 142 root S usr sbin inetd 150 root S usr sbin cron 160 nobody S usr local sbin thttpd d usr local www c sn 165 root S sbin getty 115200 ttyS0 vt100 170 root S in telnetd UNKNOHN 171 gast S ash 174 gast R ps EI d 3 neu erin nc Figure 5 33 Login procedure via Telnet Please pay attention that this command will pass the IP address of your ADNP 1520 as parameter to the client SSV EMBEDDED SYSTEMS 38 ADNP 1520 Starter Kit First Steps F e a mr WS 5 2 8 File Transfer via FTP The File Transfer Protocol FTP provides a common approach to transfer files between clients and servers FTP is a client server protocol like Telnet An FTP session begins when the client builds a TCP IP connection to the server Once this connection is established the client will log on to this server In our actual case your development system acts as client and the ADNP 1520 operates as server After the successful access onto the server you are able to execute various file transfer commands which typically involves navigating the FTP server s directory structure and send or receive files In the following an example of an FTP Session is shown The FTP client server capability is already build into the Konqueror To use the File Transfer Protocol on your Linux system please open a command Shell like Minicom and branch into the des
11. 1520 At first please restart the ADNP 1520 by pressing the reset button to switch into the default configuration Then open a HyperTerminal session and type in mkdir linux to create a directory called LINUX Type in cd linux to switch into this new directory Now please type in the command rb and confirm this input with pressing Enter The system turns into a wait state and shows this with sending the letter C to the screen Li D PIS Deki Caan Arkh Ard Egiara 7 EE Starting ANM DOS IHIKEH vf 19 Revision 3 900 6 Al Copright Lech 1989 ie Eh fatal ight Inc Wsing Phe RAD Control mm ae BAS hand ez avai lable Hiniw HWA mnga 15 AK INDISK v 72 Revision 3 00 64 Copright cof 1989 2000 Datalight Inc Installed ARA HAS HIR disk as drive D JO Sombie l i rane ocd Linum Cs NLT ROH by R COM Feree Medeah Wel Version 1 87 cl 554 mpi Wait for Files End with CTRL CCEC Figure 5 9 Transfering data to the ADNP 1520 Starting ADM DIS INTKEN v7 18 Ravisian 4 00 6 7 Copyright Lech 19597008 Sr a Inc Using PS2 BIR Control DH 132 ONE handles eng loble Minssus HHH usage 15 k G r EPO DOS Fracige FCs INDISK vp 27 Revision 3 0 Copyright Co 1983 2000 0frtknr bas merchge ret ig Installed 4096KE HAS BAM AC wkdir linux Eea dician IC red Linu SLIME Fl RE COM Racer Y kodemh Batch Version 1 87 Ich Sp 20 Moit for Files End with CIR LC Figure 5 10 Selec
12. 3 and 2 4 to select the RS232 data mode The table below show you these settings JP1 JP2 Table 3 1 Jumper Settings to use COM3 in RS232 mode 3 12 2 Using COM3 in RS485 Mode To use the COM3 port in RS485 mode please set the Jumpers JP1 on position 2 3 and the jumpers on JP2 on the positions 3 5 and 4 6 to select the RS485 data mode JP1 JP2 Table 3 2 Jumper Settings to use COM3 in RS485 mode SSV EMBEDDED SYSTEMS 10 slk 3 4 Connections For a quick and easy start with the DNP SKIO Starter Kit there are several connections necessary The following chapter describes how and between which components these connections have to be made 4 1 Mounting the ADNP 1520 To mount the ADNP 1520 on the Evaluation Board DNP EVA2 SV4 identify the pin 1 corner on the socket and the pin l corner on the ADNP 1520 On the ADNP 1520 a white sign marks the pin 1 corner Matching the pin 1 corners drop the ADNP 1520 down into the socket There is only a little bit force required and the ADNP 1520 should seat easily into the socket This locks the ADNP 1520 in place EEE ee EE EE EEE EEE ETTE TT EEE EE atdet aff fan af ut fl ss LTE EE EEE EEE EEE ETTE IE EE LE AEE EEE EEE ETTE EEE TET EE EE RRR REESE HATET Ea ke l LETTET TETTE ETEN TT eee eee ETTE LEA RE EEE EET EE ETE EIE EIE IEEE EE LL ET ETE TT TETTE fedd bd G Go Gol ik SCEPC ERP a H a a h Loe h ENTEN eee eee et eee Pee eee H EEE EEE EE ee ee
13. CLOCK TESTING CMOS RAM CHECKSUM Datalight FlashFx 4 05 309 386 DOS Copyright c 1993 2000 Patent US 5860082 Sea ROM DOS ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 02 Neu E Konsole Nr 1 Figure 5 20 ROM DOS boot process in progress To the end of this sequence a ROM DOS command prompt will appear The boot process of the ADNP 1520 is now complete I EE e Ee e Datei Sitzungen Optionen Hilfe TESTING DMA CONTROLLER TESTING SYSTEM MEMORY 640K PASS TESTING EXTENDED MEMORY 64512K PASS TESTING COMPACT FLASH TESTING REAL TIME CLOCK TESTING CMOS RAM CHECKSUM Datalight FlashFx 4 05 309 386 DOS a sl Copyright c 1993 2000 Patent US 5860082 Starting ROM DOS HIMEM v7 10 Revision 3 00 44 Copyright c 1989 2000 Datalight Inc Using PS2 A20 Control OM 32 XMS handles available Minimum HMA usage is OK YDISK v6 22 Revision 3 00 44 Copyright c 1989 2000 Datalight Inc Installed 4096KB XMS RAM disk as drive D SDK ALT 2 for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 03 Dres eroen Figure 5 21 After the ROM DOS boot process SSV EMBEDDED SYSTEMS 30 Now please enter cd emnet to change into the directory EMNET Then type in start to run the Web server inside the ADNP 1520 Xx Konsole Konsole ol sie Datei Sitzungen Optionen Hilfe MIIPHY EXE v2 21 021204 PHY programming utility for SMSC boards For
14. Farini 1 eo Pee ee a GD Erebuddad TGpnp FARHA d Call p The DEIR oo reed mkedded retenta mnam Ihrem fie DAGE il ere ea ro regen 5 mh renas be md coer erg var cikar bp bssd op br Ceger e hara bt ne ster hrs i TAT boed poe erry nolo Ek more ier kpra 0 l er eu F selen There d eu p farer Dee ie be 578 pies ey lee a Fleet TOFTE ein fk gen Arts e Teinie r Uu Mart ork acces dc sed ts Op ZU Dat s n eech su ES 650 ee ek TIL biz s d 51 E E hash bare Sg k mu ETTI cag geir al apr piap ji Bel Hit aalo Eha PO eee s hep sr pi gue rier S Ther art bar gra for D Ort ieron 1 aden the DL PC jo vos ceria product Ur the cote A eather oredert bo comma mit Al P L a Figure 5 8 Web page shown by the MS Internet Explorer If your Web browser can t establish a connection to the Web Server but the Ping was successful you should check your browser settings Please ensure that your browser is joined with TCP IP by using the Ethernet card in your development system Alternatively you have to install a suitable Web browser In some cases the Web browser is only configured for modem based Internet access In this case please install a second Web browser from your original operating system CD ROM SSV EMBEDDED SYSTEMS 21 ADNP 1520 Starter Kit First Steps FEE 5 1 4 Installing Linux T Dem Ss Now you have to transfer some files from your Starterkit CD ROM to the ADNP
15. License along with this program if not write to the Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Also add information on how to contact you by electronic and paper mail If the program is interactive make it output a short notice like this when it starts in an interactive mode Gnomovision version 69 Copyright year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY for details type show w This is free software and you are welcome to redistribute it under certain conditions type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of course the commands you use may be called something other than show w and show c they could even be mouse clicks or menu items whatever suits your program You should also get your employer if you work as a programmer or your school if any to sign a copyright disclaimer for the program if necessary Here is a sample alter the names Yoyodyne Inc hereby disclaims all copyright interest in the program Gnomovision which makes passes at compilers written by James Hacker lt signature of Ty Coon gt 1 April 1989 Ty Coon President of Vice This General Public License does not permit incorporating your program into proprietary programs If your program is a subroutine library you may consider it more useful to permit linking propr
16. Patent US 5860082 Starting ROM DOS HIMEM v7 10 Revision 3 00 44 Copyright c 1989 2000 Datalight Inc Using PS2 A20 Control ON 32 KMS handles available Minimum HMA usage is K VDISK v6 22 Revision 3 00 44 Copyright c 1989 2000 Datalight Inc Installed 4 96KB KMS RAM disk as drive D C gt Verbunden 00 04 51 fAutom Erkenn 1152008N 1 RF GROSS NF Aufzeichnen Druckerecho J Figure 5 4 ROM DOS command prompt SSV EMBEDDED SYSTEMS 18 ADNP 1520 Starter Kit First Steps ess F Ss Now please enter cd emnet to change into the directory EMNET Then type in start to run the Web server inside the ADNP 1520 h DHPIS jege l rrm al Pimi ES Dan Esmin Angcht Ace Lees je sd el s dee ighi FlashFu LO 200 3 BR he Si Lch 1993 2008 Patent BHAR Starting ROM DOS g af LD Revision 3 00 64 pr ight ich 1589 2008 Datalight nc joe S AeA Control ON 23 SAS handles available Minds HAR usage is Ok VDLSK v 22 Revision 2 00 64 Cop sriaht Lech 1989 7009 Datalight Inc Installed GORE HHS BAK disk as drive D IC ed EMHET C AEWRE T start Ot Aun Erni Lee El HI HE Det Figure 5 5 Starting the Web server Note For a first test of the ADNP 1520 you have to change the assigned IP address of your development system to 192 168 0 1 To change the IP address under MS Windows just click Start gt Settings gt Control Panel gt Network gt
17. ROM At next select the zmodem option in the upcoming Minicom window and confirm this with pressing Enter The reason to do this although you normally would choose ymodem is a little bug in Minicom so here you have to select zmodem absolutely Choosing ymodem may result in different error messages I PE OS S Datei Sitzungen Optionen Hilfe 2 file s 0 bytes D 7 389 184 bytes free C LINUX gt rb RB COM Receive Y ModemG Batch Yersion 1 02 c SSY 2000 Hait for Files End with CTRL LUpload1 Lei D Program exit C LINUX gt dir User break Volume in drive C is FX SSD Volume Serial Number is 6DFD B6FO Directory of C LINUX lt DIR gt 01 01 1980 12 02a lt DIR gt 01 01 1980 12 02a 2 file s 0 bytes 7 389 184 bytes free C LINUX gt rb RB COM Receive Y ModemG Batch Version 1 02 c SSY 2000 Wait for Files End with CTRL C C ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 06 F Neu R Konsole Nr 1 Figure 5 27 Selecting transfer protocol SSV EMBEDDED SYSTEMS 34 ADNP 1520 Starter Kit First Steps mg vg a Then select the files you need to transfer to the ADNP 1520 In the directory cdrom ROM DOS Linux PreCfgs PreCfg1 you find the four files Please select and transfer all these files to your ADNP 1520 When all files are transmitted leave this mode by pressing Esc on your keyboard Lx Konsole Konsole OI sie
18. TCP IP and enter the new IP address Please make sure that you don t use another IP address this will lead to different network problems SSV EMBEDDED SYSTEMS 19 ADNP 1520 Starter Kit First Steps i WJ ig d 5 1 2 Checking the Ethernet Link To test the TCP IP communication we use PING a very popular TCP IP utility program Please open a DOS window you can find it in the Windows Start menu and enter ping 192 168 0 125 MS DOS Eingabeaufforderung olx 8 C Copyright Microsoft Corp 1981 1999 C WINDOWHSNCOMMAND ping 192 168 0 125 Ping wird ausgef hrt f r 192 168 125 mit 32 Bytes Daten Antwort von 192 168 0 125 Bytes 32 Zeit 8ims TTL 14 Antwort von 192 168 0 125 Bytes 32 Zeit 14ms TTL 14 Antwort von 192 168 0 125 Bytes 32 Zeit 6ms TTL 14 Antwort von 192 168 0 125 Bytes 32 Zeit 49ms TTL 14 Ping Statistik fur 192 168 0 125 akete Gesendet 4 Empfangen 4 Verloren Verlust Ca Zeitangaben in Millisek Minimum 6ms Maximum S8ims Mittelwert 37ms C WINDOWS COMMAND gt _ Figure 5 6 Communication check via PING The Starter Kit must answer this ping Otherwise an error will occur In this case you have to check all parts of your LAN connection including the P address of the development system Then you should find out if the IP address is set correctly to the value 192 168 0 1 For an easy check of the IP address you can use the following DOS command
19. THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE LIBRARY AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU SHOULD THE LIBRARY PROVE DEFECTIVE YOU ASSUME THE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION 16 INNO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MAY MODIFY AND OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE BE LIABLE TO YOU FOR DAMAGES INCLUDING ANY GENERAL SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library and you want it to be of the greatest possible use to the public we recommend making it free software that everyone can redistribute and change You can do so by permitting redistribution under these terms or alternatively under the terms
20. a 128 pin QIL socket QIL Quad In Line to mount your ADNP 1520 e SEET on tH am Evaluation Board TITTTI i DNP EVA2 SV4 E KEE k hb Ap t E ADNP 1520 I ee a mannen Sormd Kl p Powe Hi Figure 2 1 Evaluation Board EVA2 with ADNP 1520 The Starter Kit DNP SK10 provides all required basic hard and software environment which allows you the development of individual applications for your ADNP 1520 For an instant connection to your hardware the Evaluation Board supports a serial COM interface a 10 100Mbps Ethernet interface as well as a QIL 128 interface Further you will find a prototype wire wrap area eight LEDs DIP switches and one reset switch which allows you to test your peripheral applications very easy With the prototype area you have an good place to install and to test your own applications on the Evaluation Board SSV EMBEDDED SYSTEMS 6 Ss A Board Components This chapter describes the most interesting components of the Evaluation Board DNP EVA2 SV4 and gives a short overview about their respective functions EET eee EEE ee ETTE ETE PE EEE TET ETNE TETEN METT TT TET TT TVETEN TETT NET ETE EEE FITTE ETT KE eee core eee ee ETTE TT Cee ee RR E D e FEF hli EEE eh TEE F IWER FEET ei hb hk Pr sm CTT LE i k LEE TT FF F E pa ETE F F EEEE cto ee k hae E pa econ CT EE i TETTI LELETET A PT ETT TIELT ETELE Leos DIP swite
21. alter the names Yoyodyne Inc hereby disclaims all copyright interest in thelibrary Prob a library for tweaking knobs written by James Random Hacker lt signature of Ty Coon gt I April 1990 Ty Coon President of Vice SSV EMBEDDED SYSTEMS 66 ADNP 1520 Starter Kit Appendix List of Figures Figure 2 1 Evaluation Board EVA2 with ADNP 1520 eerrrnnnrrvnnnnrrvvrnnnrrnnnnnerennrnnersrnnnee 6 Figure 3 1 Main components of the Evaluation Board DNP EV A7 SN 7 Figure 4 1 Position of the ADNP 1520 on the Evaluation Board 11 Figure 4 2 Overview about the required cable Connections cccceeeseeececeeeeeeeeeeeees 12 Figure 4 3 Serial Link Connection rrnvrrvnnnnervvnnnnrrvnnnnerevnnnnerennnnerernnnnerennnnesrnnsnnesensnneee 13 Figure 4 4 Ethernet Link Connection using a Hub Switch rrnrnnnrrrnnnnrrrvnnnerrvnrnnerennnnee 14 Figure 4 5 Ethernet Link Connection using a crossover cable sessenessserssseeresseeesse 14 Figure 4 6 Power supply Connecton 15 Figure 5 1 Interface property Sheet 16 EE Baud rate SN 17 Figure 5 3 ROM DOS boot process rrrrrnnnnrrvvrnnnrrvrnnnerevrnnnerennnnerennnnnerrnnnnessnnnnnesensnneee 18 Figure 5 4 ROM DOS command prompt eesenssseesssesseesssesssersssersseesssersssessserssserss 18 He SNEV ENG 19 Figure 5 6 Communication check via PINO 20 Figure 5 7 Communication check via ipconfig Commande 20 Figure 5 8 Web page shown by the MS Internet Explorer
22. difference between your system directories and folders W and an Internet or intranet address So you can simply type in the desired address Open a second instance of Konqueror and change into the desired source directory After that you are able to transfer arbitrary files very easy by using drag and drop between these two Konqueror windows e 2 file Amnt winC temp Konqueror Adresse Bearbeiten Ansicht Gehe zu Lesezeichen Werkzeuge Einstellungen Fenster Hilfe Se Ce st dee Bs 27 kl Ea Trag PPC SDK zi 16 3 KB 20 10 2001 20 10 rwxr xr x Zjjoe zip 1 2 MB 03 01 2002 11 18 rwxr xr x root root i Gmailcli zip 168 9 KB 02 09 2001 23 39 rwxr xr x root root E boot mailcli_c htm 9 3 KB 02 09 2001 23 39 rwxr xr x root root E dev E messungen css 356 B 23 08 2001 10 18 rwxr xr x root root a Dar messungen xml 751 B 23 08 2001 10 05 rwxr xr x root root E home PY midlets1 par 180 0 KB 27 08 2001 19 01 rwxr xr x root root a D midlets2 paf 84 0 KB 27 08 2001 19 05 mwxr xr x root root re Kenetspy exe 519 4 KB 08 09 2001 13 48 rwxr xr x h See netspy exe Mont 4 E amp proc Adresse Bearbeiten Ansicht Gehe zu Lesezeichen Werkzeuge Einstellungen Fenster Hilfe amp root E Sr Fe EE E3 Berechtigungen Verkn pfung D FB Netzwe rk f 4 Pers nliches Verzei A midlets1 gg 50 0 KB 01 01 2002 09 11 rw r gast users E amp wurzelver
23. is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License 1 If the distribution and or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries so that distribution is permitted only in or among countries not thus excluded In such case this License incorporates the limitation as if written in the body of this License 1 The Free Software Foundation may publish revised and or new versions of the General Public License from time to time Such new versions will be similar in spirit to the present version but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Program specifies a version number of this License which applies to it and any later version you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Program does not specify a version number of this License you may choose any version ever published by the Free Software Foundation 10 If you wish to incorporate parts of the Program into other free programs whose d
24. modify or distribute the Library or its derivative works These actions are prohibited by law if you do not accept this License Therefore by modifying or distributing the Library or any work based on the Library you indicate your acceptance of this License to do so and all its terms and conditions for copying distributing or modifying the Library or works based on it 10 Each time you redistribute the Library or any work based on the Library the recipient automatically receives a license from the original licensor to copy distribute link with or modify the Library subject to these terms and conditions You may not impose any further restrictions on the recipients exercise of the rights granted herein You are not responsible for enforcing compliance by third parties with this License 11 If as a consequence of a court judgment or allegation of patent infringement or for any other reason not limited to patent issues conditions are imposed on you whether by court order agreement or otherwise that contradict the conditions of this License they do not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations then as a consequence you may not distribute the Library at all For example if a patent license would not permit royalty free redistribution of the Library by all those who receive copies directly or indirect
25. of the ordinary General Public License To apply these terms attach the following notices to the library It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty and each file should have at least the copyright line and a pointer to where the full notice is found lt one line to give the library s name and a brief idea of what it does gt Copyright O lt year gt lt name of author gt This library is free software you can redistribute it and or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation either version 2 1 of the License or at your option any later version This library is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU Lesser General Public License for more details You should have received a copy of the GNU Lesser General Public License along with this library if not write to the Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Also add information on how to contact you by electronic and paper mail You should also get your employer if you work as a programmer or your school if any to sign a SSV EMBEDDED SYSTEMS 65 ADNP 1520 Starter Kit Appendix e i copyright disclaimer for the library if necessary Here is a sample
26. sublicense or distribute the Program except as expressly provided under this License Any attempt otherwise to copy modify sublicense or distribute the Program is void and will automatically terminate your rights under this License However parties who have received copies or rights from you under this License will not have their licenses terminated so long as such parties remain in full compliance 5 You are not required to accept this License since you have not signed it However nothing else grants you permission to modify or distribute the Program or its derivative works These actions are prohibited by law if you do not accept this License Therefore by modifying or distributing the Program or any work based on the Program you indicate your acceptance of this License to do so and all its terms and conditions for copying distributing or modifying the Program or works based on it 6 Each time you redistribute the Program or any work based on the Program the recipient automatically receives a license from the original licensor to copy distribute or modify the Program subject to these terms and conditions You may not impose any further restrictions on the recipients exercise of the rights granted herein You are not responsible for enforcing compliance by third parties to this License 1 If as a consequence of a court judgment or allegation of patent infringement or for any other reason not limited to patent issues co
27. that copy so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy This option is useful when you wish to copy part of the code of the Library into a program that is not a library 4 You may copy and distribute the Library or a portion or derivative of it under Section 2 in object code or executable form under the terms of Sections I and 2 above provided that you accompany it with the complete corresponding machine readable source code which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange If distribution of object code is made by offering access to copy from a designated place then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code even though third parties are not compelled to copy the source along with the object code 5 A program that contains no derivative of any portion of the Library but is designed to work with the Library by being compiled or linked with it is called a work that uses the Library Such a work in isolation is not a derivative work of the Library and therefore falls outside the scope of this License However linking a work that uses the Library with the Library creates an executable that is a derivative of the Library because it contains portions of the Library rather than a work that uses
28. the library The executable is therefore covered by this License Section 6 states terms for distribution of such executables When a work that uses the Library uses material from a header file that is part of the Library the object code for the work may be a derivative work of the Library even though the source code is not Whether this is true 1s especially significant if the work can be linked without the Library or if the work is itself a library The threshold for this to be true is not precisely defined by law If such an object file uses only numerical parameters data structure layouts and accessors and small macros and small inline functions ten lines or less in length then the use of the object file is unrestricted regardless of whether it is legally a derivative work Executables containing this object code plus portions of the Library will still fall under Section 6 Otherwise if the work is a derivative of the Library you may distribute the object code for the work under the terms of Section 6 Any executables containing that work also fall under Section 6 whether or not they are linked directly with the Library itself 6 As an exception to the Sections above you may also combine or link a work that uses the Library with the Library to produce a work containing portions of the Library and distribute that work under terms of your choice provided that the terms permit modification of the work for the custome
29. these settings can also be used for other terminal programs The following parameters are important to use e Connection Speed 115 200 bps Bits per Second e 8 Data bits e No Parity bit e 1 Stop bit e No Protocol Xon Xoff RTS CTS or similar SSV EMBEDDED SYSTEMS 17 ADNP 1520 Starter Kit First Steps es F Sa Ga Ge Now turn on the power for the Evaluation Board and you will see all steps of the ADNP 1520 boot process in the terminal program window at your PC DNP1520 HyperT erminal SIE Datei Bearbeiten Ansicht Am bertragung ESB486 for DIL NetPC ADNP 1526 3V NV Lon Copyright 2002 SSV SOFTWARE SYSTEMS GmbH TESTING INTERVAL TIMER TESTING INTERRUPT CONTROLLER TESTING DMA CONTROLLER TESTING SYSTEM MEMORY TESTING EXTENDED MEMORY 64512K PASS TESTING COMPACT FLASH OFF TESTING REAL TIME CLOCK TESTING CMOS RAM CHECKSUM FlashFx 386 DOS pyright c 1993 2000 tent Pa USH5860082 verbunden 00 07 43 Autom Erkenn 1152008N 1 RF GROSS NF Aufzeichnen Druckerecho A Figure 5 3 ROM DOS boot process After the self test sequence is done the ROM DOS boot process will be initialized When finished you will see the following screen with a ROM DOS prompt which is waiting for a user input DNP1520 HyperT erminal SIE Datei Bearbeiten Ansicht Am bertragung TESTING REAL TIME CLOCK TESTING CMOS RAM CHECKSUM Datalight FlashFx NA OD 200 386 DOS Copyright c 1993 2000
30. via HyperTerminal SSV EMBEDDED SYSTEMS 25 ADNP 1520 Starter Kit First Steps Eng F St Ban S 5 1 7 Login via Telnet You are now able to start a Telnet client on the development system Open a command shell and enter the following command telnet 192 168 0 126 of Telnet 192 168 0 126 lolx Verbinden Bearbeiten Terminal SSV Embedded Linux Version 0 05 X11 1 emblinux login gast Password gast emblinux gast ps A PID TTY TIME CMD 1 0 0 00 00 02 init 2 0 0 00 00 00 keventd 3 0 0 00 00 00 ksoftirgd CPUO 4 0 0 00 00 00 kswapd 5 0 0 00 00 00 bdflush 6 0 0 00 00 00 kupdated 53 0 0 00 00 00 mtdblockd 97 0 0 00 00 00 inetd 106 0 0 00 00 00 thttpd 113 0 0 00 00 00 jffs gcd 116 204 5 00 00 00 getty 0 0 00 00 00 in telnetd 118 136 0 00 00 00 sh 122 136 0 00 00 00 ps gast emblinux gast f Figure 5 15 Login procedure via Telnet Please pay attention this command will pass the P address of your ADNP 1520 as parameter to the client SSV EMBEDDED SYSTEMS 26 ADNP 1520 Starter Kit First Steps l d Ny UI 5 1 8 File Transfer via FTP The File Transfer Protocol FTP provides a common approach to transfer files between clients and servers FTP is a client server protocol like Telnet The FTP client server capability is build into most Windows versions An FTP session begins when the client builds a TCP IP connection to the server Once this connection is established the client will log on
31. 03 2003 Chapter added JNE 15 07 2003 Some content corrections KDW This document is written only for the internal application The contents of this document can change any time without announcement There is taken over no guarantee for the accuracy of the statements Copyright SSV EMBEDDED SYSTEMS 2003 All rights reserved INFORMATION PROVIDED IN THIS DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND The user assumes the entire risk as to the accuracy and the use of this document Some names within this document can be trademarks of their respective holders SSV EMBEDDED SYSTEMS 70
32. 10 100 Mbps Ethernet Connector 49 Table A2 6 Pinout Power Eeer e se deen deet 49 Table A2 7 RCM Jumper Settngs 49 SSV EMBEDDED SYSTEMS 68 ADNP 1520 Starter Kit Appendix Gg geg F List of Appendixes Appendix I Pin Assignment 128 pin QIL Connector 1 Pati 44 Appendix I Pin Assignment 128 pin QIL Connector 2 Pati 45 Appendix 1 Pin Assignment 128 pin QIL Connector 3 Pat 46 Appendix I Pin Assignment 128 pin QIL Connector 4 Pat 47 Appendix 2 Pin Assignment DNP EVA2 SV4 Components rrrnerrrnnnnrrvvnnnerrvnnnnnrrnnnnee 48 Appendix 3 Mechanical Dimensions rerrrvnrnnrrvrrnnerrvnnnnervrnnnnerernnnnerennnnersrnnnnerrssnnesernnn 50 Appendix 4 GNU General Public License rrrrrnnnrrvrnnnerrvrnnnrrvnnnnerennnnnerrrnnnnerennnnerensnneee 54 Appendix 5 GNU Lesser General Public License rrrnrrrnnnnnrrvvnnnerrvrnnnerrvnnnerrrnrnnerernnneer 59 Ee al E U een een sere ser ene ene see ene ene ene ee ee enn ere ene en ee ne nn ener oer enn ee 67 EE Eeer 68 List Of Apmpendses 69 Rene EE 70 Document HIStory ccccccccccseecceseeeccseeeeeseeeeeaeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeaeeeseeeeeeeaseseaeseeeaeneees 70 SSV EMBEDDED SYSTEMS 69 ADNP 1520 Starter Kit Appendix Gg geg F Contact SSV Embedded Systems Heisterbergallee 72 D 30453 Hannover Tel 49 0 511 40000 0 Fax 49 0 511 40000 40 E Mail sales istl de Internet www ssv embedded de Document History Revision Date Name 04
33. 100 Mbps Ethernet Connector Power Connector Pin Name Signal gt Table A2 6 Pinout Power Connector RCM Jumper Jumper JP3 Disable RCM mode for ADNP 1520 Enable RCM mode for ADNP 1520 Table A2 7 RCM Jumper Settings SSV EMBEDDED SYSTEMS 49 ADNP 1520 Starter Kit Appendix SE F Appendix 3 Using the Chip Selects The chip selects on the ADNP 1520 have no default configuration so it is possible to make different user specific settings The chip selects and PAR areas Programmable Address Range of the ADNP 1520 are mapped as shown in the following table This table shows the allocation between the internal chip selects and the chip select lines on the Elan SC520 ADNP CS CS Line Elan GPCS2 PARO GPCS3 PARI GPCS4 PAR2 GPCSS PAR3 Table A2 8 Chip Select Mapping MMCR Offset Addr Progr Addr RegionO PARO 88h Progr Addr Region PARI Progr Addr Region PAR2 Progr Addr Region3 PAR3 Table A2 9 Address Decoding Registers Memory Mapped Note For further information please look at chapter 4 of the AMD Elan SC520 Microcontroller User s Manual and the AMD Elan SC520 Microcontroller Register Set Manual page 2 5 BB GC im ee H GLECK ve oe moon en n Figure 8 1 Chip Select Allocation SSV EMBEDDED SYSTEMS 50 ADNP 1520 Starter Kit Appendix e F Please pay attention to the following information All configuration registers that do not reside in
34. 1520 for initial configurations In the following we will show you how to use Minicom and what you have to do to adjust the necessary settings Open a terminal window and type in the command minicom s to get access to the serial port settings Now you can change some configuration parameters such as the maximum baud rate Set the serial port parameters for the maximum baud rate on 115 200 bps Saf root n6g4d3 localdomain root Terminal Datei Sitzungen Optionen Hilfe Serial Device dev ttyS0 B Lockfile Location var lock C Callin Program D E Callout Program Bps Par Bits 115200 8N1 F Hardware Flow Control No G Software Flow Control No Change which setting J Screen and keyboard Save setup as dfl Save setup as Exit Exit from Minicom Figure 5 19 Serial Port Settings under Minicom SSV EMBEDDED SYSTEMS 29 ADNP 1520 Starter Kit First Steps UI H 11 After that please turn on the power for the Evaluation Board You will now see all steps of the ADNP 1520 ROM DOS boot process via Minicom Xx Konsole Konsole OD 7 1 amp Datei Sitzungen Optionen Hilfe ESB486 for DIL NetPC ADNP 1520 3Y 0 18A Copyright 2002 SSY SOFTWARE SYSTEMS GmbH TESTING INTERYAL TIMER TESTING INTERRUPT CONTROLLER TESTING DMA CONTROLLER a sl TESTING SYSTEM MEMORY 640K PASS TESTING EXTENDED MEMORY 64512K PASS TESTING COMPACT FLASH TESTING REAL TIME
35. 3 Bytes empfangen in 0 00Sekunden 173000 00KB Sek Ftp gt bye 221 Goodbye c _temp gt Figure 5 17 FTP file transfer under DOS In some Windows versions the Internet Explorer is able to act as FTP client just like an Internet browser To transfer files by using the Internet Explorer enter ftp gast 192 168 0 126 as URL into the address bar Moreover open the Windows Explorer as second file destination Now you can transfer your desired files very easy by using drag and drop between these two windows Simply drag the selected file s from the Windows Explorer into the Internet Explorer window and drop it down into the chosen directory FI ftp gast 1 32 168 0 1267 Microsoft Internet Explorer temp Date Bearbeiten Ansicht Wechselnzu Favoriten Extras Dateiname Grohe Typ Getinder E g Arbeitsplatz Hay 3 5 Diskette I Gei Hdd IC ic 3 temp H Ati e CC bipom H cygwin 22 Eigene Dateien H O Beate 4 07 BilderBackup CJ Dok1 Dateien C Eigene Bilder CJ dnp1110 CH Java 1 Objekt e markiert SSV EMBEDDED SYSTEMS Cal httpd httpd_c HTTP programming D TCP IP lwip 0 4 tar T Embedded TCPIP tD WebConverter ea wml tools 0 0 4 LinuxStart Development T ools al html2c 0 2 tar Gi webpswd selte3 imidlets2 T midlets1 el seitel e seite2 what ran MET De far eu Winzip File Internet Dokument Internet Doku
36. 6 icmp seq 0 ttl 255 time 1 065 msec from 192 168 0 126 icmp seq 1 ttl 255 time 434 usec from 192 168 0 126 icmp_seq 2 ttl 255 time 413 usec from 192 168 0 126 icmp seq 3 ttl 255 time 433 usec from 192 168 0 126 icmp seq 4 ttl 255 time 428 usec from 192 168 0 126 icmp seq 5 ttl 255 time 390 usec from 192 168 0 126 icmp seq 6 ttl 255 time 378 usec from 192 168 0 126 icmp seq 7 ttl 255 time 407 usec from 192 168 0 126 icmp seq 8 ttl 255 time 417 usec from 192 168 0 126 icmp seq 9 ttl 255 time 415 usec from 192 168 0 126 icmp seq 10 ttl 255 time 409 usec from 192 168 0 126 icmp seq 11 ttl 255 time 373 usec from 192 168 0 126 icmp_seq 12 ttl 255 time 383 usec from 192 168 0 126 icmp seq 13 ttl 255 time 367 usec 192 168 0 126 icmp seq 14 ttl 255 time 376 usec oOodOodDdDdDOdDdJOdDDdDOdDOdDdODO 126 ping statistics 15 packets transmitted 15 packets received 0 packet loss round trip min avg max mdev 0 367 0 445 1 065 0 169 ms root n6e4d3 rootl J Ki Figure 5 23 Ping Request To cancel the ping request just press the keyboard shortcut Ctrl C If an error occurs e g the ADNP 1520 don t answer the ping of your development system you have to check your cable connections at first Then you should check if the IP address is set correctly to 192 168 0 1 For an easy check of the IP address you can use the Linux command ifconfig Sm root nbyg4d3 localdomain froot Terminal a Datei Sitzungen Optionen Hilfe
37. ADNP 1520 Starter Kit First Steps BE T emt SS DIL NetPC ADNP 1520 Starter Kit User Manual ADNP 1520 Starter Kit Introduction SE F Content DUN ERO SC BN RE 4 1 1 Conventions used in this Document 4 12 re RENEE 4 1 3 Feature cccccccscccccecsceccccccecsceceacscecscacsatscecscecsatacececscsarececececsarscecscecsarscececensacscececesacecees 5 Z BOMRDLNYOP ee 6 3 EELSTEN EE 7 3 1 PT 7 3 2 Power LED EE 7 3 3 MULE 8 3 4 DIP Swtches ccc cc ccccccccceccccccccccucscecececcecscecececececscseencecesetseeceececsteeeececsssusaeuceseesuesececenes 8 3 5 Rese e EEN 8 NNN 8 3 7 IVE tee 8 3 8 KO LOOMp ps Ethernet EE 8 3 9 SALEM 9 TO STEEN he 9 NLM 9 312 COM RS BIN NM 10 EEG RE ST E EEE EAEE aa aoe E EE 10 3122 Sime COMMIS e enee 10 4 CONNECTIONS WEE 11 4 1 ergeet 1 4 2 Cable CONNEC E e EE 12 4 3 ESN 13 4 4 Ethernet Lmk cc ccc cece ccececccccccececccccccececececcucsceceneecncesecscesesecstsneesecessesesesecesseeeucecenes 14 4 5 Py E 15 gt FIR CoD EE 16 5 1 Using a Windows based development System rrrnnrrnnnrrnnnnrrnnnnrnnnnernnnennnnnernrnernrnnernnnesennn 16 5 1 1 VE NU 16 i fe Check mohe GE n eeN 20 5 1 3 Web Server Access 21 5 1 4 eege EE 22 5 1 5 ett ue E E 24 SSV EMBEDDED SYSTEMS 2 ADNP 1520 Starter Kit Introduction ss F 5 1 6 Login via Serial E 25 5 1 7 age Tee 26 5 1 8 r Cel Bees CN KE 27 5 2 Une a Linux based development Systemi vr LESE 29 SON EE E T cme ret
38. Croot n6e4d3 rootl ifconfig ethd Link encap Ethernet HWaddr 00 40 05 A3 E7 49 inet addr 192 168 0 1 Bcast 192 168 0 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 0 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 100 Interrupt 11 Base address 0xec00 Link encap Local Loopback inet addr 127 0 0 1 Mask 255 0 0 0 UP LOOPBACK RUNNING MTU 3924 Metric 1 RX packets 6 errors 0 dropped 0 overruns 0 frame 0 TX packets 6 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 0 rootGn6g4d3 rootli J KEE Figure 5 24 IP address check via ifconfig SSV EMBEDDED SYSTEMS 32 ADNP 1520 Starter Kit First Steps Ea gr Bann el E 5 2 3 Web Server Access Once the ping was successful you are ready to start a Web browser on your development system This may be the Konqueror File Manager or the Netscape Communicator Navigator The Konqueror File Manager is normally part of the Linux installation and acts as File Manager as well as Web browser Konqueror is able to detect automatically when an URL were entered and shows the content Just enter the URL http 192 168 0 126 index htm and press the Enter key The Embedded Web Server will deliver you a small description about the ADNP 1520 That s it You are now online with the Starter Kit The Web browser of your development system is connected to the Embedded Web Server of t
39. ENE ESE Ara 49 10 100 Mbps Ethernet Connector 49 PPT 49 Ee 49 Appendix gt Using the WE CN 50 Appendix 4 Connecting an external battery to the AIDNDIIAIU eccccseseeeeeeeeeeeeeneneeeees S Appendix 5 Mechanical Dimensions ege 53 Appendix 6 GNU General Public License rrnrrnnnrrnrnnrrnnnernrnnrrnnnerernernnnnernnnerernnennnnerenneensnnerennesennn 54 Appendix 7 GNU Lesser General Public License rrrrrnnnnrnnnnrrnnnernrnnrnnnnernrnsrnrnnernnnernrnesnnnnerernenennn 59 Lon hen 67 ES SE EEE 68 ET Ke IIR ERE ER 69 Ev E REE EEE EE EEE EE EEE EE TE 70 Do 70 SSV EMBEDDED SYSTEMS 3 ADNP 1520 Starter Kit Introduction ss F 1 Introduction Thank you for choosing an SSV Starter Kit We are confident that you will be pleased with the performance of your product Please take a few minutes to read this manual It describes how to start with the DNP SK10 Starter Kit and will help you to get out the most of your new system For further information about the individual components of this Starter Kit you may follow the links from our website at http www dilnetpc com Our Website contains a lot of technical information which will be updated in regular periods For specific technical information like hardware description etc please check out the Starter Kit CD ROM which is an important part of every Starter Kit 1 1 Conventions used in this Document D Filenames as well as Internet addresses such as www ssv it
40. Help run MIIPHY Information for PHY accessed thru FEAST family type MAC at IO 0300h PHY OUI OOOSBE SEEQ SMSC183 PHY Model 04 PHY Revision 00 a sl PHY Address 00h Autodetected PHY Configuration reported by PHY s Proprietary Status Register Speed 10 Mbps Duplex Mode H Datalight Sockets version 1 20 Copyright c Datalight Inc and GPvNO 1999 Compiled Sep 02 1999 Processing socket cfg Hostname 192 168 0 125 192 168 0 125 Net Sockets HTTP Server ver Starting LISTEN on port Going resident C EMNET gt f ALT 2 for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 05 Neu E Konsole Nr Figure 5 22 Running the DOS based Web server Note For a first test of the ADNP 1520 you have to change the assigned IP address of your development system to 192 168 0 1 Please make sure that you don t use another IP address this could lead to different network problems SSV EMBEDDED SYSTEMS 31 ADNP 1520 Starter Kit First Steps i F T Ga Ge 5 2 2 Checking the Ethernet Link Please open a shell window and type in ping 192 168 0 126 Every ping request has to be answered by your ADNP 1520 similar as shown below aal root n6g4d3 localdomain root Terminal Datei Sitzungen Optionen Hilfe Lroot n6e4d3 rootl ping 192 168 0 126 ing no SO_TIMESTAMP support falling back to SIOCGSTAMP 168 0 126 192 168 0 126 from 192 168 0 1 56084 bytes of data from 192 168 0 12
41. PC AT I O space or PCI configuration space are memory mapped and are located in a 4 Kbyte region in memory address space from FFFEFOOO FFFEFFFFh default setting This 4 Kbyte region is called the memory mapped configuration region MMCR The MMCR can optionally be relocated on any 4 Kbyte boundary in the lower 1 Gbyte region via an I O mapped register called the Configuration Base Address CBAR register Port FFFCh The default MMCR region in high memory below the boot space is visible even if it is aliased via the Configuration Base Address CBAR register Note The MMCR Memory Mapped Configuration Range of the ADNP 1520 is default mapped by the BIOS to the physical address FDOOOh FD00 0000 This makes it easy to access the MMCR from DOS Alternatively it is possible to use the default address space that were mentioned above The following examples will show you how to programm a chip select PAR Example Address MMCR PARO FDOOOh Offset 88h gt FDO88h Address MMCR PARI FDOOOh Offset 8Ch gt FDO8Ch Address MMCR PAR2 FDOOOh Offset 90h gt FDO90h Address MMCR PAR3 FDOOOh Offset 94h gt FD094h Chip Select Example CS1 GPCS2 IOCS at 0x100 0x107 gt PARO 0x28070100 CS2 GPCS3 IOCS at 0x340 0x34F gt PARI 0x2C0F0340 CS3 GPCS4 IOCS at 0x360 0x360 gt PAR2 0x30000360 CS4 GPCS5 MEMCS at 0x20000000 0x2007FFFF gt PAR3 0x5601E000 Example This prog
42. RTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES END OF TERMS AND CONDITIONS SSV EMBEDDED SYSTEMS 57 ADNP 1520 Starter Kit Appendix Gg geg F How to Apply These Terms to Your New Programs If you develop a new program and you want it to be of the greatest possible use to the public the best way to achieve this is to make it free software which everyone can redistribute and change under these terms To do so attach the following notices to the program It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty and each file should have at least the copyright line and a pointer to where the full notice is found lt one line to give the program s name and a brief idea of what it does gt Copyright lt year gt lt name of author gt This program is free software you can redistribute it and or modify it under the terms of the GNU General Public License as published by the Free Software foundation either version 2 of the License or at your option any later version This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details You should have received a copy of the GNU General Public
43. Starter Kit Appendix as J Appendix 1 Pin Assignment 128 pin QIL Connector 4 Part Pin Name Group Function SSS 98 Reserved PSP Reserved Don tuse 99 RSTDRV PSP Reset Output System Expansion Bus Table 8 4 Pin assignment ADNP 1520 pin 97 to 128 SSV EMBEDDED SYSTEMS 47 ADNP 1520 Starter Kit Appendix Sa F Appendix 2 Pin Assignment DNP EVA2 SV4 Components COM1 Connector Table A2 1 Pinout COM1 Connector Caution All COM 1 port signals are on RS232 level There is no TTL level available on these ports The RS232 level shifter is part of the DNP EVA2 SV4 board COM2 Connector Table A2 2 Pinout COM2 Connector Please Note All COM2 port signals are on RS232 level There is no TTL level available on these ports The RS232 level shifter is part of the DNP EVA2 SV4 board COM3 Connector RS232 RS485 TOP View Table A2 3 Pinout COM3 Connector As default all COM3 port modem signals are on RS232 level In addition to their adjustment the RxD and TxD signals are either on RS232 or on RS485 level SSV EMBEDDED SYSTEMS 48 ADNP 1520 Starter Kit Appendix as J COM3 RS232 485 Switch JPL JR Jumper JP1 Jumper JP2 E 1 3 and 2 4 COM3 uses RS232 Protocol 3 5 and 4 6 COM3 uses RS485 Protocol Table A2 4 COM3 RS232 485 Switch 10 100 Mbps Ethernet Connector Pin Name Signal gt nc Km moe pe C 1 2 Shield fe Table A2 5 Pinout 10
44. alic embedded de italic User inputs command lines and pathnames bo hem monospace Table 1 1 Convention usage 1 2 Checklist Compare the contents of your Starter Kit package with the standard checklist below If any item is missing or appears to be damaged please contact SSV Embedded Systems Standard Items Evaluation Board DNP EVA2 SV4 DIL NetPC ADNP 1520 Null Modem cable Power Supply Power Cable User Manual Support CD ROM SSV EMBEDDED SYSTEMS 4 ADNP 1520 Starter Kit Introduction 1 3 Features Evaluation Board DNP EVA2 SV4 128 pin QIL socket for one DIL NetPC ADNP 1520 Three Serial Interfaces 2x RS232 1x RS232 485 10 100Mbps Ethernet Interface Eight User Definable LEDs Eight Manual DIP Switches One Reset Switch Prototype Area 5 VDC Power Input Connector Size 140 x 120 mm DIL NetPC ADNP 1520 SSV EMBEDDED SYSTEMS AMD SC520 CPU with 133 MHz Clock Speed and FPU 32 64 MByte SDRAM Memory 16 MByte FLASH Memory 10 100Mbps Ethernet Interface Real Time Clock IDE Support Two 16C550 UART Serial Ports 20 bit General Purpose High Speed Parallel I O 7 Interrupt Inputs 4 Chip Select Outputs In System Programming Features 128 pin QIL Connector 3 3 Volt Low Power Design Single 3 3 VDC Supply Size 82 x 36 mm ADNP 1520 Starter Kit Board Layout F T Sa Ge 2 Board Layout The main component of the Starter Kit is the Evaluation Board DNP EVA2 SV4 On this board you will find
45. at you have You must make sure that they too receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two steps 1 copyright the software and 2 offer you this license which gives you legal permission to copy distribute and or modify the software Also for each author s protection and ours we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed on we want its recipients to know that what they have is not the original so that any problems introduced by others will not reflect on the original authors reputations Finally any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses in effect making the program proprietary To prevent this we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for copying distribution and modification follow GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING DISTRIBUTION AND MODIFICATION 1 This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The Program below refers to any such program or work an
46. copy and distribute verbatim copies of this license document but changing it 1s not allowed Preamble The licenses for most software are designed to take away your freedom to share and change it By contrast the GNU General Public License is intended to guarantee your freedom to share and change free software to make sure the software is free for all its users This General Public License applies to most of the Free Software Foundation s software and to any other program whose authors commit to using it Some other Free Software Foundation software is covered by the GNU Library General Public License instead You can apply it to your programs too When we speak of free software we are referring to freedom not price Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software and charge for this service if you wish that you receive source code or can get it if you want it that you can change the software or use pieces of it in new free programs and that you know you can do these things To protect your rights we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the software or if you modify it For example if you distribute copies of such a program whether gratis or for a fee you must give the recipients all the rights th
47. creen DNP1520 HyperTerminal FE Datei Bearbeiten Ansicht Anruf bertragung ole ala ala ei mtdpart Using lib modules mtdpart o chipreg Using lib modules chipreg o cfi cmdset 1 Using lib modules cfi cmdset 1 0 gen probe Using lib modules gen probe o cfi_probe Using lib modules cfi probe o adnp1520 Using lib modules adnp152 0 ADNP 152 8 3V flash x1000000 at 0x10000000 Using buffer write method ADNP Flash Bank FLASH PART 1 FLASH PART 2 FLASH PART 3 0x00020000 0x00040000 BOOTLOADER 0x00000000 0x00020000 BIOS jffs Using lib modules jffs o JFFS version 1 0 C 1999 2008 Axis Communications AB sc52 wdt Using lib modules sc52 wdt o sc52 wdt CBAR x800fd000 sc52 wdt MMCR Aliasing enabled sc52 wdt WDT driver for C520 initialised Checking all file systems Parallelizing fsck version 1 12 9 Jul 98 Verbunden 00 01 24 Autom Erkenn 115200 8 N 1 BF GROSS INF Aufzeichnen Druckerecho pr Figure 5 12 Starting Linux When the Linux boot process is done the system will stop with the following login prompt FATET eee erre al Di Pawni Angcht Ford Mena 1 Let siny H ibfmodulec dffs 0 i EFS version 1 0 Ch 1999 ST Ans Commmications R Lech adi Using Aib modules sc52t dt och wit CHAR W lt coe sch adi HAA Aliasing enabled tek ei VET diver For SGo initialised Ch
48. cutable that you distribute 1 You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities not covered by this License and distribute such a combined library provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted and provided that you do these two things 1 Accompany the combined library with a copy of the same work based on the Library uncombined with any other library facilities This must be distributed under the terms of the Sections above b Give prominent notice with the combined library of the fact that part of it is a work based on the Library and explaining where to find the accompanying uncombined form of the same work 1 You may not copy modify sublicense link with or distribute the Library except as expressly provided under this License Any attempt otherwise to copy modify sublicense link with or distribute the Library is void and will automatically terminate your rights under this License However parties who have received copies SSV EMBEDDED SYSTEMS 63 ADNP 1520 Starter Kit Appendix Gg geg F or rights from you under this License will not have their licenses terminated so long as such parties remain in full compliance 1 You are not required to accept this License since you have not signed it However nothing else grants you permission to
49. d a work based on the Program means either the Program or any derivative work under copyright law that is to say a work containing the Program or a portion of it either verbatim or with modifications and or translated into another language Hereinafter translation is included without limitation in the term modification Each license is addressed as you SSV EMBEDDED SYSTEMS 54 ADNP 1520 Starter Kit Appendix Gg geg F Activities other than copying distribution and modification are not covered by this License they are outside its scope The act of running the Program is not restricted and the output from the Program is covered only if its contents constitute a work based on the Program independent of having been made by running the Program Whether that 1s true depends on what the Program does 1 You may copy and distribute verbatim copies of the Program s source code as you receive it in any medium provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty keep intact all the notices that refer to this License and to the absence of any warranty and give any other recipients of the Program a copy of this License along with the Program You may charge a fee for the physical act of transferring a copy and you may at your option offer warranty protection in exchange for a fee 2 You may modify your copy or copies of the Program or any p
50. e Lesser General Public License because it does Less to protect the user s freedom than the ordinary General Public License It also provides other free software developers Less of an advantage over competing non free programs These disadvantages are the reason we use the ordinary General Public License for many libraries However the Lesser license provides advantages in certain special circumstances For example on rare occasions there may be a special need to encourage the widest possible use of a certain library so that it becomes a de facto standard To achieve this non free programs must be allowed to use the library A more frequent case is that a free library does the same job as widely used non free libraries In this case there is little to gain by limiting the free library to free software only so we use the Lesser General Public License In other cases permission to use a particular library in non free programs enables a greater number of people to use a large body of free software For example permission to use the GNU C Library in non free programs enables many more people to use the whole GNU operating system as well as its variant the GNU Linux operating system Although the Lesser General Public License is Less protective of the users freedom it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library
51. e this License incorporates the limitation as if written in the body of this License 13 The Free Software Foundation may publish revised and or new versions of the Lesser General Public License from time to time Such new versions will be similar in spirit to the present version but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later version you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number you may choose any version ever published by the Free Software Foundation SSV EMBEDDED SYSTEMS 64 ADNP 1520 Starter Kit Appendix gg gege F 14 If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these write to the author to ask for permission For software which is copyrighted by the Free Software Foundation write to the Free Software Foundation we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY 15 BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE THERE IS NO WARRANTY FOR THE LIBRARY TO
52. e ey Oar AT Toner rT TET rT Dt TET TS nC OT TT Ce WO OIE wey ODEN Ee 29 S22 Checking the Ethernet Lumk 32 5 2 3 Web Server ACCESS rrrrnnnnrrrnnnnnrrrnrnnerrnnnnnersnnnnnernnnnnessnnnnnesennnnnesennnnesnnnnnnesensnnnsnnnnnnesennnnnesensnneee 33 5 2 4 ele EE EEE SS 34 5 25 Running Lmmus cece cece cence ce eeee EEEE EEE OE ES OA ESE GEESE E EEE EEE EEEEES 36 5 2 6 Login via Serial CoOnsole rrrrnnnrnnnnnrnrnnernrnnernvnnernvnnerevnnerennnerevnnernsnnesernnerernnesnnnnesennnsnennnsnennnen 37 5 2 1 ot 38 5 2 8 File Transfer via H RE 39 6 SETTING YOUR OWN IP ADDRESS WITH LINUXK eeeesosesesvsvvsesesvvesnnsvresnnevesnnnevesnnneeesene 41 6 1 se the IP address under DOS sg dnks eee 41 6 2 Setting the IP address under Kies eege deet e eendeitege 42 Z TROUBLESHOOTING nisscssisaceccccsstasssisssasesascdasesnsisussetecdecseanssacseisssasseivesactwesesestsusasensovcndentsvends 43 9 APPENDIX E 44 Appendix I Pin Assignment 128 pin QIL Connector 1 Rat 44 Appendix I Pin Assignment 128 pin QIL Connector 2 Rat 45 Appendix I Pin Assignment 128 pin QIL Connector 3 Rat 46 Appendix I Pin Assignment 128 pin QIL Connector 4 Rat 47 Appendix 2 Pin Assignment DNP EVA2 SV4 Components 48 MT Oi O a E E 48 COM2 Connector rrrvrrnnnrrvnnnervnnnervnnnervnnnerrnnnernnnnerennnesennnesennnesvnnnnsennnnsnnnnnennnnnennnnnesennnennnnnennnnnesennnesennnesee 48 MEST NN E 48 COMS RS2 32 46 CI sser EE E EESE ENTENEN ESE EEEN SS ETEEN E
53. ecking all File sys Loes Parallalizing Feck version Ae 1 9 Jul 98 natives Error Mo IP configuration on EEPROM Starting Neiscek lo Local time GMT Tue Jen 1 02 37 42 UTC 1988 IConfiguring serial porta tus LSA safety check ened coed idear iius at asda lira Al is a 165504 NIT Entering runiaval Starting netbese decmons routed porisep incid Starting periodic command scheduler cron SS Embedded Lamm Version 1 D I HR L20 jemblinus login PET Figure 5 13 Linux login prompt SSV EMBEDDED SYSTEMS 24 ADNP 1520 Starter Kit First Steps EE F Bann Bien E 5 1 6 Login via Serial Console From a development system running under MS Windows you can gain access onto the ADNP 1520 via the HyperTerminal program by using the username gast There is no specific password needed On the point where the password is expected simply press the Enter Return key After a successful login type in the command ps A Your system is now ready to execute arbitrary commands DNP1520 HyperTerminal ax Datei Bearbeiten Ansicht Anruf bertragung SSV Embedded Linux Version 1 ADNP152 emblinux login root login 1791 root login on tty BusyBox v 60 1 2001 09 28 09 44 0000 Built in shell ash Enter help for a list of built in commands ps H Verbunden 00 01 18 Autom Erkenn 1152008 N 1 RF GROSS ME Aufzeichnen Druckerecho Figure 5 14 Login procedure
54. eed to restart it Pressing the Reset button will only restart the ADNP 1520 To reset any connected devices please turn off the complete power from the system Prototype Area The Prototype Area offers space to develop your own applications and circuits on the Evaluation Board RCM Jumper Use this jumper to activate the RCM mode of the ADNP 1520 To activate the RCM mode place a jumper cap on both pins of the RCM jumper so that it is short If you remove the jumper cap or place the jumper cap on just one pin the jumper is open and you are not able to use the RCM mode When closed you will see some boot messages on the serial port COM1 If the RCM jumper is not set these messages will be blocked by the system Please see Appendix 2 RCM Jumper for more information 10 100Mbps Ethernet Interface The ADNP 1520 is using a SMSC LANYQICIII NE chip that allows Ethernet connectivity with a speed up to 100Mbps The RJ45 Ethernet interface on the Evaluation Board is just a simple connection over a transformer to the QIL interface pins which are connected to the LAN controller onto the ADNP 1520 SSV EMBEDDED SYSTEMS 8 ADNP 1520 Starter Kit Board Components F 3 9 Serial Interface COM1 For an easy connection between the Starter Kit and your development system you can use the serial interface COM1 The COM1 interface is realized as a RS232 standard compliant Sub D port with 9 pins The exact layout of the COMI interface is sh
55. ename to transfer the desired file For a first view on the content of a directory you should use Is al This command shows you the files stored inside a specific directory To terminate an FTP session use the command bye SSV EMBEDDED SYSTEMS 39 Damm Dem SS This command cancels every operation between server and client Figure 32 shows you these operations wa root n6g4d3 localdomain imntAwinC temp Konsole Datei Sitzungen Optionen Hilfe 331 Password required for gast Password 230 User gast logged in Remote system type is UNIX Using binary mode to transfer files ftp gt pud 257 home gast is current directory midletsl pdf remote midlets1 pdf 227 Entering Passive Mode 192 168 0 126 8 1 150 Opening BINARY mode data connection for midletsl pdf 226 Transfer complete 184320 bytes sent in 0 69 seconds 2 6e 02 Kbytes s ftp ls al 227 Entering Passive Mode 192 168 0 126 8 2 150 Opening ASCII mode data connection for bin ls total 183 drwxr xr x 2 gast users 128 Jan 1 09 11 drwxr xr x 3 root root 96 Jan 25 12 50 GA a Kees 1 gast users 184320 Jan 1 09 11 midlets1 pdf 226 Transfer complete ftp gt bye Neu Cy Konsole Nr 1 Figure 5 35 File transfer with Minicom Next to Minicom it is also possible to use the Konqueror File Manager to transfer files by FTP For this please open Konqueror and enter Stp gast 192 168 0 126 as URL into the address bar The Konqueror knows the
56. endix Gg geg F Source code for a work means the preferred form of the work for making modifications to it For a library complete source code means all the source code for all modules it contains plus any associated interface definition files plus the scripts used to control compilation and installation of the library Activities other than copying distribution and modification are not covered by this License they are outside its scope The act of running a program using the Library is not restricted and output from such a program is covered only if its contents constitute a work based on the Library independent of the use of the Library in a tool for writing it Whether that is true depends on what the Library does and what the program that uses the Library does 1 You may copy and distribute verbatim copies of the Library s complete source code as you receive it in any medium provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty keep intact all the notices that refer to this License and to the absence of any watranty and distribute a copy of this License along with the Library You may charge a fee for the physical act of transferring a copy and you may at your option offer warranty protection in exchange for a fee 2 You may modify your copy or copies of the Library or any portion of it thus forming a work based on the Library and copy and dis
57. f use not price Our General Public Licenses are designed to make sure thatyou have the freedom to distribute copies of free software and charge for this service if you wish that you receive source code or can get it if you want it that you can change the software and use pieces of it in new free programs and that you are informed that you can do these things To protect your rights we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it For example if you distribute copies of the library whether gratis or for a fee you must give the recipients all the rights that we gave you You must make sure that they too receive or can get the source code If you link other code with the library you must provide complete object files to the recipients so that they can relink them with the library after making changes to the library and recompiling it And you must show them these terms so they know their rights We protect your rights with a two step method 1 we copyright the library and 2 we offer you this license which gives you legal permission to copy distribute and or modify the library To protect each distributor we want to make it very clear that there is no warranty for the free library Also if the library is modified by someone else and passed
58. face for your development system is required If you use a Hub or Switch please connect them between your development system and the ADNP 1520 like shown in the figure below ees a DEE sitkegiiteg tksaatk 1 ape i i z SR STED J me d ii mm mr ER SC 10 100Mbps Ethernet Figure 4 4 Ethernet Link Connection using a Hub Switch If you want to connect your development system directly to the ADNP 1520 place a crossover cable between this two components like shown in the next figure AE LETETT LEE ER BG LE are EE EE EE r Figure 4 5 Ethernet Link Connection using a crossover cable SSV EMBEDDED SYSTEMS 14 ADNP 1520 Starter Kit Connections EE F Bal Ba VE 4 5 Power Supply The ADNP 1520 Starter Kit needs a supply voltage of 5VDC to work In your Starter Kit package you will find a plug in power supply unit to provide the system with the necessary power After the connection of all cables the Starter Kit is ready to run HETTE RI Ph GRELL CR CETTE cia ce ec EE TER EE ee ee ee Se eee CU agebett md a fe FEEL T EEA EE BETALE EEE EE ETE TET EEE SEN Es Bebe be ee a EG EE D forgot rd a rn esera H un BEREH kiA i dria oho LEE d h r p R HTTETTTTTITETTSTTTITTTS ET KAEKEEA CETELE 1 CH LSSRASARKRAAEEKERSbbK AbbORAAbRARSR RRERER RRE tat a s Fo PTC Leer eer rer eee ba KL El Cd apie ade C CT TT EET ae Sg HI rt KKK CC CECR kabel LE ETTE asses poate tone
59. h Rem Figure 3 1 Main components of the Evaluation Board DNP EVA2 SV4 The Evaluation Board offers a single 128 pin QIL socket QIL Quad In Line This socket picks up your ADNP 1520 and builds the interface to the individual parts on the Evaluation Board 3 1 Power Connector The Power connector onto the Evaluation Board has to be connected with the power supply which is added to your Starter Kit Alternatively you are able to use a similar power supply that provides 5V DC 10 and about 2A current 3 2 Power LED The Evaluation Board DNP EVA2 SV4 is equipped with a single green LED This LED will light up when the board is provided with the necessary operating voltage SSV EMBEDDED SYSTEMS 7 ADNP 1520 Starter Kit Board Components sr F SR 3 4 3 5 3 6 3 7 3 8 Output LEDs The Evaluation Board provides eight red LEDs for testing purposes These LEDs are the first little application for the PIO Ports The LEDs will flicker or light up to indicate traffic on the output ports PA0 PA7 DIP Switches The Evaluation Board has a set of eight DIP switches The DIP switches give you the possibility to put 8 bit binary numbers to the input ports PBO PB7 The DIP switches are the second little application for the PIO ports Switch open Signal Vin Low GND Switch closed Signal Vin High Vcc Reset Button Next to the Power connector you find the Reset button Press it down if the system hang or you n
60. he ADNP 1520 and shows you a Static web page with some pictures SSV DIL NetPC DNPA110 Konqueror Adresse Bearbeiten Ansicht Gehe zu Lesezeichen Werkzeuge Einstellungen Fenster Hilfe rar EERSTEN E gt URL amp http 192 168 0 126 index htm SY Netzwerk amp fYyPers nliches Ver IER amp Wurzelverzeichni SBCs for Embedded Networking The DIL NetPC DNP 1110 The DIL NeIPC DNF TTTG provides a very compact Intel 206 MHz 54 1110 Strong4RM based low power embedded controller with TCP IP stack and web server for high speed embedded networking applications The Of NerPC offers the footprint of a standard 64 pin DIL socket with 2 54mm centers and all the hardware and software features necessary to add networking capabilities to any product design The DiL NefPC was developed specifically for products that need to be connected to 10 or 100 Mbps Ethernet based TCP IP networks with minimum development costs Embedded Web Server Embedded TCP IP The D L NefPC is a ready to run embedded networking system The use of the D L NefPC will allow you to realize a substantial time and costs savings over other chip based approaches Currently there is no other Ethernet and TCP IP based embedded networking solution with more development time savings on the market There is also no faster Time to Market for your product with lower costs if Ethernet TCP IP and a embedded web server is
61. ietary applications with the library If this is what you want to do use the GNU Library General Public License instead of this License SSV EMBEDDED SYSTEMS 58 ADNP 1520 Starter Kit Appendix gg gege F Appendix 7 GNU Lesser General Public License GNU LESSER GENERAL PUBLIC LICENSE Version 2 1 February 1999 Copyright 1991 1999 Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document but changing it 1s not allowed This is the first released version of the Lesser GPL It also counts as the successor of the GNU Library Public License version 2 hence the version number 2 1 Preamble The licenses for most software are designed to take away your freedom to share and change it By contrast the GNU General Public Licenses are intended to guarantee your freedom to share and change free software to make sure the software is free for all its users This license the Lesser General Public License applies to some specially designated software packages typically libraries of the Free Software Foundation and other authors who decide to use it You can use it too but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case based on the explanations below When we speak of free software we are referring to freedom o
62. ipconfig M i E ingen order mr ETER pC WWINDOUE COMMANDS ipconfig Hindoes 98 H Kent iaurat Lon la Ethernet Adapter IP Adresse 122 121 197 168 81 Subnet Mask 1 255 255 766 8 Standard Gateusy der PC SATNDOWS COMPAND gt Figure 5 7 Communication check via ipconfig command Once the ping was successful you are ready to start a Web browser on your development PC This browser may be the Microsoft Internet Explorer or another suitable Web browser like the Netscape Communicator or Opera or similar SSV EMBEDDED SYSTEMS 20 ADNP 1520 Starter Kit First Steps o Ban Ga S 5 1 3 Web Server Access Start a Web browser like the Microsoft Internet Explorer or similar and open the URL http 192 168 0 125 index htm The Embedded Web Server will deliver you a small description about ADNP 1520 That s it Now you are online with the Starter Kit and your Web browser is connected to the Embedded Web Server of the ADNP 1520 It shows you a static web page with some pictures 2 ed Te belgen pe lysene ee Eu rust U e sidste eege es Pee ie Pc er te aT ee SBC fer Embedded Netwacking The BIL PO DAP te oy Tie DE TALT prove arv eapi Dobe beer prem bedded bi mhir eth TOME geck erlech ee Ee bedded ateata on The ZU en DC oter Sa Eiere adm etched dpe DIL edt st 2 etc eter od eh ce ma d ees fer Bo eee cope ba ay pect des The Ar pear deve sorry for pa oe chat ee 0 eo ted fa Late pene z Eabebiod Web
63. ired subdirectory Now enter FTP 192 168 0 126 and open an FTP connection between client and server The system will now ask you for a username To answer this request please enter gast and confirm the expected password with pressing Enter At this point there is no specific password required On figure 31 you see the user inputs as highlighted text m sal root n6y4d3 localdomain froot Terminal lt 2 gt Datei Sitzungen Optionen Hilfe Croot n6e4d3 rootl ftp 192 168 0 126 Connected to 192 168 0 126 220 emblinux FIP server Yersion 6 5 OpenBSD linux port 0 3 2 ready 500 AUTH GSSAPI command not understood 500 AUTH KERBEROS V4 command not understood KERBEROS_ 4 rejected as an authentication type Name 192 168 0 126 root gast 331 Password required for gast Password 230 User gast logged in Remote system type is UNIX Using binary mode to transfer files ftp I Berte Figure 5 34 Login procedure via FTP Now you are ready to transfer a file from a Linux based development system to the ADNP 1520 Before you can transfer a file with FTP you should check that the FTP link mode is correctly set to the binary operation mode via the binary command In some cases the default setting is ASCII With the command pwd you can check out the name of the remote directory The Read Write access is only allowed for the directory Wiomelgast To transfer a file from your development system to the ADNP 1520 use put fil
64. istribution conditions are different write to the author to ask for permission For software which is copyrighted by the Free Software Foundation write to the Free Software Foundation we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY 11 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE THERE IS NO WARRANTY FOR THE PROGRAM TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE DEFECTIVE YOU ASSUME THE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION 12 INNO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MAY MODIFY AND OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE BE LIABLE TO YOU FOR DAMAGES INCLUDING ANY GENERAL SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PA
65. k that the FTP link is set correctly to the binary operation mode via the binary command In some cases the default setting is ASCII With the pwd command you can check out the name of the remote directory Please note that the Read Write access is only allowed for the directory home gast To transfer a file from your development system to the ADNP 1520 use the command put filename SSV EMBEDDED SYSTEMS 27 ADNP 1520 Starter Kit First Steps For a first view on the content of a directory you should use Is al This command shows you the files stored inside a specific directory To terminate an FTP session use the command bye This will cancel every operation between client and server The figure below shows you these operations MS DOS Eingabeaufforderung Biel x aw A uee ol el Al 331 Password required for gast Kennwort 230 User gast logged in Ftp gt binary 200 Type set tol Ftp gt pwd 257 home gast is current directory Ftp gt put midletsi pdf 200 PORT command successful 150 Opening BINARY mode data connection for midletsl pdf 226 Transfer complete Ftp 184320 Bytes gesendet in 2 09Sekunden 88 19KB Sek Ftp gt 1s al 200 PORT command successful 150 Opening ASCII mode data connection for bin Ts total 183 drwxr xr x 2 gast users 96 Jan 1 00 16 drwxr xr x 3 root root 96 Jan 25 12 50 rw f 1 gast users 184320 Jan 1 00 17 midletsl pdf 226 Transfer complete Ftp 17
66. ly through you then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library If any portion of this section is held invalid or unenforceable under any particular circumstance the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License 12 If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries so that distribution is permitted only in or among countries not thus excluded In such cas
67. ment WinZip File Adobe Acrobat Dok WinZip File WinZip File Internet Dokument WinZip File Anwendung Internet Dokument Adobe Acrobat Dok Adobe Acrobat Dok Internet Dokument Internet Dokument Internet Dakament El Arbeitsplatz Figure 5 18 File transfer with the Internet Explorer 02 09 01 02 09 01 02 09 01 02 09 01 02 09 01 02 09 01 01 09 01 01 09 01 01 09 01 30 08 01 29 08 01 27 08 01 27 08 01 26 08 01 26 08 01 26 ne MLE D 28 ADNP 1520 Starter Kit First Steps e i 5 2 Using a Linux based development System The following paragraphs will help you to use the ADNP 1520 with a development system running under Linux For this steps are some programs necessary which normally come along with the Linux installation 1 e Minicom Please make sure that these programs are present on your development system If necessary you have to install these programs from your Linux installation CD ROM 5 2 1 Setup the Serial Link Before you provide the Evaluation Board with power for the first time please run a terminal program like Minicom Minicom is a simple serial communication program originally written by Miquel van Smoorenburg It offers basic communication capabilities and integrates well with the Linux user interface Minicom is a lot like the old MS DOS program PROCOMM This program can be used to connect a Linux based PC to embedded devices such as the ADNP
68. nditions are imposed on you whether by court order agreement or otherwise that contradict the conditions of this License they do not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations then as a consequence you may not distribute the Program at all For example if a patent license would not permit royalty free redistribution of the Program by all those who receive copies directly or indirectly through you then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program If any portion of this section is held invalid or unenforceable under any particular circumstance the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims this section has the sole purpose of SSV EMBEDDED SYSTEMS 56 ADNP 1520 Starter Kit Appendix gg gege F protecting the integrity of the free software distribution system which is implemented by public license practices Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system it is up to the author donor to decide if he or she
69. ng Enter After some boot messages you will see the following screen Datei Sitzungen Optionen Hilfe Kernel command line console ttyS0 115200 root dev ram0 BOOT_IMAGE zimage E Initializing CPU 0 Calibrating delay loop 64 92 BogoMIPS Memory 62112k 65536k available 606k kernel code 3036k reserved 122k data 4 Checking if this processor honours the WP bit even in supervisor mode Ok Dentry cache hash table entries 8192 Corder 4 65536 bytes Inode cache hash table entries 4096 order 3 32768 bytes Mount cache hash table entries 1024 order 1 8192 bytes Buffer cache hash table entries 4096 order 2 16384 bytes Page cache hash table entries 16384 order 4 65536 bytes CPU AMD 486 DX 4 WB stepping 04 Checking hlt instruction OK POSIX conformance testing by UNIFIX Linux NET4 0 for Linux 2 4 Based upon Swansea University Computer Society NET3 039 Initializing RT netlink socket Starting kswapd Serial driver version 5 05c 2001 07 08 with no serial options enabled ttyS00 at 0x03f8 irq 4 is a 16550A block 128 slots per queue batch 32 RAMDISK driver initialized 16 RAM disks of 4096K size 1024 blocksize NET4 Linux TCP IP 1 0 for NET4 0 IP Protocols ICMP UDP TCP IP routing cache hash table of 512 buckets 4Kbytes TCP Hash tables configured established 4096 bind 4096 RAMDISK Compressed image found at block 0 ALT 2 for help 1115200 8N1 NOR I Minicom 1 83 1 I YT102 Online 00 11
70. om your MS Windows installation CD ROM 5 1 1 Setup the Serial Link Before you provide the Evaluation Board with power for the first time please run a terminal program for example Windows HyperTerminal that offers communication capabilities on your development system In the following you will see the necessary settings for HyperTerminal under Windows Select the direct link cable connection via COMI interface in the property sheet and choose Configure Eigenschaften von DNPsk Verbinder mit Einstellungen D DNPak Landeskennzahkt Deutschland 49 Geben Sie nur de Ortskennzahl ein Drtskennzahl 0511 Rufnummer Verbinden Uber Direktverbindung Uber COM sl Konfigurieren f Landes und Brskenneahl venvenden E Eraeut weblen fall besetet UK Abbrechen Figure 5 1 Interface property Sheet SSV EMBEDDED SYSTEMS 16 ADNP 1520 Starter Kit First Steps Now you can change some configuration parameters such as the maximum baud rate on a further property sheet Select the value 115 200 in the Bits per Second field and close the property sheet by clicking the OK button as shown in figure 10 Eigenschaften von COM1 Anschlusseinstellungen Bits pro Sekunde Bern Datenbits f v Paritat Keine v Stoppbits fi D Protokoll Kein v Erweitert Standard wiederherstellen Abbrechen Ubemehmen Figure 5 2 Baud rate Settings All
71. on the recipients should know that what they have is not the original version so that the original author s reputation will not be affected by problems that might be introduced by others Finally software patents pose a constant threat to the existence of any free program We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder Therefore we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license SSV EMBEDDED SYSTEMS 59 ADNP 1520 Starter Kit Appendix Gg geg F Most GNU software including some libraries 1s covered by the ordinary GNU General Public License This license the GNU Lesser General Public License applies to certain designated libraries and is quite different from the ordinary General Public License We use this license for certain libraries in order to permit linking those libraries into non free programs When a program is linked with a library whether statically or using a shared library the combination of the two is legally speaking a combined work a derivative of the original library The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom The Lesser General Public License permits more lax criteria for linking other code with the library We call this license th
72. ortion of it thus forming a work based on the Program and copy and distribute such modifications or work under the terms of Section above provided that you also meet all of these conditions 1 You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change b You must cause any work that you distribute or publish that in whole or in part contains or is derived from the Program or any part thereof to be licensed as a whole at no charge to all third parties under the terms of this License c If the modified program normally reads commands interactively when run you must cause it when started running for such interactive use in the most ordinary way to print or display an announcement including an appropriate copyright notice and a notice that there 1s no warranty or else saying that you provide a warranty and that users may redistribute the program under these conditions and telling the user how to view a copy of this License Exception if the Program itself is interactive but does not normally print such an announcement your work based on the Program is not required to print an announcement These requirements apply to the modified work as a whole If identifiable sections of that work are not derived from the Program and can be reasonably considered independent and separate works in themselves then this License and its terms do not apply to those sections when you di
73. own in Appendix 2 COM1 Connector 3 10 Serial Interface COM2 The COM2 interface is realized as a RS232 standard compliant Sub D port with 9 pins The exact layout of this interface is shown in Appendix 2 COM2 Connector The COM2 interface uses the dual UART which is connected to the ADNP 1520 This UART can only be used in addition to a specific BIOS version that you can find on the Starterkit CD On default the UART will not be initialized 3 11 Serial Interface COM3 The COM3 interface is realized as a RS232 standard compliant 10 pin boxed header The exact layout of the COM3 interface is shown in Appendix 2 COM3 Connector This interface can be used also as a Serial interface with RS485 signal level To switch between the modes use the jumper block JP1 JP2 In RS485 mode only the pins 3 and 5 are active The other pins have no function while running this mode Please don t close this jumper in RS485 mode SSV EMBEDDED SYSTEMS 9 ADNP 1520 Starter Kit Board Components sr F 3 12 COM3 RS232 485 Mode Switch Use this jumper to select the data mode of the COM3 interface For the COM interface it is possible to use the RS232 mode or the RS485 mode The RS485 mode uses the same pins like the RS232 mode For further information please see Appendix 2 COM3 RS232 485 Switch 3 12 1 Using COM3 in RS232 Mode To use the COM3 port in RS232 mode please set the Jumper JP1 on position 1 2 and the jumper JP2 on the positions 1
74. r s own use and reverse engineering for debugging such modifications You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License You must supply a copy of this License If the work during execution displays copyright notices you must include SSV EMBEDDED SYSTEMS 62 ADNP 1520 Starter Kit Appendix Gg geg F the copyright notice for the Library among them as well as a reference directing the user to the copy of this License Also you must do one of these things 1 Accompany the work with the complete corresponding machine readable source code for the Library including whatever changes were used in the work which must be distributed under Sections 1 and 2 above and if the work is an executable linked with the Library with the complete machine readable work that uses the Library as object code and or source code so that the user can modify the Library and then relink to produce a modified executable containing the modified Library It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions b Use a suitable shared library mechanism for linking with the Library A suitable mechanism is one that 1 uses at run time a copy of the library already present on the user s computer system rather than copying libra
75. ram shows how to access the MMCR PARO from DOS to program CS1 as IOCS at 0100h 0107h mov ax OFDOOh mov es ax mov eax 28070100h mov es 88h eax SSV EMBEDDED SYSTEMS 51 ADNP 1520 Starter Kit Appendix gg gege F Appendix 4 Connecting an external battery to the ADNP 1520 To ensure the RTC Real Time Clock function of the ADNP 1520 when the main power is removed an backup battery must be connected between VBAT Pin36 and GND This backup battery should be a lithium battery with a maximum current of approx 3VDC The power consumption of the ADNP 1520 has an amount of about 7uA If mainpower is turned on no battery power will be consumed SSV EMBEDDED SYSTEMS 52 ADNP 1520 Starter Kit Appendix EE F Appendix 5 Mechanical Dimensions The ADNP 1520 uses a 128 pin QIL socket as mechanical base The figure 50 shows the dimensions All length dimensions have a tolerance of 0 5 mm 82 mm DUTOT UHT OT i E aene 36 mm PLE TT j SEH III UHT hmax 14 7 mm gt lt 2 54 mm 18 74 mm 3 mm slk CR Be WR CH bh 22 86 mm gt 28 mm 2 54 mm Figure A5 2 Dimensions of the ADNP 1520 SSV EMBEDDED SYSTEMS 53 ADNP 1520 Starter Kit Appendix gg gege F Appendix 6 GNU General Public License GNU GENERAL PUBLIC LICENSE Version 2 June 1991 Copyright 1989 1991 Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Everyone is permitted to
76. required Figure 5 25 Web page shown by the Konqueror File Manager SSV EMBEDDED SYSTEMS 33 ADNP 1520 Starter Kit First Steps E mem Se See WS 5 2 4 Installing Linux To use your ADNP 1520 with Linux you have to transfer some files from your Starterkit CD ROM to the ADNP 1520 At first please restart the ADNP 1520 by pressing the reset button This make sure that the system is into the default configuration Then open a Minicom session and type in mkdir linux to create a directory called LINUX Type in cd linux to switch into this new directory Now please type in the command rb and confirm this input with pressing Enter The system turns into a wait state and shows this with sending the letter C to the screen 08 22 2002 11 40a E 08 22 2002 11 40a F 04 14 2000 5 22a St 04 14 2000 5 22a 12 06 2002 10 00a lt DIR gt 01 01 1980 12 02a 9 file s 55 123 bytes E E 7 389 184 bytes free C gt cd linux C LINUX gt dir Yolume in drive C is FX SSD Volume Serial Number is 6DFD B6FO Directory of C LINUX lt DIR gt 01 01 1980 12 02a lt DIR gt 01 01 1980 12 02a 2 file s 0 bytes 7 389 184 bytes free C LINUX gt rb RB COM Receive Y ModemG Batch Yersion 1 02 c SSY 2000 Mait for Files End with CTRL C cil ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 I YT102 Online 00 04 C neu konsore nr Figure 5 26 Installing Linux from the Starter Kit CD
77. rors EEJ ETET EE FE Biim I FTTTTTTE ELESE SEEESSESR BRtbIRttIRRRSIg am bi GH hie ede Coenen LEE Ce T EEE B k h l oh en Al r de tritt gt d COLETTI TTET TETEL tim 8 Hi Pee KE RA S a mu mi EEN BPEL ETUC ETT TE ETT rann ETET TETT KILE FEFE BEER ek KIEL ttt ean LECT guan Beta Ett eee CELL CELI Fe RE DETE CER E E CEE E mer CA tt ve EE E sg Figure 4 6 Power supply Connection Caution Providing the Evaluation Board with a voltage higher than the regular 5V DC 10 could resolve in damaged board components SSV EMBEDDED SYSTEMS 15 ADNP 1520 Starter Kit First Steps rE F 5 First Steps You can use the ADNP 1520 Starter Kit from your development system This development system may run under different operating systems The first steps for getting started we describe exemplary by the two most popular operating systems MS Windows and Linux 5 1 Using a Windows based development System The following paragraphs will help you to use the ADNP 1520 with a development system running under MS Windows For these steps some programs are necessary which normally come along with every MS Windows installation e g HyperTerminal Please make sure that these programs are present on your development system If these programs are not installed at your development system you have to install these programs manually fr
78. ry functions into the executable and 2 will operate properly with a modified version of the library if the user installs one as long as the modified version is interface compatible with the version that the work was made with c Accompany the work with a written offer valid for at least three years to give the same user the materials specified in Subsection 6a above for a charge no more than the cost of performing this distribution d If distribution of the work is made by offering access to copy from a designated place offer equivalent access to copy the above specified materials from the same place e Verify that the user has already received a copy of these materials or that you have already sent this user a copy For an executable the required form of the work that uses the Library must include any data and utility programs needed for reproducing the executable from it However as a special exception the materials to be distributed need not include anything that is normally distributed in either source or binary form with the major components compiler kernel and so on of the operating system on which the executable runs unless that component itself accompanies the executable It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system Such a contradiction means you cannot use both them and the Library together in an exe
79. sceeeeseceesceeseseesseeseeeeesees 37 Figure 5 33 Login procedure via Telnet snrininniniiceninnin 38 Figure 5 34 Login procedure via FTP cssctscssncscsisiaduanhncitnsietwobbeldwaledwolhnebdwaleteuaeanasanataeabanad 39 Figure 5 35 File transfer with Minicom rrnronnrnnnnrrnnnnrrnnnnernnnnernnnnernvnnernnnnernnnnennnnnenee 40 Figure 5 36 File transfer with the Kkongueror 40 Figure 6 1 Changing the IP address with mmaddree 42 Figure 8 1 Chip Select Allocapon cc eccccccccccseeccceeececeeeeceseeeceseeceeseseesaseessseeeaeeeees 50 Figure A5 1 Dimensions of the AIDNDIINI0 53 TETEN 4 Table 3 1 Jumper Settings to use COM3 in RS232 mode cc eeececceeeceeseeeeeeeeeeaeeeees 10 Table 3 2 Jumper Settings to use COM3 in RS485 mode eee eceeeeeceeeeeceeeeeeaeeeees 10 Table 8 1 ADNP 1520 Pinout Pin 1 to i 44 Table 8 2 ADNP 1520 Pinout Pin 33 to O4 rrrnrrrrrnrnnnrrrvvrrnnnerrnrrrnnnsrrsrnrnnnssrrnnnnnnssnsene 45 ER SEP ee sperrir E 46 Table 8 4 Pin assignment ADNP 1520 pin 97 to li 47 Table A2 1 Pinout COM1 Connector cc ccccccecccccseeecceeseeceeeeeeeeeeeaeseeeaeseeesseeeaeseees 48 Table A2 2 Pinout COM2 Connector snessenessensseesssersssesssersseesssersssesssersssessseesseerss 48 Table A2 3 Pinout COM3 Connector s neseesseensseesssersssesssersseesssersssesssersssessseesseeess 48 Table A2 4 COM3 RS232 485 Switch rrrrnnnnnnnrrrnnnnnnnrrrennnnnnnrrnnrrnnnsrrrenrnnnssnrnnsnnnsnnsene 49 Table A2 5 Pinout
80. se sections when you distribute them as separate works But when you distribute the same sections as part of a whole which is a work based on the Library the distribution of the whole must be on the terms of this License whose permissions for other licensees extend to the entire whole and thus to each and every part regardless of who wrote it Thus it is not the intent of this section to claim rights or contest your rights to work written entirely by you rather the intent is to exercise the right to control the distribution of derivative or collective works based on the Library In addition mere aggregation of another work not based on the Library with the Library or with a work based on the Library on a volume of a storage or distribution medium does not bring the other work under the scope of this License SSV EMBEDDED SYSTEMS 61 ADNP 1520 Starter Kit Appendix Gg geg F 3 You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library To do this you must alter all the notices that refer to this License so that they refer to the ordinary GNU General Public License version 2 instead of to this License If a newer version than version 2 of the ordinary GNU General Public License has appeared then you can specify that version instead if you wish Do not make any other change in these notices Once this change is made in a given copy it is irreversible for
81. stribute them as separate works But when you distribute the same sections as part of a whole which is a work based on the Program the distribution of the whole must be on the terms of this License whose permissions for other licensees extend to the entire whole and thus to each and every part regardless of who wrote it Thus it is not the intent of this section to claim rights or contest your rights to work written entirely by you rather the intent is to exercise the right to control the distribution of derivative or collective works based on the Program In addition mere aggregation of another work not based on the Program with the Program or with a work based on the Program on a volume of a storage or distribution medium does not bring the other work under the scope of this License 3 You may copy and distribute the Program or a work based on it under Section 2 in object code or executable form under the terms of Sections and 2 above provided that you also do one of the following 1 Accompany it with the complete corresponding machine readable source code which must be distributed under the terms of Sections and 2 above on a medium customarily used for software interchange or b Accompany it with a written offer valid for at least three years to give any third party for a charge no more than your cost of physically performing source distribution a SSV EMBEDDED SYSTEMS 55 ADNP 1520 Starter Kit Appendix Gg geg F
82. sword is not necessary At this point simply press the Enter Return key Your system is now ready to execute arbitrary Linux commands tat Command Datei Sitzungen Optionen Hilfe init keventd E SSY Embedded Linux Version 1 00 ADNP1520 emblinux login gast Password BusyBox v0 60 1 2001 09 28 09 44 0000 Built in shell ash ksoftirqd CPUOI E Enter help for a list of built in commands kswapd Cbdflush kupdated mtdblockd Ljffs_gcd usr sbin routed q sbin portmap usr sbin inetd usr sbin cron usr local sbin thttpd d usr local www c sen ash ps d daemon root root nobody gast gast S S S S S S S S S S S S S S R ALT Z for help 1115200 8N1 I NOR I Minicom 1 83 1 YT102 Online 00 00 Neu 7 Konsole Nr Figure 5 32 Login procedure via Minicom SSV EMBEDDED SYSTEMS 37 ADNP 1520 Starter Kit First Steps ss F 5 2 7 Login via Telnet You are now able to start a telnet client on the development system Open a Minicom command shell and enter the following command telnet 192 168 0 126 3 Terminal Terminal lt 3 gt fol 3 1 4 D emblinux login gast Password BusyBox v0 60 1 2001 09 28 09 44 0000 Built in shell Cash Enter help for a list of built in commands ps A PID Uid Stat Command 1 root S init 2 root S keventd 3 root S ksoftirqd CPUO 4 root 5 kswapd D root S bdflush1 6 root S kupdated 30 root
83. ting files and transfer protocol START BAT Batch File ZIMAGE Root Filesystem Image SSV EMBEDDED SYSTEMS At next select the Transfer gt Send File item in your HyperTerminal control bar With the help of the Browse button you can select the files you need to transfer to the ADNP 1520 In the directory PreCfg1 you find four files LOADLIN EXE RIMAGE GZ 22 T Ss Please make sure that you have transfered all these files to your ADNP 1520 When all files are transmitted leave this mode by pressing Esc on your keyboard E HHS Dan Esmin Sre fred Lkenwse 7 ost dai je al copyright cb 1989 2008 Datalight Inc Installed 4896KE HAS RAH disk as drive Di IE Mord linux jc ALIN Orb IRB COM Receive V ModemG Batch Version 1 87 ch GEM 900 ait for Files End with CYAL E Iker break Program exit Cs SL TPA rl ina CNM Receive Y Maced ele Ee Wersi 1 87 Ich 554 MORO toate for Files End with CTRL mamam Figure 5 11 Leaving the rb mode To check out that all four files are present in the expected directory named LINUX you can type in the command dir This shows you the files inside the respective directory SSV EMBEDDED SYSTEMS 23 Damm Dem SS 5 1 5 Running Linux When all necessary files are placed on the ADNP 1520 you are ready to start Embedded Linux For this please type in the command start and confirm this input with pressing Enter After some boot messages you will see the following s
84. to this server In our actual case your development system acts as client and the ADNP 1520 operates as server After the successful access onto the server you are able to execute various file transfer commands which typically concern the navigation through the FTP server s directory structure and send or receive files In the following an example of an FTP session is shown To use the File Transfer Protocol on your system please open a DOS window via the Windows Start menu and branch into the desired subdirectory Now enter FTP 192 168 0 126 and open an FTP connection between client and server The system will now ask you for a username To answer this request please enter gast and confirm the expected password with simply pressing the Enter key At this point there is no specific password required On figure 16 you see the described user inputs in form of highlighted text M2 FTP al ao ike ale Aal Microsoft R Windows 98 C Copyright Microsoft Corp 1981 1999 C WINDOWS gt cd V temp Ch temp gt ftp 192 168 0 126 Verbindung mit 192 168 0 126 220 emblinux FTP server Version 6 5 OpenBSD linux port 0 3 2 ready Benutzer 192 168 0 126 none gast 331 Password required for gast Kennwort 230 User gast logged in Ftp gt _ Figure 5 16 Login procedure via FTP Now you are ready to transfer a file from your Windows based development system to the ADNP 1520 Before you can transfer a file via FTP you should chec
85. tribute such modifications or work under the terms of Section I above provided that you also meet all of these conditions 1 The modified work must itself be a software library b You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change c You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License d If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility other than as an argument passed when the facility is invoked then you must make a good faith effort to ensure that in the event an application does not supply such function or table the facility still operates and performs whatever part of its purpose remains meaningful For example a function in a library to compute square roots has a purpose that is entirely well defined independent of the application Therefore Subsection 2d requires that any application supplied function or table used by this function must be optional if the application does not supply it the square root function must still compute square roots These requirements apply to the modified work as a whole If identifiable sections of that work are not derived from the Library and can be reasonably considered independent and separate works in themselves then this License and its terms do not apply to tho
86. xes I to 4 give you more detailed information about the signals on the individual connectors Table cells marked with NC indicate signals which may be not connected Appendix 1 Pin Assignment 128 pin QIL Connector 1 Part Pin Name Group Function _ _ _ Parallel UO Port A Bit 0 Parallel T O Port A Bit 1 32 GND fe Ground S O Table 8 1 ADNP 1520 Pinout Pin 1 to 32 The PIO pins 1 to 20 are driven by an in system programmable ISP high density PLD ispMACH256 or similar It is possible to change the function of these pins over the ADNP 1520 JTAG interface Please contact our support staff for more information SSV EMBEDDED SYSTEMS 44 ADNP 1520 Starter Kit Appendix as J Appendix 1 Pin Assignment 128 pin QIL Connector 2 Part Pin Name Group Function SSS 38 39 40 2 3 14 45 46 o 18 49 50 51 52 53 54 55 56 57 58 59 Table 8 2 ADNP 1520 Pinout Pin 33 to 64 SSV EMBEDDED SYSTEMS 45 ADNP 1520 Starter Kit Appendix as F Appendix 1 Pin Assignment 128 pin QIL Connector 3 Part Pin Name Group Function SSS 66 fiocs1e PsP VO Chip Select 16 Sys Expansion Bus ep MEMW PsP Memory Write Signal Sys Expansion Bus 769 MEMR PsP Memory Read Signal Sys Expansion Bus 70 71 7 73 74 75 76 77 78 75 op Iren SS Table 8 3 ADNP 1520 Pinout Pin 65 to 96 SSV EMBEDDED SYSTEMS 46 ADNP 1520
87. zeichnis L midletsz p f 84 0 KB 01 01 2002 09 15 rw r r gast users SD H Pipo D Baden D etc D home SKI D B ioct foung SW a opt D proc midlets2 pdf 84 0 KB PDF Dokument Figure 5 36 File transfer with the Konqueror SSV EMBEDDED SYSTEMS 40 ADNP 1520 Starter Kit Setting your own IP address with Linux ss F 6 Setting your own IP address with Linux The ADNP 1520 comes with a pre configured IP address This default IP address of the ADNP 1520 for running under DOS is set to 192 168 0 125 When the ADNP 1520 is running under Linux the P address is set to 192 168 0 126 6 1 Setting the IP address under DOS The default P address for a Windows based development system running you can find within the file Socket cfg wich is located in the directory C Emnet Alternatively this file is stored inside the directory E ROM DOS TCP IP Emnet on your Starter Kit CD ROM The following Listing shows the content of the file Socket cfg INET STU is the default STartUp file to be executed by SOCKETP BEXE You should edit INET HST to contain all your IP addresses linked suitable host names See also the SETHOST utility that can link IP addresses to MAC Ether addresses In the next line demo should be replaced with this machine s host name decimal IP address or variable containing the name ip address 192 168 0 125 Iface sets the physical interfaces used Packet driver serial ports

Download Pdf Manuals

image

Related Search

Related Contents

Horizon Fitness Elite IC7 Exploded Diagram  intext:Bedienungsanleitung filetype:pdf  AGITATEUR VERTICAL NBI  16-8 inputs standalone digital video recorder art. 49146  Port Port.fh11  78M6613 PSU Board User Manual  testo 6351 · Transmisor de presión diferencial Software P2A  universidade do vale do itajaí centro de ciências tecnológicas da  Samsung GALAXY Y Douz Instrukcja obsługi  210 x 297 - Direccte  

Copyright © All rights reserved.
Failed to retrieve file