Home

First Steps Operator Touch Panel OTP/57V

image

Contents

1. OTP 57V 5 7 Operator Touch Panel starter Kit First Steps SSV Embedded Systems Heisterbergallee 72 D 30453 Hannover Phone 49 0 511 40 000 0 Fax 49 0 511 40 000 40 Document Revision 1 2 E mail sales ist1 de Date 2009 05 19 FOR FURTHER INFORMATION REGARDING OUR PRODUCTS PLEASE VISIT US AT WWW SSV EMBEDDED DE OTP 57V Starter Kit First Steps CONTENT 1 INTRODUC TION esse ee 3 1 1 SALLY alle INES E E E IEA E EE 3 1 2 CORNED ee ee 3 1 3 Features and Techical DIE een 4 1 4 PIEDI e ee a E E E ee E 4 2 CGETHING OTAR TED ee ee E 5 ZA Serial Link between BB6 eSOM and PC 22uu0ssssnnnnssssseeennnnnnnnnnnenennnnnnnnnnnnennenennnnnen 5 22 Ethernet Link between BB6 eSOM and PC uussssssssseeeeennnnnnnnsssnnennnnnnnnnnnnennnnennnnnennenn 6 2 3 Connecting Power Supply and Power up the Starter Kit ss uuusssseeeeeeennnnenseeeeeeeeennnn 7 2 4 Using Serial Link with Terminal Program i ccecccccccccccceeeesseececeeeeeeaeesseeeceeeeesaseeaseeeeeess 8 25 Power up eSOM 2586 with RCM disabled cceccccsccccceceeeeseseeeceeceeeeesesseeeeceeeeeeeeeeenses 9 2 6 Power up eSOM 2586 with RCM enabled eeccccccccceceeseeseecceeeeeeaeeeeseeeeeeeeeeeaeeeeees 10 2 Che ckine IP Ad SD TO een ee ee 12 2 8 Checking Ethernet based TCP IP Communication ccccccsssssseeccccecceeeeeseeeeeeeeeeaeeeeeees 13 29 Gora EL Hell one O ua euren E O 14 210 ABCR EEE S N Ten A A R 15 2b A R TTE
2. The eSOM 2586 boot sequence with RCM enabled is similar to the boot procedure with RCM disabled Only some details are different 1 Directly after power up the eSOM 2586 runs the AMI BIOS and initializes the hardware components With RCM enabled the BIOS show some messages over the eSOM 2586 COM serial port COM7 DilNetPC HyperTerminal Datei Bearbeiten Ansicht Anrufen bertragung AMIBIOS C 2006 American Megatrends Inc BIOS Date 86 16 2808 SSY CPU Vortex A9100 Speed 3BBMHz Press F11 for BBS POPUP F3 on Remote Keyboard Initializing USB Controllers Done 64MB OK C American Megatrends Inc 62 0100 000001 00101111 061608 A9100 1ADSYOQO Y2KC verbunden 01 58 06 115200 8 N 1 Fig 9 The AMI BIOS message direct after power up 2 If the BIOS finish the eSOM 2586 runs the SYSLINUX boot loader SYSLINUX loads the MAX Linux image form the Flash disk to the RAM and gives the control over the CPU to the Linux operating With RCM enabled SYSLINUX show some messages over the eSOM 2586 COM serial port COM7 DilNetPC HyperTerminal Datei Bearbeiten Ansicht Anrufen bertragung SCSI device sda 1981448 912 byte hdwr sectors 1814 MB sda Write Protect is off sda assuming drive cache write through sda sdal sda lt sdad gt sd 0 0 0 0 Attached scsi disk sda Setting hostname to emblinux done Cleaning up ifupdown Loading kernel module mii Loading kernel module r6
3. Er CAN Level nn nn LAN Fig 1 Block diagram of OTP 57V Touch Screen x 100 pin E 3 Connector Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 GETTING STARTED 2 1 Serial Link between BB6 eSOM and PC Setup the serial link between the BB6 eSOM and your PC Use the serial interface cable and the null modem cable for this connection colored wire serial I F cable null modem cable Fig 2 Serial link between BB6 eSOM and PC First connect one end of the serial interface cable with COM1 port of the BB6 eSOM Then connect the serial interface cable over the null modem cable with an unused RS232 COM port of the PC Make sure that this PC RS232 COM port supports 115 200 bps Manual Revision 1 2 OTP 57V Starter Kit First Steps Ethernet Link between BB6 eSOM and PC 2 2 Setup the Ethernet LAN link between the LAN connector of the BB6 eSOM and your PC Use the LAN interface cable and an Ethernet cross over cable or a switch based infrastruc ture with patch cables for the LAN connection LAN I F cable Ethernet link between BB6 eSOM and PC Fig 3 Please note The eSOM 2586 comes with the default IP address 192 168 0 126 Please make sure that your PC can work with the IP address range 192 168 0 x Switch based Ethernet link between BB6 eSOM and PC Fig 4 Manual Revision 1 2 OTP 57V Starter Kit First Steps SS DE SE SER EEE 2 3 Connecting Power Suppl
4. Ru 10 scheduler deadline registered io scheduler cfg registered default 1sapnp Scanning Lor PnP Cards isapnp No Plug amp Play device found Serial 8250 16550 driver Revision 1 90 4 ports IRQ sharing enabled serial8250 ttySO at I O Ox3f8 irg 4 is a 16550A serial8250 ttySl at 1 0 Ox2Ts irq 3 is a 16550A serial8250 ttyS2 at I O Ox3e8 irg 4 is a 16550A serial8250 ttyS3 at I O 0x2e8 irq 3 is a 16550A RAMDISK driver initialized 16 RAM disks of 8192K size 1024 blocksize ehci_hcd 0000 00 0a 1 EHCI Host Controller ehci_hcd 0000 00 0a 1 new USB bus registered assigned bus number 1 ehci_hcd 0000 00 0a 1 irg 9 10 mem 0x000e2000 ehci_hcd 0000 00 0a 1 USB 2 0 started EHCI 1 00 driver 10 Dec 2004 usb usbl configuration 1 chosen from 1 choice hab t 03 1 07 USB Aub round hub 1 0 1 0 2 ports detected ehei_hed 0000 00 0b 1 EHCI Host Controller ehci_hcd 0000 00 0b 1 new USB bus registered assigned bus number 2 ehci_hcd 0000 00 0b 1 irq 10 io mem 0x000e2100 ehci_hcd 0000 00 0b 1 USB 2 0 started EHCI 1 00 driver 10 Dec 2004 usb usb2 configuration 1 chosen from 1 choice hub 2 071 0 USB Hub found hub 2 0 1 0 2 ports detected ohe hed 0000 0030a 05 OHCT Host Controller ohci_hcd 0000 00 0a 0 new USB bus registered assigned bus number 3 ohci_hcd 0000 00 0a 0 irq 5 io mem 0x000e0000 usb usb3 configuration 1 chosen from 1 choice hub gt 021 0 USB H
5. received Pa bytes 0003 0001 send ina 4 bytes al 04 00 81 l root root root root root root ash niatory root testi html Fig 22 Download with TF TP get command Enter your get and put commands within a Telnet session The figure above shows a sample for a TFTP get command getting a file from the PC to the eSOM 2586 Here we enter tito g 1 testivhntml 192 165 0 1 testl html is the filename which is requested from the TFTP server 192 168 0 1 is the TFTP server IP address Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 13 Hello World with C C and SSV coLinux The SSV coLinux tool chain allows you to write C C programs for the eSOM 2586 within your Windows XP environment It is not necessary to setup a Linux based PC for the C C programming Before following the next steps make sure that the SSV coLinux tool chain is installed on your Windows XP based PC It is also required to have a transfer directory for moving files between the Windows XP and coLinux The directory can be C colinux transfer From coLinux you can access the directory with the path name windows transfer Run coLinux within your Windows XP environment Use the user name root and the password root for your coLinux login Then move to the coLinux directory home user within the coLinux user console Within the user console please execute the following command line sequence cat gt hello c include lt stdio h g
6. 2 Conventions bold Important terms italic User inputs and other specials monospace Pathnames internet addresses and program code Table 1 Conventions used in this Document Manual Revision 1 2 OTP 57V Starter Kit First Steps 1 3 Features and Technical Data e eSOM 2586 with Vortex86DX 32 bit x86 SoC MCU 800 MHz 128 MByte DDR2 SDRAM and 1 GByte NAND Flash Memory e Embedded MAX Linux pre installed in Flash memory e Base Board BB6 eSOM with LCD ET057007DHU 3x UART 2x RS232 1x RS485 1x 10 100 Mbps Ethernet LAN 1x 480 Mbps USB 2 0 host 1x CAN 1x SPI 1x 8 bit PIO e Front panel for 3U 19 rack mounting e 110 VAC or 230 VAC to 12 24 VDC international power supply e CD ROM with user manual Linux source code and Eclipse IDE for Java development e Linux remote login with Telnet or serial link serial console e Telnet server setup sample e FTP server setup sample e Pre installed TFTP client e Original Sun Java Runtime Environment JRE with Swing graphic library e Many source code samples The pre installed MAX Linux Maximum Linux is based on the Debian Etch 4 0 distribu tion This Linux comes with all features known from Debian desktop Linux versions 1 4 Block Diagram VDC1 p eSOM 2x86 ower 4 12 24 VDC 53 Fa VDC24 Supply Flash Fa STET ECD EA co 640 x 480 Dots NAND Sit ash USB pit T ba Buff it BEREIT RS232 Level a gt COM1 Shifter Use Lan roch R5232 Level since con RS485 Level
7. C Dokumente und Einstel lungen kdw gt Fig 12 Windows PC IP address check with ipconfig Talk to your network administrator 1f you have problems with the IP address understand ing Please note The ex factory IP address 192 168 0 126 of the eSOM 2586 is fixed within the MAX Linux image It can only be changed temporary at the RAM disk After rebooting the system the ex factory IP address 192 168 0 126 will be used automatically again Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 8 Checking Ethernet based TCP IP Communication Check the Ethernet based TCP IP communication between the eSOM 2586 and the PC with a simple ping command c Eingabeaufforderung Microsoft Wind ndows X C Copyright 1985 2001 C Dokumente und Einstellungen kdw gt ping 192 168 0 126 Ping wird ausgef hrt f r 192 168 0 126 mit 32 Bytes Daten Antwort von 192 168 0 126 Bytes 32 Zeit 1ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt 1ims TTL 255 Ping Statistik f r 192 168 0 1726 Pakete Gesendet 4 Empfangen 4 Verloren 0X Verlust Ca Zeitangaben in Millisek Minimum ms Maximum ims Mittelwert Ums C Dokumente und Einstellungen kdw gt P a Go 5 1 2600 i crosoft Corp Fig 13 Windows PC TCP IP communication check with ping First check the cable connections and then t
8. Yo aii a E E ee ER errr 16 Ze A IE CC en ee een ee eiserne 18 2 13 Hello World with C C and SSV coLinux cceeeseessssssssssseesssnnnnnnnnnnnennnnnnnnsnnnnnennnne 19 2 14 Hello World WIE TAWA 2 een 2 2 15 Changing the MAX Linux IP Address IPbyNet 000220000snnnnnnnseseeeeenennnnnnnenennenn 23 3 20 6 0 ne a ee 20 3 1 IAAI CAUCUS eae acces A E E E E E E S 29 3 2 ATIC La OO See ee re nee eine 25 3 Pe y e Toon ee ee ensure een 25 3 4 NEIWOrK Feature nee ee nennen 26 3 kermel Module SUpport seeren E E 26 3 6 Oor re ee ee een 26 3 7 MAX Linux Bool MICS SAO CS een een ee 21 4 BB6 ESOM HARDWARE REFERENCE nneeneeannannn 30 4 1 BBEOESONLBOS AT OU ee ee ea 30 4 2 PO COM CO ler nee E 31 4 3 Pinout CON Ron oe nee a ee er me En een 31 4 4 Pinout COM Oa ar Nennen en 32 4 5 Pinout 10 100 Mbps Ethernet Connector J10 0 cccccccsssseeeeeeceeeeeeaeeeeeeeceeeeeeeaeeenees 32 4 6 Pinout Power Connector Teenies 32 5 HELFF LLTERAT RE nee A eee ene eee 33 CONTAC aaae cts chests E E E eh eeates got E bast aonb sect aecbevebeeshoeeeseeee 33 DOCUMENT HIS TORY Gane ee ee eee eee een ee ee eee ee eee ere 33 Manual Revision 1 2 OTP 57V Starter Kit First Steps 1 INTRODUCTION The Starter Kit OTP 57V contains everything you need to get started with your 32 bit x86 operator touch panel application The Starter Kit includes an eSOM 2586 module with a pre installed MAX Linux the Base Board BB6 eS
9. ma FGA D g 1 testi html lt head gt lt title gt Test lt title gt lt head gt lt hody gt Test lt body gt lt html gt wana lt 60 3C HTML multihighlighter DOS Kodierung ANSI Windows Fig 19 Use an editor and create the HTML sample file test1 html 16 Manual Revision 1 2 OTP 57V Starter Kit First Steps Transfer the file test1 html with the help of FTP or TFTP to the eSOM 2586 direc tory var www Than change the attr butes with chmod r var www testl html 2 Test Windows Internet Explorer ey http 192 168 0 126 test1 html wallace Google Ar Suche amp z Ar ir Lesezeichen suchen a eh Anmelden 7 ahr Test gt gt An El Mm v i Seite wr Extras Internet 4 100 Fig 20 The URL http 192 168 0 126 test1 html delivers the new HTML file To access the new the HTML sample file test 1 htm1 run your web browser and enter the URL http 7192 168 0 126 testlL atm var www HTML files etc lighttpd Web server configuration var log lighttpd Web Server log files usr lib cgi bin CGI scripts files Table 3 Important directories of the lighttpd web server Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 12 Checking TFTP Client The eSOM 2586 Linux offers also a pre installed TFTP client This program allows the TFTP based file transfer between a PC and the eSOM 2586 First run a TFIP server program on
10. of built in commands cd home user home user ls al Z user 1024 Jun 16 drwxr xr x 3 root 1024 May 22 ae rw r 1 user 126 Jun 16 HelloWorld java home user Fig 17 The new files within home user Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 11 Checking HTTP Server The eSOM 2586 MAX Linux comes with a pre installed lighttpd web server This very powerful embedded web server allows you to build feature rich web based applications To access the eSOM 2586 web server please run your PC web browser and use the URL help 192 165 0 126 Welcome page Windows Internet Explorer PER 8 v http 192 168 0 126 Pr Fan rn pA w k welcome page M D Le sete cc 7 Internet Explorer wird momentan so ausgef hrt dass Add Ons deaktiviert sind x A Placeholder page The owner of this web site has not put up any web pages yet Please come back later You should replace this page with your own web pages as soon as possible Unless you changed its configuration your new server is configured as follows e Configuration files can be found in etc lighttpa Please read etc lighttpd conf available README file The DocumentRoot which is the directory under which all your HTML files should exist is set to var www e CGI scripts are looked for in usr lib cgi bin which is where Debian packages will place their scripts You can enable cgi mod
11. 6486 r6048 RDC R6040 RX NAPI net driver version 0 17 13Apr2007 r6040 RDC R6040 RK NAPI net driver version 8 17 13Apr2007 Loading kernel module dnp2486_wdt dnp2486_wdt timeout 60 sec Loading kernel module ssvpio ssvp102486 version 20080312 using major 69 Will now mount local filesystems Setting up networking Configuring network interfaces done Initializing random number generator done INIT Entering runlevel Starting internet superserver inetd Running local boot scripts etc rc local emblinux login Verbunden 01 56 17 115200 8 N 1 Fig 10 After the Linux booting process is a login prompt available Manual Revision 1 2 OTP 57V Starter Kit First Steps 3 Linux takes control over the eSOM 2586 hardware and runs all necessary processes for coming up to live With RCM enabled the MAX Linux shows many detailed boot messages over the eSOM 2586 COMI serial port The eSOM 2586 MAX Linux supports a serial console It allows a Linux based system in a headless configuration w thout a monitor ands keyboard After the boot process finish the eSOM 2586 MAX Linux shows a login prompt Please use the login name root and the password root COM7 DilNetPC HyperTerminal Datei Bearbeiten Ansicht Anrufen bertragung INIT Entering runlevel 2 Starting internet superserver inetd Running local boot scripts etc rc local emblinux login root Linux emblinux 2 6 18 8 dmp ssvl 1 PR
12. EEMPT Fri Apr 4 18 17 51 CEST 2008 1486 The programs included with the Debian GNU Linux system are free software the exact distribution terms for each program are described in the individual files in usr share doc copyright Debian GNU Linux comes with ABSOLUTELY NO WARRANTY to the extent permitted by applicable law BusyBox v1 1 3 Debian 1 1 1 3 4 Built in shell ash help for a list of built in commands 1k blocks Used Ava lable Use Mounted on 7931 6762 760 30856 A 30856 tmp 30856 A 30852 dev shm Verbunden 02 24 17 115200 8 N 1 Fig 11 After a login the serial console offers a Linux command line interface Direct after a successful login the eSOM 2586 MAX Linux offers a simple Linux com mand line interface Please enter help to find which build in commands are available Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 7 Checking IP Address of PC Make sure that your PC is using the right IP address for the Ethernet based TCP IP com munication with the DIL NetPC Please use 192 168 0 1 or 192 168 0 254 for your PC and 192 168 0 126 for the eSOM 2586 ex Eingabeaufforderung Microsoft Windows XP LVersion 5 1 2600 C Copyright 1985 2001 Microsoft Corp C Dokumente und Einstel lungen kdw gt ipconf ig Windows IP Konf iguration Ethernetadapter LAN Verbindung Verbindungsspezif isches DNS Suf fix IP Adresse 192 168 0 254 Subnet zmaske 255 255 255 0 Standardgateway
13. OM with LCD ET057007DHU power supply null modem cable serial interface cable LAN interface cable a CD ROM with software and documentation and a printed user manual for the first steps with the Starter Kit Alternatively it is possible to install a ROM DOS operating system for the eSOM 2586 in stead of the MAX Linux Please contact us for further information For using the OTP 57V you need a development system The minimal configuration for this system is a Windows based PC with the HyperTerminal terminal emulation program and a free COM port COM1 COM2 or USB based COMx for the RS232 serial link between the eSOM 2586 and HyperTerminal For using the Ethernet link your PC needs an Ethernet adapter with 10 Mbps or 10 100 Mbps LAN interface This environment allows eSOM 2586 shell script Java and Perl programming independent from the operating system of the development PC For using a GNU C C tool chain it is necessary to run Linux or SSV coLinux on the development system 1 1 Safety Guidelines Please read the following safety guidelines carefully In case of property or personal damage by not paying attention to this document and or by incorrect handling we do not assume liability In such cases any warranty claim expires e Discharge yourself before you work with the device e g by touching a heater of metal to avoid damages e Stay grounded while working with the device to avoid damage through electrostatic discharge 1
14. a Write Protect is off sda assuming drive cache write through sda sdal sda2 lt sda5 gt sd 0 0 0 0 Attached scsi disk sda EXT3 fs INFO recovery required on readonly filesystem EXT3 fs write access will be enabled during recovery kjournald starting Commit interval 5 seconds EXT3 fs recovery complete EXT3 fs mounted filesystem with ordered data mode VFS Mounted root ext3 filesystem readonly Freeing unused kernel memory 264k freed INIT version 2 86 booting EXT3 FS on sda5b internal Journal Setting the system clock Cleaning up ifupdown Loading kernel modules r6040 RDC R6040 RX NAPI net driver version 0 17 13Apr2007 r6040 RDC R6040 RX NAPI net driver version 0 17 13Apr2007 dnp2586 wdt timeout 60 sec SSVp102586 version 20080312 using major 65 done etc ssvceonfig skin ipbynet create child with pid 367 Setting kernel variables done Mounting local filesystems done Activating swapfile swap done Setting up networking Configuring network interfaces done Starting web server lighttpd NET Registered protocol family 10 lo Disabled Privacy Extensions IPv6 over IPv4 tunneling driver Starting internet superserver inetd Starting OpenBSD Secure Shell server sshd Starting periodic command scheduler crond INIT Entering runlevel 9 Debian GNU Linux 4 0 emblinux ttyS0 emblinux login Please note This symbol 7 shows that the following line belongs t
15. class 838 CLASS Datei 03 11 2008 12 40 15 E bash_logout 220 BASH_LOGOUT Datei 04 04 2008 10 24 00 PII F r user user E HelloworldSwing class 439 CLASS Datei 03 11 2008 12 40 15 E bash_profile 414 BASH_PROFILE Datei 04 04 2008 10 24 00 PIAI P r user user HelloWorldSwing java 1 109 JavaLangquage 03 11 2008 12 26 54 E bashre 2 227 BASHRC Datei 04 04 2008 10 24 00 FII P r user user E Helloworld class 426 CLASS Datei 16 06 2008 00 09 00 FW Y root root lt 1 Datei ausgew hlt Gesamtgr e 426 Bytes 4 Dateien Gesamtgr e 3 287 Bytes Warteschlange leer Fig 16 The FTP server allows R W access to all MAX Linux directories Connect your FTP client with the eSOM 2586 FTP server and transfer some files from the PC to the eSOM 2586 directory home user Check the new files with a Telnet session Change to the eSOM 2586 directory home user within your Telnet session c Telnet 192 168 0 126 lof x Linux 2 6 18 8 dmp ssvl emblinux emblinux login roo t Linux emblinux 2 6 18 8 dmp ssv1 1 PREEMPT Fri Apr 4 10 17 51 CEST 2008 i486 The programs included with the Debian GNU Linux system are free software the exact distribution terms for each program are described in the individual files in usr share doc copyright Debian GNU Linux comes with ABSOLUTELY NO WARRANTY to the extent permitted by applicable law Bus yBox v1 1 3 Debian 1 1 1 3 4 Built in shell ash Enter help for a list
16. ergallee 72 D 30453 Hannover Phone 49 0 511 40 000 0 Fax 49 0 511 40 000 40 E mail sales istl de Internet www ssv embedded de Support www ssv comm de forum DOCUMENT HISTORY 1 0 2009 04 07 first version WBU 14 2009 05 12 Changed embedded a ee into operator touch WBU 1 2 2009 05 19 Errors in board layout corrected WBU The content of this document can change any time without announcement There is taken over no guarantee for the accuracy of the statements The user assumes the entire risk as to the accuracy and the use of this document Information in this document is provided as is without warranty of any kind Some names within this document can be trademarks of their respective holders 2009 SSV EMBEDDED SYSTEMS All rights reserved Manual Revision 1 2
17. es for remote login passwd password utility addgroup adduser delgroup deluser non volatile user management pivot_root chroot capabilities halt reboot shutdown features full kernel module support standard Debian kernel modules for a variety of devices Manual Revision 1 2 OTP 57V Starter Kit First Steps 3 7 MAX Linux Boot Messages Linux version 2 0510 8 OM SS vl mha hareangle saturn a SSV20080404 gec Version 4 1 2 20061115 prerelease Debian 4 1 1 21 1 PREEMPT Fri Apr 4 10 17 51 CEST 2008 BIOS provided physical RAM map BIOS e820 0000000000000000 000000000009fc00 usable BIOS e820 000000000009 fc00 00000000000a0000 reserved BIOS e820 00000000000e0000 0000000000100000 reserved BIOS e820 0000000000100000 0000000004000000 usable BIOS e820 00000000 000000 0000000100000000 reserved 64MB LOWMEM available DMI not present or invalid Allocating PCI resources starting at 10000000 gap e 04000000 bO00000 Built 1 zonelists Total pages 16384 Kernel command line root dev sda5 ro console ttyS0 115200 pnpbios off acpi off rootdelay 6 ssvinit BOOT_IMAGE bz Image No local APIC present or hardware disabled Initializing CPU 0 PID hash table entries 512 order 9 2048 bytes Console colour dummy device 80x25 Dentry cache hash table entries 8192 order 3 32768 bytes Inode cache hash table entries 4096 order 2 16384 bytes Memory 61388k 65536k available 1838k
18. flash memory chip This process consists of the following steps 1 Directly after power up the eSOM 2586 runs the AMI BIOS This Basic Input Out put System BIOS initializes the hardware components and runs the boot loader from the Flash memory With RCM disabled there is no BIOS message output over the eSOM 2586 serial ports 2 If the BIOS finish the eSOM 2586 runs the SYSLINUX boot loader This software component operates with MS DOS Windows FAT file systems The SYSLINUX boot loader loads the MAX Linux image form the Flash disk to the RAM and gives the control over the CPU to the Linux operating With RCM disabled there is no SYSLINUX message output over the eSOM 2586 serial ports 3 Linux takes control over the eSOM 2586 hardware and runs all necessary processes for coming up to live With RCM disabled there is no Linux message output over the eSOM 2586 serial ports COM DilNetPC Hyper Terminal Datei Bearbeiten Ansicht Anrufen bertragung emblinux login _ Verbunden 00 01 42 115200 8 N 1 Fig 8 Linux booting process with HyperTerminal The eSOM 2586 MAX Linux supports a serial console It allows a Linux based system in a headless configuration without a monitor ands keyboard After the boot process finish the eSOM 2586 MAX Linux shows a login prompt Please use the login name root and the password root Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 6 Power up eSOM 2586 with RCM enabled
19. he IP addresses if your ping does not work Then check the TCP IP setup of your PC Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 9 Using a Telnet Connection Run a Telnet client program on your PC with the IP address of the eSOM 2586 You can use a Telnet session for remote entering Linux commands sion 5 1 2600 rosoft Windo ws XP LVer Copyright 1985 2001 Microsoft Corp Dokumente und Einstellungen kdw gt telnet 192 168 0 126 Fig 14 Run the Windows Telnet client program Wait until the eSOM 2586 MAX Linux requests a user name Please enter the user name root and the password root Linux 2 6 18 8 dmp ssvl emblinux emblinux login root Linux emblinux 2 6 18 8 dmp ssvi 1 PREEMPT Fri Apr 4 10 17 51 CEST 2008 i486 The programs included with the Debian GNU Linux system are free software the exact distribution terms for each program are described in the individual files in Zusr share doc copyright Debian GNU Linux comes with ABSOLUTELY NO WARRANTY to the extent permitted by applicable law BusyBox v1 1 3 Debian 1 1 1 3 4 Built in shell ash Enter help for a list of built in commands root root Sep root root Sep Be root root Aug bin dev etc home i lost found media mnt proc root sbin sys tmp usr var w gt 2 4 6 3 6 2 4 Z 2 2 2 1 2 5 6 Fig 15 Using Linux commands within a Telnet client window Manual Re
20. he Linux console Please note C C programming for the eSOM 2586 doesn t need a cross GCC You can use the native GCC of a Linux environment with kernel version 2 6 Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 14 Hello World with Java The eSOM 2586 MAX Linux comes with a preinstalled Java 6 runtime environment Sun J2SE This allows you to run platform independent Java class files on the eSOM 2586 Before following the next steps make sure that the original Sun Java Development Kit JDK for Java 6 is installed on your development PC c Eingabeaufforderung o x C _FTP temp gt type HelloWorld java public class HelloWorld public static void main Stringl 2795 System out println Hello fori ldt C _FTP temp gt javac HelloWorld java C _FTP temp gt dir HelloWorld Volume in Laufwerk C hat keine Bezeichnung Yolumeseriennummer 7CE4 3FA4 Verzeichnis von C _FIP temp 28 01 2009 10 50 426 HelloWorld class 28 01 2009 10 49 126 HelloWorld java 2 Dateilen 552 Bytes Verzeichnis se 30 798 061 568 Bytes frei Ge Pere Java HelloWorld Hel To World C _FTP temp gt m Fig 25 Edit and compile the Java Hello World sample on your PC Run a simple text editor or a special programmer editor on your development PC and en ter the following text lines public class HelloWorld public Static void main String args 4 System out prantin dello wWorld Sto
21. he MAC address of the eSOM 2586 Ethernet LAN interface If an ICMP packet is available PbyNET extracts the destination IP address from the ICMP echo request packet and sets the eSOM 2586 Ethernet LAN interface with this IP address Eingabeaufforderung ping t w 300 192 168 0 10 olx C gt ping 192 168 0 126 Ping wird ausgef hrt f r 192 168 0 126 mit 32 Bytes Daten Antwort von 192 168 0 126 Bytes 32 Zeit lt 1ms Antwort von 192 168 0 126 Bytes 32 Zeit lt ims Ping Statist ik fur a 168 0 126 Pakete Gesende 4 Empfangen 4 Verloren Verlust Ca Zeitangaben in Millisek inimum ms Maximum Oms Mittelwert ms C Oarp s 192 168 0 10 02 80 AD 20 D3 7F C gt ping t w 300 192 168 0 10 Ping wird ausgef hrt f r 192 168 0 10 mit 32 Bytes Daten Zeit berschreitung Anforderung Anforderung Anforderung Anforderung Anforderung Anforderung Anforderung Anforderung e anforderuns RT ntwort 444144 4 1 1 PERGEL LAUS 1 OS 1 O uuu HDAADADO HAHAHAHA Fig 28 Changing the IP address with IPbyNet Please see the label with the MAC address of the eSOM 2586 on the top of your device to find the MAC address for your eSOM 2586 Then run a Windows command prompt and enter the following two command lines arp s 192 168 0 10 02 80 AD 20 D3 7F ping t w 300 192 168 0 10 The first command line creates an ARP table entry for the IP address 192 168 0 10 and the MAC addre
22. kernel code 3700k re served 713k data 264k init Ok highmem Checking if this processor honours the WP bit even in supervisor mode Ok Security Framework v1 0 0 initialized SELinux Disabled at boot Capability LSM initialized Mount cache hash table entries 512 Compat vDSO mapped to ffffe000 CPU 486 Checking hit instructions OK NET Registered protocol family 16 EISA bus registered PCI Using configuration type 1 Setting up standard PCI resources ACPI Interpreter disabled Linux Plug and Play Support v0 97 c Adam Belay pnp PnP ACPI disabled PnPBIOS Disabled SCSI subsystem initialized usbcore registered new driver usbfs usbcore registered new driver hub PCI Probing PCI hardware PCI Using IRO router default 17f3 6031 at 000020020720 NET Registered protocol family 2 IP route cache hash table entries 512 order 1 2048 bytes TCP established hash table entries 2048 order 1 8192 bytes TCP bind hash table entries 1024 order 0 4096 bytes TCP Hash tables configured established 2048 bind 1024 TCP reno registered audit initializing netlink socket disabled aud c 121353 0399 532 2 initialized VFO Disk guotas AaQuorE 6 5 1 Dquot cache hash table entries 1024 order 0 4096 bytes Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered Manual Revision 1 2 OTP 57V Starter Kit First Steps VE GEB E o en
23. le based access to the platform either through serial line or the Ethernet infrastructure and supports Telnet or the more secure ssh protocol 3 1 Main Features e Syslinux 3 63 based bootloader system for USB NAND flash e Linux Kernel Version 2 6 18 8 dmp ssvl standard debian kernel modules e Debian Etch 4 0 based ext3 rootfs filesystem non volatile e Java TM SE Runtime Environment build 1 6 0_03 b05 e X Server base system with full GPU support 3 2 General Tools e GNU bash Version 3 1 17 e Perl interpreter Version 5 8 8 e apt get and aptitude Software package management e packaging tools tar gzip bzip2 zip e midnight commander file manager e Rich set of command line applications and tools known from the Debian desktop version 3 3 File System Tools e vfat fat msdos iso 1508859 nfs and many more modules for filesystem mount support e fdisk harddisk partitoning tool e mktfs ext2 mkfs ext3 mkfs vfat mkfs msdos formating tool e tune2fs tool e loop device support Manual Revision 1 2 3 4 3 5 3 6 OTP 57V Starter Kit First Steps Network Features dhcp client ipv4 and ipv6 kernel modules telnet deamon for network remote login ssh deamon for secure network remote login ftp deamon for network file transfer full featured tftp client webserver lighttpd socat Kernel Module Support Ismod depmod modprobe rmmod Other Features minicom login and getty standard utiliti
24. o the previ ous line Manual Revision 1 2 OTP 57V Starter Kit First Steps 4 BB6 ESOM HARDWARE REFERENCE The following chapters describe the main hardware components of the BB6 eSOM 4 1 BB6 eSOM Board Layout O Olt picsessl ClO ROMs Be x 5 amp E a lt 4 Q ed peccce poccee eelecliee a GOB D J7 COM3 connector J1 eSOM 200 module connector 1 2 JP1 COM3 termination jumper J17 Power connector 3 J8 PIO connector 2 BAT1 Battery holder amp J10 10 100 Mbps Ethernet connector 3 J15 Reset connector J9 USB1 USB2 connector J11 LAN LED connector J14 CAN SPI connector 9 J16 Power LED connector MD JP2 CAN mode jumper J12 LCD connector J2 eSOM 200 module connector 2 AD J6 COM2 connector J13 Touch connector bottom side J5 COM1 connector Fig 29 Board layout of BB6 eSOM Please note Before using the CAN SPI PIO and USB connectors please contact our support staff at support istl de Manual Revision 1 2 OTP 57V Starter Kit First Steps 4 2 Pinout COM1 Connector J5 CON o1 amp W PD 9 10 DCD DSR RXD RTS TXD CTS DTR RI GND COM1 Serial Port DCD Pin COM1 Serial Port RXD Pin COM1 Serial Port TXD Pin COM1 Serial Port DTR Pin Ground COM1 Serial Port DSR Pin COM1 Serial Port RTS Pin COM1 Serial Port CTS Pin COM1 Serial Port RI Pin Not connected Table 4 Pinout COM c
25. onnector 2 1 FE Pinout COM2 Connector J6 4 3 10 9 ooNOOIPOD co 10 DCD DSR RXD RTS TXD CTS DTR RI GND COM2 Serial Port DCD Pin COM2 Serial Port RXD Pin COM2 Serial Port TXD Pin COM2 Serial Port DTR Pin Ground COM2 Serial Port DSR Pin COM2 Serial Port RTS Pin COM2 Serial Port CTS Pin COM2 Serial Port RI Pin Table 5 Pinout COM2 connector 2 1 10 9 Manual Revision 1 2 OTP 57V Starter Kit First Steps 4 4 Pinout COM3 Connector J7 u er 3 RX TX COMS3 Serial Port RX TX Pin RS485 4 RX TX COMBS Serial Port RX TX Pin RS485 5 oe Aig 7a eee 7E ol 9 me 10 Ez Table 6 Pinout COMS3 connector 2 10 1 9 l 4 5 Pinout 10 100 Mbps Ethernet Connector J10 1 TX 10 100 Mbps LAN TX Pin 2 TX 10 100 Mbps LAN TX Pin 3 RX 10 100 Mbps LAN RX Pin 4 Rx 10 100 Mbps LAN RX Pin Table 7 Pinout 10 100 Mbps Ethernet connector 4 6 Pinout Power Connector J17 1 Vin Power In 12 24 VDC 2 GND Ground Table 8 Pinout power connector oo CAUTION Providing the BB6 eSOM with a voltage higher than the regular 24 VDC 10 could cause damaged board components Manual Revision 1 2 OTP 57V Starter Kit First Steps 5 HELPFUL LITERATURE e Base Board BB6 eSOM hardware reference manual e eSOM 2586 hardware reference manual e Vortex86DX documents http www vortex86dx com CONTACT SSV Embedded Systems Heisterb
26. re the sample lines within a file with the name HelloWorld java Then run your Java 6 compiler and generate a class file with the name HelloWorld class The command line for this task is javac HelloWorld java Transfer the class file Helloworld class with the help of FTP or TFTP to the eSOM 2586 Then execute the class file with the following command line java HelloWorld Manual Revision 1 2 OTP 57V Starter Kit First Steps Telnet 192 168 0 126 BEE 04 2008 from 192 168 0 1 on pts B emblinux cd home user emblinux Zhome user ls total drwxr xr x user user 19 drwxr xr x root root oF user user bash_logout user user bash_profile user r bashrc root root 16 2 HelloWorld class 1 root roo 66 emblinux home user java Hell Hello World emblinux home user m Jun 16 hello o World Fig 26 Run the Java Hello World sample on the eSOM 2586 Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 15 Changing the MAX Linux IP Address IPbyNet The ex factory value for the default IP address is 192 168 0 126 The network mask for this address is 255 255 255 0 You can change the IP address with the eSOM 2586 IPbyNET feature Windows command prompt o Se Ethernet link host eSOM 2486 Fig 27 Environment for IP address change with PbyNet IPbyNET is an eSOM 2586 MAX Linux component which checks direct after each boot process the presence of ICMP echo request packets w th t
27. ss 02 80 AD 20 D3 7F The second command line sends an ICMP echo request to the device with the MAC address 02 80 AD 20 D3 7F This request contains the new IP address 192 168 0 10 Manual Revision 1 2 OTP 57V Starter Kit First Steps Change the IP address and the MAC address of the two command lines Use the IP ad dress of your needs and the given MAC address from your eSOM 2586 Then reboot the eSOM 2586 After a few seconds the eSOM 2586 responds to the ping with the new IP address Please note Changing the IP address of your eSOM 2586 with PbyNET resets also the web based configuration interface settings to factory defaults Manual Revision 1 2 OTP 57V Starter Kit First Steps 3 MAX LINUX This part describes the main features of the user installable MAX Linux system for the eSOM 2586 MAX Linux features a typical standard Linux system based on the Debian Etch 4 0 distribution MAX Linux makes use of a complete user defined boot process that uses special kernel parameters to boot into rootfs without the need of initial RAM disk The MAX Linux root file system uses an extended ext3 partition of the eSOM 2586 NAND Flash memory and offers complete user access non volatile R W access All features of the kernel and hardware specific modules for the Vortex86DX SOC are integrated as well as the complete set of applications and tools known from base system of the famous Debian desk top version MAX Linux offers conso
28. t void main void printer Hello World n 3 CTRL D Stops the cat command g c 0o hello hello c mv hello windows transfer hello Cooperative Linux console ole Fie Monitor Inspect Help ssyvcolinux home user cat hello c include lt stdio h gt H include lt stdlib h gt void main void printf Hello World n ssycolinux home user gcc o hello hello c hello c In function main hello c 5 warning return type of main is not int ssucolinux home user my hello windows transfer hello ssycolinux home user _ Cooperative Linux console started Manitoro Attached Fig 23 Creating hello world within the Linux console Manual Revision 1 2 OTP 57V Starter Kit First Steps The command line sequence creates the executable hello for the x86 IA 32 based eSOM 2586 with a Linux 2 6 kernel Then transfer the executable with the help of FTP or TFTP to the eSOM 2586 and run the executable Don t forget the chmod x hello GY Telnet 192 168 0 126 0 x GNU Linux 4 0 emblinux login root Password Last login Mon Jun 16 02 06 34 2008 from 192 168 0 1 on pts 7U emblinux cd home user emblinux ars none chmod x hello home user ls al 2 user user 1024 16 3 root root 1024 16 user user a 4 10 bash_logout user user 414 4 bash_prof ile user user 2227 4 24 bashre 1 root ot 4803 1 2s hello gyone7user hello Fig 24 Executing hello world within t
29. ub found hub 3 0 1 0 2 ports detected oheau hed 0000 00205 0 OHCT Host Controller ohci_hcd 0000 00 0b 0 new USB bus registered assigned bus number 4 ohci_hcd 0000 00 0b 0 irg 11 io mem 0x000e1000 usb 2 1 new high speed USB device using ehci_hcd and address 2 usb usb4 configuration 1 chosen from 1 choice hub 4 071 0 USB hub Found hub 4 0 1 0 2 ports detected usb 2 1 configuration 1 chosen from 1 choice Initializing USB Mass Storage driver scsi0 SCSI emulation for USB Mass Storage devices usbcore registered new driver usb storage USB Mass Storage support registered PNP No PS 2 controller found Probing ports directly serio 18042 AUX port at 0x60 0x64 irq 12 serio 18042 KBD port at 0x60 0x64 irg 1 mice PS 2 mouse device common for all mice EISA Probing bus 0 at eisa 0 EISA Detected 0 cards TCP bic registered NET Registered protocol family 1 NET Registered protocol family 17 NET Registered protocol family 8 28 Manual Revision 1 2 OTP 57V Starter Kit First Steps NET Registered protocol family 20 Using IPI Shortcut mode Waiting 6sec before mounting root device Time pit clocksource has been installed Vendor SMI Model USB DISK Rev 1100 Type Direct Access ANSI SCSI revision 00 SCSI device sda 1981440 512 byte hdwr sectors 1014 MB sda Write Protect is off sda assuming drive cache write through SCSI device sda 1981440 512 byte hdwr sectors 1014 MB sd
30. ule by using command lighty enable mod cgi Log files are placed in var log lighttpd and will be rotated weekly The frequency of rotation can be easily changed by editing etc logrotate d lighttpd e The default directory index is index html meaning that requests for a directory oo bar will give the contents of the file var www foo bar index html if it exists assuming that var www is your DocumentRoot You can enable user directories by using command lighty enable mod userdir About this page This is a placeholder page installed by the Debian release of the Lighttpd server package This computer has installed the Debian GNU Linux operating system but it has nothing to do with the Debian Project Please do not contact the Debian Project about it If you find a bug in this Lighttpd package or in Lighttpd itself please file a bug report on it Instructions on doing this and the list of known bugs of this package can be found in the Debian Bug Tracking System YJ Bild http www w3 org Icons valid xhtml10 wird geladen my ee Internet Fig 18 The web server delivers a placeholder web page a to PC web browser Create your first own HTML page on your PC For this sample save the HTML page content within a file with the name test1 html gt PSPad C _F TP root test1 html Datei Projekt Bearbeiten Suchen Ansicht Format Werkzeuge Skripte HTML Einstellungen Fenster Hilfe eee Gh 0 c B O k Tone Ba max F ORR
31. vision 1 2 OTP 57V Starter Kit First Steps 2 10 Checking FTP Server The eSOM 2586 Linux comes with a pre installed FTP server This server allows the file transfer between a PC and the eSOM 2586 Run an FTP client program on your PC Set the session parameters for your FTP client to IP address 192 168 0 126 user name root and password root After a successful FTP login the eSOM 2586 FTP server allows R W access to all MAX Linux directories FR root 192 168 0 126 FileZilla Datei Bearbeiten Ansicht Transfer Server Lesezeichen Hilfe amp Ile Q 2 O w p Server 192 168 0 126 Benutzername root Passwort eses Port _verbinden_ Antwort 226 Transfer complete Dateitransfer erfolgreich Empfange Yerzeichnisinhalt PORT 192 168 0 1 7 37 200 PORT command successful LIST 150 Opening BINARY mode data connection for binjls 226 Transfer complete Anzeigen des Yerzeichnisinhalts abgeschlossen C _FTPitemp Ni H microjblend_kdwp ID Motorola w24 Neuss 25092008 O root O Telegesis_ETRXnUSB_driver fae temp 2 flash E DO WSN 3 home H _TOSHIBA ALT O user Fa TACUTDA MCI 2 initrd Dateiname Dateigr e Dateityp Zuletzt ge ndert E lib B PR Inct Fauind E Helloworld class 426 CLASS Datei 28 01 2009 10 50 46 Dateiname Dateigr Dateityp Zuletzt ge ndert Berechtigu Besitzer Helloworld java 126 JavaLanguage 28 01 2009 10 49 39 E HelloworldSwing 1
32. y and Power up the Starter Kit Connect the 12 24 VDC power supply which is included in the scope of delivery of the OTP 57V with the power connector of the BB6 eSOM power supply Fig 5 Power supply for the BB6 eSOM Please note Make sure that all cable connections are OK Then power up the Starter Kit Manual Revision 1 2 m F OTP 57V Starter Kit First Steps 2 4 Using Serial Link with Terminal Program Run HyperTerminal on your Windows PC minicom or a similar simple terminal emulation program on your Linux based PC Verbinden mit F fx D DIL NetPC Geben Sie die Rufnummer ein die gew hlt werden soll Land Region Ortskennzahl 511 Verbindung herstellen ber v Fig 6 Direct connection setup with HyperTerminal Setup a direct connection with the parameters of table 2 Make sure that the PC COM port supports 115 200 bps Eigenschaften von COM1 fr ur Vi Anschlusseinstellungen Bits pro Sekunde PARNI w Paritat Keine Ausssteverung Kein Wiederherstellen Abbrechen Ubemehmen Fig 7 Parameter setup with HyperTerminal Parameter Value Speed 115 200 bps Data Bits 8 Parity None Stop Bits 1 Protocol No Xon Xoff RTS CTS or similar Table 2 Setup parameters for the serial link Manual Revision 1 2 OTP 57V Starter Kit First Steps 2 5 Power up eSOM 2586 with RCM disabled After power up the eSOM 2586 starts an automatic boot process from the on board
33. your PC system Linux based PCs offer a TFTP server as part of the standard networking feature set For Windows based PCs please use the free Win32 TFTP server program from the Starter Kit CD ROM see directory TFTP Server Win32 at the Starter Kit CD ROM IFTPD32 by Ph Jounin Server interface 192 168 0 1 Show Dir Connection received from 132 168 0 126 on port 3072 Read request for file lt testl htrnl gt Mode octet test html sent 2 blks 81 bytes in Os O blk resent Current Action Listening on port 69 About Fig 21 Running the Win32 TFTP server Figure 19 shows the free Win32 TFTP server in action This server allows file transfers to and from any eSOM 2586 directory c Telnet 192 168 0 126 lof x Linux 2 6 18 8 dmp ssvl emblinux emblinux login root Linux emblinux 2 6 18 8 dmp ssvl 1 PREEMPT Fri Apr 4 10 17 51 CEST 2008 i486 The programs included with the Debian GNU Linux system are free software the exact distribution terms for each program are described in the individual files in Zusr share doc copyright Debian GNU Linux comes with ABSOLUTELY NO WARRANTY to the extent permitted by applicable law Bus yBox v1 1 3 Debian 1 1 1 3 4 Built in shell ash Enter help for a list of built in commands tftp g 1 testi html 192 168 0 1 using seryer 192 168 8 1 remotefile testi html localfile testi html sendin 22 l 342 65 bytes 74 31 Ze 68 74 6d 6c OO 6f 63 74 65 74 BO

Download Pdf Manuals

image

Related Search

Related Contents

Manual de usuario SIT  Funktionale Sicherheit von Maschinensteuerungen  APL-amplifier modules - Manual V2,0.doc.docx  White Outdoor ROTO BOSS 510 215-310-190 User's Manual  Jabra® Stone2  HS-G SERIES INSTALLATION & MAINTENANCE GUIDE  2013-2014. Biblio CAFIPEMF  全ページダウンロード(pdf 3135kb)    GUIDE DE PRECONISATIONS PAYSAGERES  

Copyright © All rights reserved.
Failed to retrieve file