Home
SBC9302 User`s Manual
Contents
1. UART2 ART1 igure SPJETPL All Rights Reserved www spjsystems com Page 10 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G Locations and names of various connectors and jumpers are shown in Figure 3 and Figure 4 Note The processor EP9302 has 2 on chip UARTs EP9302 documentation refers to these as UARTO and UART1 Both these UARTs are made available to user through 2 separate DB9 connectors named as UART1 and UART respectively In other words EP9302 UARTO is available on connector UART1 EP9302 UART1 is available on connector UART2 Henceforth in this document the word UART1 refers to UART1 connector i e EP9302 UARTO and the word UART2 refers to UART2 connector i e EP9302 UART1 5 1 Jumper description Viewpoint Reference Look at the SBC9302 board from front side The 2 UART connectors should be near the lower edge PC 104 connector should be near the left edge Conventions used 2 pin jumpers These can be shorted or open These 2 conditions are noted as Short or Open respectively jumpers conditions are possible in this case middle and upper pin shorted middle and lower shorted or open no pins shorted These 3 conditions are noted as Up Down or Open respectively Don t car
2. Basset lui iii dune itti niai AAA RRR Ras ee EEE SPJETPL All Rights Reserved WWW Spjsystems com Page 6 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 3 SBC9302 Development Setup Although stand alone no OS applications can be run on SBC9302 it is primarily intended to run Linux based applications The SBC9302 ships with Linux pre installed As described in the specifications section above the board has many interfaces including RS232 and Ethernet During development these 2 interfaces are very useful Figure 2 depicts typical setup required for developing Linux based or stand alone applications for SBC9302 SBC9302 Typical Development Setup PC 104 bus Serial cable LAN cables LAN cable LAN Internet access Figure 2 Items marked in Yellow are mandatory SBC9302 deliverables include the serial cable It also includes 1 Amp power supply suitable for SBC9302 board alone Computer with Linux shall be arranged by user Items marked in Lavender are optional fthe computer does not need connection to LAN then Hub Switch may not be used Instead LAN cable maybe connected directly between Computer an
3. SPJETPL All Rights Reserved www spjsystems com Page 27 of 36 SBC9302 User s Manual Serial Device dev ttysO Lockfile Location home bhal lock Callin Program Callout Program Bps Par Bits 57600 8N1 Hardware Flow Control No Software Flow Control No Change which setting 1 Screen and keyboard Save setup dfl Save setup as Exit Exit from Minicom Now exit this setup and switch on the board 13 More about TFTP and redboot Note Messages as displayed on serial terminal are formatted in Courier new We load total 4 images on sbc9302 depending on the requirements 1 Redboot Loaded from serial port Do not change redboot unless you are sure about what you are doing 2 zlmage Loaded from ethernet Linux Kernel image 3 Ramdisk gz Loaded from ethernet Linux root file system 4 part jffs2 Loaded from ethernet JFFS2 file system partition Usually redboot will be fixed and need not be changed Part jffs2 will change only if you need to modify jffs2 partition size So in practice you may need to modify on zimage and ramdisk gz Linux images can be downloaded from redboot using TFTP protocol First we have to setup TFTP Server 13 1 TFTP Setup on Linux Machine Xinetd TFTP and TFTP server packages must be installed to run tftp server on linux desktop Following instructions are applicable for mandriva Linux and should be similar for other distributions too Once xinetd and
4. _jsaveNew asciihex Ext p Building Embedded Linux Svskerr Stop Local TFTP Server Goto Manage repositories Then select a folder to read and write from board SPJETPL All Rights Reserved www spjsystems com Page 29 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual fe Virtual TFTP Folders Cs Virtual folder is a folder identified virtual path Access rights and request preprocessing rules are specific for every repository can efficiently manage server behavior by creating multiple virtual folder Virtual folder on this TET Virtual folder Local Path i D thtproot Once we setup TFTP folder on windows machine we can exchange files between windows machine and SBC9302 board SBC9302 is a TFTP client and it reads or writes file to TFTP server To make TFTP work in SBC9302 we need to setup Ethernet 13 3 Ethernet Setup in Redboot Reset the board and press Ctrl C when prompted to do so Executing boot script in 5 000 seconds enter C to abort It will go to the redboot prompt RedBoot gt Here we can issue redboot commands To view current Ethernet settings in Redboot type ip address it will show the default settings RedBoot ip address TPS LOZ cA OC ei wel OJ Zoo eZ Ow Zoe Gateways 192416081410 Default server 192 168 1 151 It will display current IP address Here 192 168 1 210 is IP address of SBC
5. UART2 This connector brings out pins of UART2 Basically both the UARTs have 3 possibilities RS232 or RS422 or TTL 3 level One of these 3 options is selected through jumpers Depending on the selected option the signals available on this connector may var When 2 is configured as RS232 Signal 5 Tx of UART2 Note If UART2 is not configured as RS422 and UART2 is not configured as RS232 then all pins of connector UART2 have no connection In this case UART2 signals at 3 3V level are available on GP CON2 SPJETPL All Rights Reserved www spjsystems com Page 13 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G JTAG2 This connector brings out JTAG pins of the EP9302 processor This is a standard 20 pin JTAG connector Any third party JTAG based Emulator which supports standard 20 pin JTAG connector can be connected here The pin description is as below Signal nTRST 7 GND GND GND O TDO 18 GND 20 10 12 13 14 15 16 12 13 14 15 16 18 20 SPJETPL All Rights Reserved www spjsystems com Page 14 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual fe X1 J1 and X1 J2 PC 104 These 2 connectors make up the PC 104 interface Some of the standard P
6. Note3 control 22 FGPIOS Ip Op OD Yes GPCON 9 SD Cad SPJETPL All Rights Reserved www spjsystems com Page 19 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual kopo A ee Input Note1 This pin is used for RTC interface This can be used as GPIO if RTC is not soldered on the board Note2 This pin is used for USB device interface This can be used if components related to USB device interface are not soldered on the board Note3 By default this can be used as GPIO But optionally it can be used as direction control pin for RS485 interface This is possible if a 0 Ohm resistor is soldered on the board Note4 This pin is used for SD Card interface This can be used if components related to SD Card interface are not soldered on the board 5 This pin is used for PC 104 interface This can be used if components related to PC 104 interface are not soldered on the board Note6 Some GPIO pins have input and output capability direction selectable by software some others have only input capability and some others have only output capability Pins are highlighted in different colors to distinguish such capabilities CAUTION Soldering or de soldering any part on from the board will make warranty void However OE customers may request quotations for customized version of SBC9302 board Some features on this board can be remove
7. a E E 2 2 q 1 E db s z D t 5 a E 7 1 5 ii E H E i E E t a s CFGU1 3 CFGU1 2 CFGU1 1 RX1 CFGU2 3 CFGU2 2 CFGU2 1 a V d m ilg v v v v v v v v v v v v v v v v 2 a a _ Dp eee due us E suede _ dx T E i Do _ TX2 ii lese Cr j f 2 ji i RX2 ERES Raid oos p oe ab 2 1 TX1 ERAR i n HMM
8. useful for building complex projects This is generally part of the Linux installation on the computer 5 minicom This is a serial terminal utility similar to Hyperterminal of Windows This can be part of Linux OS installed on the computer If not this can be installed later from the Linux installation CD DVD Alternatively this can be also downloaded from internet 6 tftp Stands for Trivial File Transfer Protocol it is a useful tool for transferring files over Ethernet LAN This can be also part of Linux OS installed on the computer If not this can be installed later from the Linux installation CD DVD Alternatively this can be also downloaded from internet SPJETPL All Rights Reserved www spjsystems com Page 22 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 7 Many useful makefiles configuration files and some shell scripts can be also considered part of the development tool Many of these are supplied in the accompanying CD 9 Preparing computer As described earlier Linux computer is necessary It is assumed that Linux OS is already installed on the user s computer Several different Linux distributions are available We have used computer with Mandriva Linux spring 2007 installed in it However procedure described here should work well on other Linux distributions also possibly with minor differences Following steps maybe followed to make this computer read
9. E a T TT p 1 pM a i H gm m d Lo pui T AN 2 A 1 i UH i p j 3 P 4 T pim Wd Rx uw A li i Rd i apo ae D H 2 est E 5 3 ar 8 o i i T UE S FE 5 E NE 3 E I x E T c 5 E E t E z 2 5 e x E p fx 2 eee AE T E E 3 SE ee 2 ES E E 2 8 8 AE 5 Ew 2 E E E E 2 i g 2 2 Eee 3 s E E E E 2 2 5 s F 2 2 5 _ i E E 5 2 ie D 3 a a E E 3 eee tee t LM DE a a
10. E E a Ev i 7 oc t i i hes 2 3 E n t 4 a 4 eer a md NM mimi ig i ji geen oon a adie i vut etd Tati er ee jdm E peru as Lue ue uer id E fe E ww wu x du M E L 5 a tom Bie i Lo OS Xo 2 a d 5 t tox o E i E 5 t fox f oris E i i ol u E i d 222222 222 22 pest m mom om z rox o 2 i _ ee t MU WEM 2 2 tz 22 ER E E E 22 2 22 2 _ Tae a oe oe Bod s du ee s ftd 1 p oS a a E B n a a a D d a Ir mw d W X1 J ido iip BHO j y apud T p cur qu E d E IRE SEO p p AEOS 1 uiu Ej E 5 2 E s 2 1 a im E HE ond m m o
11. Reserved www spjsystems com Page 32 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G sbc9302 EA build defconfigs Fadl iE docs iE host images iE kernel lea packages spj docs config 8 EE 8 The contents of subfolders are build Temporary folder where files are copied and built kernel Linux kernel source directory Kernel source is extracted and configured here Images Linux images generated after build host Folder for using configuration tools on host docs Documentation from cirrus logic di Folder for saving downloaded source files spj docs Documentation from spj systems defconfigs pre defined kernel configurations from cirrus logic packages contains user applications A sample application is available under spj folder In packages folder there are a lot of packages available These packages will go to the ramdisk gz file root file system packages alsa atk bootloader ES busybox cairo config iS curi dependencies dfbprogs directfb djmount ES dosfstools j ale2fsprogs expat Go further in the packages folder There we have lot of example applications These examples are very simple and easy to understand Users can modify replace their own applications 9 EDU DU UE DE DOG OTI SPJETPL All Rights Reserved www spjsystems com Page 33 of 36 SPJ Embedded Techn
12. can make 8 combinations one is forbidden because it is partly used by SLPIB and partly reserved for future use This forbidden combination is marked in red below Jumper Jumper Jumper Start address End address Remark corresponding corresponding corresponding to A22 to A21 to A20 0x1010 0000 Ox101F FFFF 1 MB available space 8 Development Tools Most of the tools required for developing applications for SBC9302 are supplied in the accompanying CD However these tools are not SPJ products These are open source tools and can be downloaded from Internet Important tools required are 1 gcc compiler This is native compiler i e runs on Linux computer and generates executables for Linux computer This is generally part of the Linux installation on the computer 2 arm elf gcc This is cross compiler i e runs in Linux computer and generates executables for stand alone ARM targets This is is useful for generating executable file of boot loader Boot loader is a stand alone application since it starts before Linux This can be downloaded from Internet This is also included on the accompanying CD 3 arm linux gcc This is cross compiler i e runs in Linux computer and generates executables for ARM Linux targets This is useful for generating Linux applications to run on SBC9302 board This can be downloaded from Internet This is also included on the accompanying CD 4 make This is Linux standard make utility
13. com Page 24 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com 5 9302 User s Manual G m E cirrus Properties dise code code d li Ep rete or DUET Click on configure and select COM port properties Usually COM port numbering starts from 1 2 If you are using usb2serial converter it may use higher COM number Check Device manager for list of available COM ports Use 576000 baud rate SPJETPL All Rights Reserved www spjsystems com Page 25 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual ix Port Settings G Bits per second Data bits a Panty Stop bits Flow control None Restore Click OK and click Call from the menu File Edit View Cal Transfer Help Digg e E NE al Wait For a Call stop wating Now connect the Power adaptor and switch ON the power On the terminal window you will see some messages flashing Finally following message will appear Please press Enter to activate this console Press Enter and you will see a command prompt Now SBC9302 is ready to work with a serial console Here you can use general Linux commands BUSyBOx Built in shell ash Enter help for a list of built in commands g Now SBC9302 is running Linux and what you s
14. install Mandriva Linux 2007 1 which includes necessary packages for development Allocate at least 15 20GB free space for installation Recommended sizes are 8GB for root partition 1 5GB for swap and 5 10GB for home partition e During installation there is an option to copy entire installation media to hard disk Choose this option lt consumes 3 4GB from root partition e Keep selected packages Additionally select entire development package during package selection If you have second CD ROM driver you can as well load packages list package list pl from supplied CD ROM Packages can be also added later after installation e Create a separate login account for development Do not use root login for general use Switch to root login only when it is necessary Root has full permissions to the computer and you may destroy system files accidentally If you have never worked in command line environment go through the Linux documentation on internet to understand common terminal commands like cd pwd mkdir Is rm cp mv etc Most users prefer dual boot installation Windows and Linux thus you don t need extra computer But it is painful to switch between windows and Linux frequently e After installation is finished reboot and login as a new user say your user id is user1 15 Workspace contents Lets have a look at our workspace Open Home folder in file manager Goto home user1 sbc9302 in terminal SPJETPL All Rights
15. various connectors are shown in Figure 3 and Figure 4 J1 This is power socket The supplied power supply in India only has power jack compatible with this socket It provides 7 5VDC maximum 1 Amp to the board Other necessary voltages are generated on board If higher current is required then power must be supplied through connector X2 and also jumper setting must be changed accordingly X2 This is a 5 pin relimate connector alternative to standard power socket J1 This should be used if more than 1 Amp current is required due to PC 104 add on modules and or external USB peripherals etc GND 5V not used on board but routed to PC 104 connector 12V 5 aN 000 0 0 O 45V SPJETPL All Rights Reserved www spjsystems com Page 12 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G UART1 This connector brings out pins of UART1 Basically both the UARTs have 3 possibilities RS232 or RS422 or TTL 3 3V level One of these 3 options is selected through jumpers Depending on the selected option the signals available on this connector may vary Pinf Signl A Signl Note If UART1 is not configured as RS422 and UART1 is not configured as RS232 then all pins of connector UART1 have no connection In this case UART1 signals at 3 3V level are available on GP CON2
16. 008 0000 0x100F 512 module Address range within memory space available for other 0x1010 0000 0x107F 7 MB PC 104 modules Address range within I O space available for other PC 104 0x1080 0000 Ox10FF FFFF modules SPJETPL All Rights Reserved www spjsystems com Page 21 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G The actually usable space is not 8 MB though due to the fact that PC 104 I O space uses only 16 bit addresses Thus total I O space is by definition limited to 64KB only This 64KB is mapped to the 8MB region 0x1080 0000 to Ox10FF FFFF on the SBC9302 Further most PC 104 modules that use space often use only addresses within 0x0300 to i e for the SBC9302 it will be Ox10mn 0300 to Ox10mn OSFF where m is any hexadecimal digit in the range 8 through and nis any hexadecimal digit in the range 0 through F Thus actually used space maybe even less 7 4 Address selection for SPJ manufactured PC 104 modules LCD panel interface board SLPIB is an LCD panel interface board fully compatible with SBC9302 It does not offer address selection Instead it uses a fixed address range of 0x1000 0000 to 0x1007 FFFF Other Other PC 104 modules manufactured by SPJ also use only memory space These boards usually provide 3 switches or jumpers for selecting one of the 7 possible address ranges Though 3 jumpers
17. 7 72 22 DEVELOPMENT TOOLS re VvaSaeEER FEVER AR n hE hE KENNERS SEESE EEEE 22 PREPARING COMPUTER eye ripis 23 DEVELOP AN APPLICATION DOWNLOAD IT INTO SBC9302 AND RUN IT 23 RUNNING SBC9302 WITH WINDOWS eee eee ee eee etre tenore 24 RUNNING SBC9302 WITH LINUNX ecce eee ee eene rennen reno eene een eese eee noee 27 MORE ABOUT TFTP AND REDBOSOT ccccsccccccccccccccccccccccccccccccccccccccces 28 13 1 TFTP SETUP ON LINUX MACHINE c ccceccsceccscecccceccscecescscscscesescesescecescscesesceseecess 28 13 2 TFTP SETUP ON WINXP MACHINE cccscoscsceccsceccececcsceccscecesescesescecescecscecesescesescecs 20 13 3 ETHERNET SETUP IN REDBOOT cccecosceccccecccececcececcececescecscscesescecescecescscesescusescecs 30 13 4 DEFAULT MEMORY PARTITIONS cccccceccsceccccececcsceccececeececescscstscusescecescecaseecesescesescecs 31 lis LOADING INI IMACES E EEN 31 INSTALLATION TIPS FOR DESKTOP 32 WORKSPACE CON TENTS 32 WORKSPACE CONFIGURATION 2 cccccccccccccccccccccccccccccccccccccccccccccccccccs 34 KERNEL CONFIGURBA TION wesssiccssnccsccscsccsuccssciccasssseccecscesbcatsvecdeucarsceacevesscscasesscacsnees 35 SPJETPL All Rights Reserved www spjsystems com Page 4 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SB
18. 9302 To change IP address and or TFTP server issue following command RedBoot gt ip address 1 192 168 1 200 h 192 168 1 151 IPS I192 169 12 200 72595 255 255 0 Gateway I192 71690 1 10 Default server 192 168 1 151 Here 192 168 1 200 is IP address of SBC9302 and 192 168 1 151 is IP address of host machine where you have configured the TFTP server Now we can check ethernet connectivity by pinging the host RedBoot ping n 5 h 192 168 1 151 Network PING from tO 1924100414151 PING received 5 of 5 expected SPJETPL All Rights Reserved www spjsystems com Page 30 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G When it says it has received some packets out of expected then there is ethernet connectivity between SBC9302 and TFTP server Now the setup is ready to download images 13 4 Default memory partitions To check existing memory partitions issue following command on redboot prompt RedBoot fis list Name FLASH addr Mem addr Length Entry DOLL RedBoot 0 60000000 0 60000000 0 00040000 0 00000000 Fomdisks 0 60040000 0 00800000 0 00300000 0 00800000 0 60400000 0 00080000 0 00200000 0 00080000 0 60600000 0 00800000 0 00100000 0 00800000 FIS directory Ox607E0000 0 607 0000 OxOOO01F000 0 00000000 RedBoot config Ox607FF000 0x607FF000 0 00001000 0 00000000 13 5 Loading Linux Images To re load ramdisk gz and zimage w
19. C 104 signals may not be available or may have somewhat modified meaning as described below The pin numbers of these connectors are as shown in Figure 5 top view Connector X1 J2 Connector X1 J1 SPJETPL All Rights Reserved www spjsystems com Page 15 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G Pin Standard PC 104 Signal name Signal as available on SBC9302 B4 IRQO9 Nocomecio gt gt gt gt O DRG2 gt Z gt O 12 V orno comnection INT 2 INT 0 pins of EP9302 3 3 V level NOT 5V tolerant B27 TC EGPIO 12 i e DEOT1 of EP9302 3 3 V level 5V tolerant 28 BALE Low when address is in the range 0x1000 0000 to FFFF high otherwise B31 B32 SPJETPL All Rights Reserved www spjsystems com Page 16 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G Pin Standard PC 104 Signal name Signal as available 58 9302 D OV J D8 DACKO Nocomecin A4 D9 A DRQ jNocomecin These pins are merely shorted with corresponding pins of connector X2 Thus if these voltages are applied to the SBC9302 through connector X2 then and only then will these voltages be available on connector X1 J1 The
20. C9302 User s Manual G 1 Introduction This document is a starting point for your development on SBC9302 Please go through this document before switching on the board SBC9302 is based on Cirrus Logic EP9302 processor which has ARM920T core Many components in this board are ESD sensitive proper care must be taken while handling the board 2 SBC9302 Specifications 2 1 Hardware ARMSO processor EP9302 upto 200 MHz On board 8 MB Flash 32 MB SDRAM Optionally upto 16 MB Flash and upto 64 MB SDRAM 2 UARTs with option for RS232 RS422 RS485 TTL 3 3V level RJ45 Ethernet LAN interface 2 USB Host interface ports 1 USB device interface port PC 104 connector 5 channel 12 bit ADC Upto 23 GPIO 3 3 Volts TTL RTC with battery backup SD Card interface Standard 20 pin JTAG interface Wall type power supply included One serial cable and one USB cable included 2 2 Software e Runs embedded Linux Users may write stand alone or Linux based applications to run on this board CD contains sample programs 2 3 Deliverables SBC9302 board with specs as above Power adaptor One serial cable CD with sample programs User s manual 2 4 Support e Technical support available through web site FAQ e Additional support available over email at extra cost 2 5 Board dimensions Figure 1 below shows dimensions of SBC9302 board and of various connectors on the board SPJETPL All Rights Reserved
21. ION 5 2 SBC9302 SPECIFICATIONS sesessccccococococococococososesesecesesecececesecesesecececececeoccocoeococoeocococoeoe 5 2 1 HARDWARE 5 2 2 NOIRS 5 2 3 GS 5 2 4 5 2 5 BOARDED MEIN SIONS 5 SBC9302 DEVELOPMENT PR OE ERR s ER EE RIPROE ERES 7 SBC9302 BOOT OPTIONS AND BOOT PROCESS eee 8 4 1 SERIAL BOOT ccccceccsceccececcccecscsceccececeececeecscseeceseecscescscestscesescecescecescecsescesescess 8 4 2 PARALLEL POOF MODE 8 4 3 BOOTPPROUBSS EM ME LED M DLL EP DP ME LE 8 5 CONNECTORS JUMPERS AND SWITCHES ccccccssscccscsscccscscccsssccccsssccescsces 10 5 1 JUMPER DESCRIPTION cccccccceccscecscscccececcececeececscecucescecescecseecestscesescessescesescesescececees 11 11 11 du M EC 11 CFGUI 3 CFGUI 2 CFGUI 1 TXI 1 12 CFGU2 3 CFGU2 2 CFGU2 1 RX2 2 TX2 2 12 5 2 CONNECTOR DESCRIPTION Doa Toe 12 12 po 12 S
22. Image and ramgisk gz from flash to RAM and then run it SPJETPL All Rights Reserved www spjsystems com Page 8 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 5 The zlmage is self extracting compressed image so it will uncompress itself and then Linux starts running 6 ramdisk gz is compressed image of root file system It is is also uncompressed into RAM and then root filesystem is mounted 7 Linux uses UART1 as a TTY device So messages output by Linux and shell prompt can be seen computer if it is connected to UART1 with serial cable and if appropriate terminal program is running on it COM port setting should be 57600 baud 8 bits per character 1 stop bit no parity When you see shell prompt in the terminal window it means Linux is up and running Now you can type standard Linux commands like 15 pwd and so on or type name of an application and press Enter to run that command application Note that supplied default configuration is such that the root user is automatically logged in when Linux is up SPJETPL All Rights Reserved www spjsystems com Page 9 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com 5 9302 User s Manual 5 Connectors Jumpers and Switches EXT 5V SEL JTAG E 3 2 e inimi F E z 9 E E t
23. LT HK rEEEE 13 EL T 9 13 14 15 Ethernet 17 ANS Gey D2 O71 0 17 USB 18 SBD paie EM 18 qup RE EE 18 QI ON p Q 16 5 3 SWITCHES DESCRIPTION area tcc rss aca soups 19 19 Da 19 USAGE AND 19 6 1 19 6 2 xls BOARD 20 7T SSUNG 21 SPJETPL All Rights Reserved www spjsystems com Page 3 of 36 8 9 10 11 12 13 14 15 16 17 C SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual 7 1 MAT POIO BU EE 21 TZ How 15 PC 104 BUS IMPLEMENTED ON SBC9302 ccccccccececcecccecscececcscecescecesceceses 21 7 3 ADDRESS RANGE l ccccsceccccecccceccscececcsceccececesceceececescecuceececescecescscestsceseecesecescesescesescecasees 21 7 4 ADDRESS SELECTION FOR SPJ MANUFACTURED PC 104 MODULES 22 LE D panel interface HIT 22 1
24. OT disable or reset the PLLs They retain their frequency settings S2 This is a push button for power on reset Pressing this switch momentarily will apply a reset pulse to the PRSTn pin of EP9302 It resets the entire processor without any exceptions We recommend using the S2 switch for resetting the SBC9302 board 6 GPIO Usage and Availability On the EP9302 processor there are total 37 GPIO pins However some of these pins may have alternate functions assigned by the EP9302 processor Further some other pins are used on the SBC9302 board Some other pins are available to user as GPIO pins The table below lists such information related to these GPIO pins Please note that some GPIO pins maybe brought out on GPCON 1 or GPCON connectors yet those may not be available to user or maybe conditionally available Please take care not to connect any external signal to such pins 6 1 GPIO Table Available Another Interrupt on Connector Available Functionality name capability capability connector Pin for user in SBC9302 1 PEO Boot LED PEO Ip Op OD No Boot LED 2 PE1 JIpOpOD No X No 3 PGO DJIpOp D No GPCON2 27 _ SCLforRTC 4 X IpOpOD GPCON2 29 Jj Notei SDA for RTC 7 10 11 12 13 14 15 16 17 18 optional RS485 direction PA3 EGPIO3 Ip Op OD Yes GPCON 1
25. PJETPL All Rights Reserved www spjsystems com Page 31 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual fe Program from 1 002000000 at Ux607 60000 Lock from 0x607e0000 0x60800000 Here we have completed basic procedure to update the zimage and ramdisk gz files To confirm whether the downloaded software works we need to reset Issue reset command RedBoot reset Resetting The board software will reboot do not interrupt redboot let it load the Linux Wait till you get following message Please press Enter to activate this console Now press enter It will display this message Now we have running a new Linux software BusyBox vl 1 23 2007 05 14 06 16T 0000 Built in shell ash Enter help for a list of built in commands gt i 14 Installation tips for desktop Linux Use older machine to install desktop Linux It is difficult to get all necessary drivers when you install it on a new machine Usually manufacturer does not provide motherboard drivers for Linux Drivers are usually inside the kernel So it is better to use latest Linux distribution so that we get all necessary drivers Supplied Linux distribution was compiled in Apr07 So it is safe to use a PC which was purchased before that Linux installation is supplied on as it is basis and we are not supporting the same users are free to use any Linux distribution Use Supplied DVD ROM disk and
26. SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual C SBC9302 User s Manual SPJETPL All Rights Reserved www spjsystems com Page 1 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G Revision History Created Details of the changes made modified on 11 09 2007 Created initial draft 16 10 2007 Changes with respect to latest workspace 14 11 2007 Formatting changes added boot options etc 21 11 2007 Added jumper settings 24 11 2007 Added connector descriptions 24 02 2008 Corrected description of UARTO and UART1 functioning 18 03 2008 Added PC 104 addressing information 25 03 2008 Added description of GPIO pins usage and mechanical dimensions of board corrected PC 104 pins description LIST OF ABBREVIATIONS SBC9302 Single Board Computer based on EP9302 processor TFTP Trivial File Transfer Protocol GPIO General Purpose Input Output Some Linux terminology referred in this document root user Linux user with administrative rights File Manager Konquerer KDE Terminal Konsol in KDE root terminal Konsol with root login shell Linux bash shell Development tools Compilers and Workspace required for embedded Linux development SPJETPL All Rights Reserved www spjsystems com Page 2 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual C Contents L INTRODUCT
27. d in order to reduce power consumption and price These features are with battery backup by default this feature is included USB device interface by default this feature is included RS485 direction control by default this feature is not included SD Card interface by default this feature is included PC 104 interface by default this feature is included Note that Minimum Order Quantities MOQ apply for such customized version of board Please do not solder or de solder any component on the board because that will make the warranty void 6 2 SBC9302Test board This is a small test board designed to connect to SBC9302 board through GRCON1 and GPCON connectors thas 27 LEDs that can indicate the status of corresponding pin LED glowing means pin is defined as output and is LOW LED off means either pin is defined as input or is HIGH t has jumpers connected to DTRn RTSn and INT 1 pins These are input only pins On this test board these pins are also pulled up Thus if shorting link is placed on a jumper the corresponding input pin will receive LOW level otherwise it will receive HIGH level t has 5 potentiometers Two ends of potentiometers are connected to 3 3V and GND The middle variable end is connected to analog inputs ADCO through ADC4 User may turn these potentiometers to vary the analog voltage at the ADC inputs in the range 0 to 3 3V Thus the SBC9302Test b
28. d SBC9302 Either straight or crossed cable maybe used because the Ethernet physical layer on SBC9302 is capable of swapping Rx and Tx if necessary SPJETPL All Rights Reserved www spjsystems com Page 7 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G e PC 104 compatible modules are optional and maybe connected only if the applications requires them E g some Industrial control applications may connect PC 104 compatible module CAUTION Connecting PC 104 modules may require more current than what the standard power supply can provide We recommend using 3 Amp power supply to be purchased separately CD panel interface board and LCD are also optional and maybe connected only if the applications requires them CAUTION Connecting LCD panel interface board and LCD may require more current than what the standard power supply can provide We recommend using 3 Amp power supply to be purchased separately Other optional items not shown in Figure2 e Various types of USB peripherals maybe optionally connected to USB1 and USB2 interfaces of SBC9302 Examples are USB keyboard USB mouse digital camera webcam pen drive printer CAUTION Some USB peripherals consume large amount of power and hence the standard power supply may not be enough in such situations We recommend using 3 Amp power supply to be purchased separately e GPIO pins can be used to connect to various peripherals Pl
29. e condition of a jumper is noted as X The jumper setting is clearly described in the table Row marked with asterisk indicates factory setting CAUTION Only the jumpers described below maybe changed by users that too within the restrictions as mentioned below Changing setting of any other jumper which is not described below may cause permanent damage to the board Locations of various jumpers are shown in Figure 3 and Figure 4 BOOT O This jumper is used to select between serial boot mode and parallel boot mode BOOT 0 Selected boot mode Serial boot mode 3 Parallel boot mode 5V SEL and EXT 5V SEL These 2 are separate jumpers but only one maybe shorted at any time hence described together With these jumpers one of the 2 power sources can be selected through power jack J1 or through power connector X2 5V SEL EXT 5V SEL Selected power source Power jack J1 Power connector X2 CAUTION Shorting both the above jumpers simultaneously can cause permanent damage to the board and or to the power supply Please short only one of the above 2 jumpers at any time WPN This jumper can be used for flash write protection WPN Fash J Not write protected Write protected SPJETPL All Rights Reserved www spjsystems com Page 11 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G CFGU1 3 CFGU1 2 CFGU1 1 RX1 TX1 TX1 RX1 These are 7 di
30. e need to overwrite them This is done by first loading the files into RAM and then writing these images from ram to flash First load file to RAM RedBoot load r b 0x800000 ramdisk gz Using default protocol TFTP Raw file loaded 0x00800000 0x00a45ac assumed entry at 0x00800000 Now overwrite ramdisk It will ask for confirmation since it already exists Type y and press enter when asked RedBoot fis create b 0 800000 1 0x300000 f 0 60040000 e 0x800000 r 0 80000 ramdisk gz An image named ramdisk gz exists continue y n y Erase Drom 0x60040000 0x60340000 7 4233553235323 3 952 32 9 Program from 0 00800000 0 00600000 at 0x60040000 Unlock from 0x607e0000 0x60800000 Erase from 0x607e0000 0x60800000 Program from 0 01 0000 0 02000000 at 0 607 0000 Lock from 0x607e0000 0x60800000 It over writes ramdisk gz Now load zlmage RedBoot load r v b 0x80000 zImage Using default protocol TFTP Raw file loaded 0x00080000 0x00230bl1f assumed entry at 0x00080000 Now overwrite zimage It will ask for confirmation since it already exists Type y and press enter when asked RedBoot fis create b 0 80000 1 0 200000 f 0x60400000 e 0x80000 r 0x80000 z Image An image named zImage exists continue y n y Erase trom 0x60400000 0x606000007 Z2 nmn Program from Ox00080000 0x00290000 al Dx604000002 saasaa 9e ec Unlock from 0x607e0000 0x60800000 Erase from 0x607e0000 0x60800000 S
31. ease check voltage levels and current drive capabilities in the EP9302 documentation e Other features of EP9302 such as ADC SPI interface and so on are accessible to users through the 2 GPIO connectors Suitable external devices maybe connected here It is possible to program the board through serial port or through Ethernet LAN with the help of setup as shown above Required software tools are either provided in the CD or are open source so you may download from the Internet Thus no additional tool apart from above setup is needed for programming the board 4 SBC9302 boot options and boot process The SBC9302 board has EP9302 processor It provides various boot options but only 2 are relevant for SBC9302 users Hence only those options are discussed here Note that this is a simplified description of boot process For more detail description you may refer to EP9302 documentation 4 1 Serial boot mode In this mode the EP9302 boots from it s internal boot ROM it is pre programmed when the EP9302 chip ships There is a special program inside this boot ROM Assuming that UART1 is connected to a computer it attempts to communicate with it If successful the computer downloads a program binary file the EP9302 programs it into the on board parallel flash This boot mode is used to program the boot loader or any other stand alone application into the SBC9302 board However when SBC9302 board ships a boot loader program is al
32. ee on serial console is like a Linux command shell Of course with limited features Please go to the section Running Applications for more details SPJETPL All Rights Reserved www spjsystems com Page 26 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 12 Running SBC9302 with Linux To access SBC9302 in Linux we have to setup minicom on the Linux desktop Login as root on command line window type minicom s Select minicom settings by pressing Ctrl A then 2 Go to Serial Port setup configuration Filenames and paths File transfer protocols Serial port setup Modem and dialing Screen and keyboard Save setup as dfl Save setup as Exit Exit from Minicom e Select dev ttySO as serial device Select lock file location as your home folder to avoid access restrictions Baud rate must be 576000 and No flow control Serial Device dev ttyso0 Lockfile Location home bhal lock Callin Program Callout Program Bps Par Bits 57600 8N1 Hardware Flow Control No Software Flow Control No Change which setting Screen and keyboard Save setup as dfl Save setup as Exit Exit from Minicom Now press escape and then save setup Now open command line with your user login not a root login Type minicom it will open minicom window You can check if the serial port setup is same as we entered earlier
33. fferent jumpers but should be operated together to select one of the 3 possibilities for operation of UART1 CFGU1 CFGU1 CFGU1 RX1 Selected UART1 operation 3 2 1 Open Short Open Open Up Up Up UART1 works as 3 wire RS232 RxD TxD GND signals available on connector signals available on connector Short Open Open Open Open UART1 works as TTL 3 3V level RxD TxD GND signals available on connector CAUTION Any other combination of the above jumpers is invalid and may cause permanent damage to the board CFGU2 3 CFGU2 2 CFGU2 1 2 2 TX2 RX2 These are 7 different jumpers but should be operated together to select one of the 3 possibilities for operation of UART2 CFGU2 CFGU2 CFGU2 RX2 Selected 2 operation 3 2 1 Open Short Open Open Up Up Up UART2 works as 3 wire RS232 RxD TxD GND signals available on connector signals available on connector UART2 Open Open Short Open Open Open Open UART2 works as TTL 3 3V level RxD TxD GND signals available on connector CAUTION Any other combination of the above jumpers is invalid and may cause permanent damage to the board CAUTION For SBC9302 board versions earlier than V2 0 an errata related to UART1 and UART2 mode applies If the revision number printed on the PCB is less than SBC9302 V2 0 then please refer to the document SBC9302 Errata 5 2 Connector description Locations of
34. more messages from redboot Finally it will prompt you to press to abort If you do not press any key for a few seconds typically within 5 seconds then it will go on to load Linux You may press Ctrl C to abort this so that redboot command line prompt will be displayed At this prompt you can type various redboot commands With these commands you can configure IP address of SBC9302 download files from computer program those into flash and so on You may use following commands to program new Linux images into the board a You may use command ip address to set IP address of SBC9302 and to inform IP address of host computer to it Example ip address 1 192 168 1 200 h 192 168 1 151 What follows l is local IP address i e that of SBC9302 What follows h is host IP address i e that of the computer Note that whatever IP address you assign to SBC9302 must be unique on your LAN b You may use command load to transfer an image from computer to the RAM of SBC9302 Ethernet LAN Example load v b 0x800000 ramdisk gz This will transfer the file home user1 tftpboot ramdisk gz from computer to SBC9302 RAM c You may use command fix create to burn the image from RAM to flash so that it will be there even after power OFF Example fis create b 0x800000 1 0x300000 f 0x60040000 e 0x800000 r 0x800000 ramdisk gz This will program the image from RAM to flash with the name ramdisk gz d Similarl
35. nal sample application again from the accompanying CD as described in previous section 4 When you are through with modifications in main c you may save it Then select all object files in this folder all files with extension o and delete those Similarly an ARM executable file also exists in this folder it has the same name as the folder i e spj appl1 or spj appl2 etc Delete this executable file also 5 Then start the shell window Goto the folder home user1 sbc9302 Type and press Enter Your application will be built along with other necessary files and new Linux images will be created in the folder home user1 sbc9302 images 9302 6 You will have to manually copy the images files ramdisk gz and zlmage into the TFTP root folder E g if TFTP root folder is home user1 tftpboot then copy these 2 files into that folder SPJETPL All Rights Reserved www spjsystems com Page 23 of 36 G 10 11 12 13 Finally following message will appear Please press Enter to activate this console 15 16 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual In the shell window you may now start minicom Use setting 57600 8 1 Keep the SBC9302 board in parallel mode this is the default factory setting Turn it ON Within 1 2 seconds you should see the character in minicom This is output by the redboot boot loader program After a while you will see
36. oard comes very handy while experimenting with the SBC9302 board SPJETPL All Rights Reserved www spjsystems com Page 20 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 7 PC 104 Addressing 7 1 What is PC 104 bus PC 104 bus is basically designed for boards with x86 architecture CPU The x86 architecture supports separate memory space and space The PC 104 bus has signals for both memory space and space Signals for space are e 1651 address 80r 16 bit data OWN active low Write strobe ORN active low Read strobe Some other control signals Signals for memory space are 24bit address 80r 16 bit data MEMWN active low Write strobe MEMRN active low Read strobe Some other control signals Common address and data lines are used for memory space and space but some control signals are different notably the read and write strobes for memory space and I O space are different 7 2 How is PC 104 bus implemented on SBC9302 The processor on this board is EP9302 an ARMS processor Unlike x86 architecture it has a single 32 bit address space There is no such thing as It means that if you want to connect external peripherals to this processor those have to be memory mapped Thus this processor can not by itself support PC 104 bus due to it s architectural difference as compared to x86 However we have attem
37. ologies Pvt Ltd www spjsystems com SBC9302 User s Manual G mtd E3obex openssl Hopie pango iE pcmcia cs ES pcmciautils ES pkgconfig Ex qt rootfs iE rt73 iE spj appli iE spj 2 appl3 spj appl4 Es spj 5 spj 6 IE spj appl7 ES 8 Let us have a look at one of the folder 1554 types h spjsys mk Makefile 3 DH cc DRE eu DEI TH ER Gel es Foe o oe Lea Dag eal cots main c config in We have a sample linux application in this folder A file main c and other header files when compiled generate an application called as spj applt This application is located in sbin folder on the SBC9302 board We can run this application from minicom terminal window as 3 11 16 Workspace Configuration Goto workspace folder sbc9302 with terminal window maximized On command prompt type make 19 will display following configuration menu SPJETPL All Rights Reserved www spjsystems com Page 34 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual C uild options gt Select add remove modify the configuration Save configuration and exit To build with new configuration just type make and press enter This graphical configuration tool allows us to change the ramdisk options thus having tight control over size of ramdisk gz 17 Kernel Configuration Goto w
38. orkspace folder soc9302 gt kernel gt linux 2 6 with terminal window maximized On command prompt type make menuconfig it will display similar configuration menu as displayed above SPJETPL All Rights Reserved WWW Sp systems com Page 35 of 36 SPJ Embedded Technologies Pvt Ltd sen apjejstim cum SBC9302 User s Manual i Linux Kernel Configuration it ode maturity level options gt G L B 5 B K B E U P Here we can add modify remove Linux kernel features This graphical configuration tool allows us to change the kernel options thus having tight control over size of zlmage SPJETPL All Rights Reserved WWW Sp systems com Page 36 of 36
39. pen drive digital camera webcam etc can be connected to either of these 2 USB host interfaces Both these are standard USB type A connectors USBD USB Device Interface This is a standard USB type B connector It provides USB device interface This can be connected to USB port of a computer through standard USB cable GP CON1 This connector brings out some of the GPIO pins and some other miscellaneous signals Pin Pin _ 5 6 JEGPO2 7 2 8 EGPIOS 9 FGPIOS 10 GP CON2 This connector brings out some of the GPIO pins and some other miscellaneous signals Pin _ Pin _ 9 No connection 10 12 14 16 18 20 22 24 26 28 30 32 CAUTION All signals on GP CON1 and GP CON2 connectors are directly pins of EP9302 processor and these are NOT 5V tolerant Users must take care that voltage on these pins shall never exceed 3 3V as it may cause permanent damage to the board SPJETPL All Rights Reserved www spjsystems com Page 18 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G 5 3 Switches description S1 This is a push button for user reset Pressing this switch momentarily will apply a reset pulse to the RSTOn pin of EP9302 It resets the entire processor except certain system variables such as RTC SDRAM refresh control global configuration and the Syscon registers If PLLs are enabled user reset does N
40. pted to support PC 104 bus as closely as possible so that even third party PC 104 modules can be connected to SBC9302 The SBC9302 board has a separate CPLD to generate some PC 104 control signals which the processor does not generate by itself Please refer to PC 104 connector description it marks such signals that are generated by CPLD with a different color It is possible to change the functionality of such signals by changing the CPLD program We can make such changes for OEM customers 7 3 Address range The PC 104 control signals notably IOWN IORN MEMWN MEMRN are activated only when the EP9302 processor accesses a certain address range In fact it is 0 1000 0000 to Ox10FF FFFF This is further divided as described in the table below memory and spaces are marked with different colors 1 PC 104 address range for SBC9302 i e PC 104 control 0 1000 0000 Ox10FF FFFF 16 MB signals can be active only when address is in this range 2 PC 104 memory space for SBC9302 i e MEMWN and 0x1000 0000 107 8 ii MEMRN signals can be active only when address is in this range PC 104 I O space for SBC9302 i e IOWN and IORN signals 0x1080 0000 Ox10FF FFFF 8 MB can be active only when address is in this range Address range reserved for LCD panel interface 0x1000 0000 0 1007 FFFF 512 board SPJ product Reserved address space must not be used for any PC 104 0x1
41. ready programmed into the board so most users may never need to use this boot option 4 2 Parallel boot mode In this mode the EP9302 boots from parallel flash Thus the boot loader already programmed into the flash will be executed when board is turned ON in this mode oelection between serial boot mode and parallel boot mode is done by using a jumper Refer to the section on jumper settings for mode details 4 3 Boot process Normally the SBC9302 should be powered ON in parallel boot mode Only then Linux can boot up Hence it is assumed that board is powered ON in parallel boot mode unless specified otherwise The boot process follows number of steps as described below 1 The processor runs boot loader program redboot from flash 2 It uses UARTI for user interface Thus messages output by redboot can be seen on computer if it is connected to UART1 with serial cable and if appropriate terminal program is running on it Examples of terminal program are Hyperterminal on Windows and minicom on Linux COM port setting should be 5 600 baud 8 bits per character 1 stop bit no parity 3 The redboot program can branch to one of the two possibilities boot Linux or goto redboot command line mode Default action is to boot Linux but user can press Ctrl C to goto redboot command line mode This is useful for downloading new Linux images into flash described later 4 By default redboot will load pre programmed Linux images zl
42. se signals are generated by on board CPLD If address is in the range 0x1000 0000 to then the WRN or RDN signals of EP9302 are passed onto X1 J1 connector otherwise pins B13 and B14 of X1 J1 remain high regardless of the status of WRN and RDN pins of EP9302 Note Signals highlighted in light green color are generated by on board CPLD and are outputs of SBC9302 The meaning of these signals can be changed on request for high volume customers CAUTION Many signals on X1 J1 and X1 J2 connectors are marked as NOT 5V tolerant These are inputs to the 58 9302 board Users must take care that voltage on these pins shall never exceed 3 3V as it may cause permanent damage to the board Ethernet This is standard RJ45 connector It provides Ethernet interface Standard LAN cable with RJ45 jack can be connected here The on board Ethernet physical layer can automatically swap Tx and Rx lines As a result either straight or crossed LAN cable can be used SD CON SD Card SD Card can be inserted into this connector It has standard SD Card connector pin out This connector is on the bottom side of SBC9302 board SPJETPL All Rights Reserved www spjsystems com Page 17 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual G USBH 0 1 2 USB Host Interfaces This is a double decker connector i e 2 USB host interface connectors put together Standard USB peripherals like
43. ssage gcc no input files This indicates gcc compiler could be run but since no input filename was specified it did not perform any action b Similarly type arm elf gcc and press Enter You should see the message gcc no input files c Similarly type arm linux gcc and press Enter You should see the message gcc no input files If any one of the above 3 compilers do not work as expected then it means that workspace may not be correctly installed You may repeat the process more carefully With the above steps the workspace is installed and the computer is ready for developing applications to run on SBC9302 Here it is assumed that tftp and minicom are properly installed already oR OM gt 2 10 Develop an application download it into SBC9302 and run it Although there are many ways to do this the simplest way is described here 1 Development setup as shown in Figure2 should be prepared 2 The workspace installed in home user1 sbc9302 folder contains several sample applications The simplest and fastest way of creating your own applications is to modify an existing sample application These sample applications exist in folders named spj_appl1 spj appl2 etc under home user1 sbc9302 packages folder 3 You may modify the main c file in one such sample application folder Note that by doing so you are destroying the original sample application supplied by us However you can always install the origi
44. tftp server are installed you will see a tftp file in etc xinetd d tftp path Few setting of tftp are done during installation Login as root in terminal window and edit this file Here change the path of tftpboot folder as marked in following structure Here my username is bhal so the path becomes home bhal tftpboot Replace it with your username service tftp disable no socket type dgram SPJETPL Rights Reserved Page 28 of 36 SPJ Embedded Technologies Pvt Ltd G wura spjsystems com SBC9302 User s Manual protocol udp wait yes user root server Wusrt sbin o inocftpd server args c s home bhal tftpboot per source 11 100 2 flags IPv4 Now we need to restart xinetd service to make tftp functional Reboot Linux desktop and tftp server must be functional now To verify it refer section Loading Linux Images 13 2TFTP Setup on winXP Machine e Basically we need two tools hyper terminal and a TFTP server package supplied in CD Instead of hyper terminal we can use any other terminal supporting serial protocols like tty ansi e Install tftpsetup exe e You need to specify a folder to read and write images Server File Edit View Help f Connect A Disconnect P Module p TFTP Server Settings 3 ndiswrapper 1 47 Virtual TFTP Folders ki Access Rights to Current Folder Terminate Transfel Manage Repositories
45. www spjsystems com Page 5 of 36 SPJ Embedded Technologies Pvt Ltd www spjsystems com SBC9302 User s Manual 3 04 467 All dim In centimeter 9 20 MM m e Np e rI E Ld p gt t _ i E a E i E E ii MH jing ij MN ii sw m a a 3 d s i i i i m ie dl NN M Du 1 ils atum pon 1 Mu E en ig i i 0 30 t 0 E 5 Lej MER AMAA m WS DL it i os t j E E LI d i P 3 d b em 4 60 Hu
46. y you may use load and fis create commands again to copy zlmage into RAM and then burn it into flash respectively Example load v b 0x80000 fis create b 0x80000 1 0x200000 f 0x60400000 0x80000 0x80000 zlmage These will transfer the file home user1 tftpboot zImage from computer to SBC9302 RAM and then program it into flash with the name zlmage e Thus the 2 new Linux images have been programmed into flash Now reset the board As usual character should appear in minicom window and redboot will start But this time do not press Ctrl C After waiting for about 5 seconds it will start loading Linux images and then run it You will see several messages output by Linux during booting up in the minicom window Press Enter and you will see a command prompt Now Linux is up and running on SBC9302 Now you can use general Linux commands by typing it s name in the minicom window and pressing Enter The executables of all sample applications are in the usr bin folder in SBC9302 These have names such as 11 spj app12 etc You may run your application simply by typing it s name and pressing Enter E g type usr bin spj 11 and press Enter Your application should run 11 Running SBC9302 with windows Connect serial cable from uart1 to RS232 port of PC Open HyperTerminal with following settings Select available COM port you have SPJETPL All Rights Reserved www spjsystems
47. y for developing to run SBC9302 Login into Linux with your normal username say user1 Insert the accompanying CD into CD ROM drive A new window may pop up with contents of CD in it Open a root shell Konsole i e login as root The inserted CD will be generally automatically mounted in a folder media cdrom or some such Goto that folder using cd command e g media cdrom Type sh install sh on command line and press Enter The CD contains a shell script file install sh the same will be executed now 7 The script will ask for username Enter your username Then the script will automatically copy workspace into the home folder of this user Suppose your username is user1 then the workspace will be created in the folder home user1 sbc9302 8 The script execution may go on for a few minutes depends on your computer speed as it copies several files from CD to your computer Finally it displays the message Installation finished 9 Now path to gcc compiles must be set do so open the file home usert bash profile Locate PATH variable in it and change it to PATH SPATH S HOME bin usr local arm 3 2 1 elf bin usr local arm 4 1 1 920t bin 10 Now you may close the root shell log off and login again with your normal username say user1 11 You may verify correct installation of all 3 versions of gcc To do so you may open a shell and a Type gcc and press Enter You should see the me
Download Pdf Manuals
Related Search
Related Contents
Note User`s Manual User Manual Téléchargement notice commerciale R LIBRARY B FUNCTION BLOCKS INSTRUCTION MANUAL Dual & Triple Rectifier Betriebsanleitung Freedom™ 5000 - Scott Safety Tefal Express Anti-Calc Copyright © All rights reserved.
Failed to retrieve file