Home

File - Sealevel Systems, Inc

image

Contents

1. 17 CA152 Accessory Cable The DB9 pin out is achieved using the CA152 accessory cable Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 18 CAN Bus Connect directly to a Control Area Network CAN bus via connector 12 A Molex 4 pin vertical 2mm locking header is used for the connection Q J12 connector designator is located on the bottom of the board Connector J12 Manufacturer Molex Part Number 35362 0450 Description 2 00mm 079 Pitch Sherlock Wire to Board Header Vertical with Positive Lock 4 Circuits Mates with Molex 35507 0400 Sherlock Wire to Board Housing with Molex 0502128100 2 00mm 079 Pitch Crimp Terminals Pin Signal INE Sealevel Systems Inc SBC R9 2100 Manual 19 SL9228 04 2014 RS 485 Expansion The SBC R9 2100 provides a RS 485 Expansion Port The port is available through the 6 pin vertical 100mil header J5 This offers a convenient option for adding additional expansion modules from the Seal O product line Connector J5 Manufacturer TE Connectivity Description 100mil 2 54mm Pitch Single Row Pins Vertical 6 Circuits Mates with 100mil Single Row Socket 6 Circuits LI Signal mel DL Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 Input Output connector The R92100 has both dry contact inputs and isolated wet outputs all found on connector TB1 Both input and outputs are isolated with 1 0KV isolation Manufactu
2. Dum m Bed a pr Sealevel Systems 1 in flash or SPACE to cancel at 180 bus divider Z NK bin Launch existing flash resident ima ident image now Figure 29 Eboot Image Flash Menu The Erase all sectors option in Eboot will erase the entire NAND Flash so be sure to back up any data you wish to save before attempting to erase the device Sealevel Systems Inc SL9228 04 2014 SBC R9 2100 Manual 5 Upgrading the OS Runtime Image on NAND Flash Factory OS runtime images are stored in the Boot Files directory of the R9 Development installation see Quick start guide The OS runtime image present in the NAND Flash is programmed through the USB device port connection Prior to programming an OS runtime the existing image must be erased The procedure to erase the NAND Flash is documented in the ERASING THE NAND FLASH portion of the Debug Port section above Once the NAND Flash has been erased use a CA473 USB Mini Type B device cable and connect the USB Mini Type B connector to the SBC R9 2100 Connect the Type A connector into the host PC See Figure 30 Figure 30 TR135 Tinned Leads and Type B USB Connector Sealevel Systems Inc SBC R9 2100 Manual 52 SL9228 04 2014 In Microsoft Windows 7 the device is recognized as a GPS camera and will typically enumerate as a COM port Verify the numeric assignment of the COM port in the device manager to determine the COM associated with
3. Figure 32 Driver Installed Determine COM port assignment using Device Manager gt Ports The USB function port should be listed For Windows 7 it may be listed as a GPS camera otherwise it should be AT91 USB to Serial Converter Take note of the COM port assignment to modify the programming batch file used to program the new OS Runtime image See Figure 33 iei Computer Management m Fie Action View Window Help eo 07820 4 R Computer Management Local Ife li System Tools ga Event Viewer SEALEVEL E66693 M Computer so Disk drives 4 Display adapters Shared Folders Local Users and Groups Performance Logs and Alert L Device Manager y Storage 2 DVD CD ROM drives 4 Floppy disk controllers 3 Floppy disk drives 43 Human Interface Devices HE Jungo a Keyboards El Removable Storage Disk Defragmenter Disk Management i d Services and Applications eo Mice and other pointing devices Monitors BB Network adapters Z Processors Z SCSI and RAID controllers Sound video and game controllers System devices Universal Serial Bus controllers Figure 33 AT91 COM Port Sample scripts have been provided in the R9 Development installation to automate the process of writing a complete OS runtime to the device The script is configured to target a device attached to COM49 by default This can be modified simply by editing the compor
4. e FIRSTBOOT nbO e Eboot nbO e NK nbO OS File Restoration In the event that Sealevel produces updated OS file versions or a restore is desired the OS files will need to be programmed to the NAND Flash Please see the section labeled Upgrading the OS runtime image on NAND Flash below for more detail The NAND Flash cannot be programmed until the existing OS runtime image has been removed This can be accomplished through the debug port as described in the following section Using the Debug Port This procedure requires an available RS 232 COM port or USB to RS 232 serial port adapter attached to a host PC a SBC R9 2100 Serial Debug cable Item CA429 and any telnet terminal client application such as PuTTY See Appendix A For this procedure we will demonstrate the use of PuTTY Connect the 4 pin keyed female end of the SBC R9 2100 RS 232 cable into the SBC R9 2100 connector 3 Connect the DB9 end of the SBC R9 2100 RS 232 cable into an available serial port on the host PC 111111 E ZZ ZT IT Z v m gt EL whet E te mn Sealevel Systems Inc SBC R9 2100 Manual 47 SL9228 04 2014 Run PuTTY and select Serial from the Category section of the dialog Identify the proper COM port number and always assign the speed baud equal to 115200 Set Data bits to 8 Stop bits to 1 Parity to None and Flow control to None See Figure 25 Serial line to connect to Configure the serial line Speed baud Data bits
5. SBC R9 2100 ARMY RISC Single Board Computer User Manual Item R92100 SBC Sealevel Systems Inc Sealevel com Phone 864 843 4343 Contents Salety Ha 6 aaee dl entente un Cour aduana reed datado S RUR psa L LT Electrostatic Discharges ESD ei di Grounding Methods ia o a PET OCR eu O 0 E E R A sae POALULGS eee EET Belo res Ol Gets er OC sic2c2c 20222535 20222002 254e sac 0L D O OOO O O O O O AVIS ONY CONVENTIONS RS den de ne en NN What s Included ooi REED EE EE UE n A UT een Cr Optional IEGITIS odia afia o Essi sae un Cosa s es CAD lI Power SUDDIIGS s duobus ud dM MEME D oO 10 Product OVEIVIOW anne o 11 A o oic Rues 11 POCOS T CE 11 MOOV an R E aca daa al aida laa dao o manatees Saas 11 ANB a Kom OUD UE oi a A A EE 11 Bus Interface eise bu ea a RAO E NADA NE NA M A tn Dm A MTM NR ne adas 11 ARI WES UR 1 Fg RIORUM PRU 11 Ici Cat Ol Scouts EU m a a IMEEM MM REI M M 11 BIOS DIO Tec 9g UU 12 Technical DescriDEIOD once ic aea e maa Em E MU a EM M EIE 13 o NR 13 OO 13 USB OOO O A 14 Serial R eie Tena e SR MM 16 SPECON Ca 6 S A destina Dues Mn iru teur aa apts Mn ele er NPR i ME M MUI MEE 17 A152 ec SON Galle ensi mc Qu MM MM AC PPM A AM 18 CAN BEE E 19 RASS EXPAN Adorable E 20 Input Outbut CONNECTION SSSR E ME M LII ELE LM E EU RUE 21 Isolated Dry Contact ImDUts annees Pacte FPE FPEM tee ee tee EE REN ce tester baa Ut
6. Stop bits Parity How control H SSH Figure 25 PuTTY Serial Configuration OSealevel Systems Inc SBC R9 2100 Manual 48 SL9228 04 2014 Select Session from the Category section of the dialog A saved session of this configuration can be performed to avoid reconfiguration in the future Type a name for this session under Saved Sessions then press the Save button See Figure 26 OSealevel Systems Inc SL9228 04 2014 Serial ine COM1 Connection type Raw Telnet Rogn SSH 9 Serial Load save or delete a stored session Saved Sessions R3 Serial Debug Close window on exit Always Never Only an clean exit SBC R9 2100 Manual 49 Press Open to start a new terminal session A blank terminal window will appear Debug messages may not appear until power is applied to the SBC R9 2100 Press the reset button on the SBC R9 2100 to display the Ethernet boot loader configuration screen See Figure 27 When the unit boots the following prompt on the debug port terminal will appear no user input is required for booting Press ENTER to download now or SPACE to cancel Initiating image download in 2 seconds Once the prompt period expires the OS runtime will be loaded from NAND Flash into RAM and executed At this point the OS is running See Figure 27 COMMB PuTTY RomBOOT Starting eboot Microsoft Windows CE Bootloader Common Library Version 1 4 Built Nov 17 2010 0
7. 843 4343 Email support sealevel com RETURN AUTHORIZATION MUST BE OBTAINED FROM SEALEVEL SYSTEMS BEFORE RETURNED MERCHANDISE WILL BE ACCEPTED AUTHORIZATION CAN BE OBTAINED BY CALLING SEALEVEL AND REQUESTING A RETURN MERCHANDISE AUTHORIZATION RMA NUMBER Sealevel Systems Inc SBC R9 2100 Manual 67 SL9228 04 2014 Warranty Sealevel s commitment to providing the best 1 0 solutions is reflected in the Lifetime Warranty that is standard on all Sealevel manufactured I O products Relio industrial computers are warranted for a period of two years and the Relio SeaPAC SBC R9 family is warranted for a five year period from date of purchase We are able to offer this warranty due to our control of manufacturing quality and the historically high reliability of our products in the field Sealevel products are designed and manufactured at its Liberty South Carolina facility allowing direct control over product development production burn in and testing Sealevel achieved ISO 9001 2000 certification in 2002 Warranty Policy Sealevel Systems Inc hereafter Sealevel warrants that the Product shall conform to and perform in accordance with published technical specifications and shall be free of defects in materials and workmanship for the warranty period In the event of failure Sealevel will repair or replace the product at Sealevel s sole discretion Failures resulting from misapplication or misuse of the Product failure to adhere to
8. Now that the Talos Framework has been referenced you have access to all the I O points exposed on the SBC R9 2100 device For this simple HelloWorld application we will just echo the string Hello World in the console window This can be accomplished by adding the following code to the automatically created Program Main method This code will echo Hello World and then pause for 5 seconds static void Ma in stringl args Console WriteLine Hello World oystem Threading Thread Sleep 5000 From Visual Studio s menu bar select Build gt Build HelloWorld After the build process has completed select from the same menu bar Build gt Deploy HelloWorld A Deploy HelloWorld dialog will appear for you to choose the appropriate target Choose Windows CE Device then press the Deploy button See Figure 14 OSealevel Systems Inc SBC R9 2100 Manual 38 SL9228 04 2014 S Deploy HelloWorld Choose where to deploy your application Device Pocket PC 2003 Device Pocket PC 2003 SE Emulator Pocket PC 2003 SE Square Emulator Pocket PC 2003 SE Square VGA Emulator Pocket PC 2003 SE VGA Emulator USA Windows Mobile 5 0 Pocket PC R2 Emulator USA Windows Mobile 5 0 Pocket PC R2 Square Emulator USA Windows Mobile 5 0 Smartphone R2 QVGA Emulator Windows CE Device Windows Mobile 5 0 Pocket PC Device R2 Windows Mobile 5 0 Smartphone Device R2 Show me this dialog each time I deploy the application F
9. 04 2014 Appendix B SBC R9 2100 Connector Reference The following table details the connectors jumpers and test points located on the SBC R9 2100 The connectors jumpers and test points are labeled by reference designator on the board silkscreen Reference Designator Signal Description Tr T T T T UI es D gt UJ N UJ N Sealevel Systems Inc SBC R9 2100 Manual 62 SL9228 04 2014 Appendix C Application Debugging over Ethernet Applications can be debugged over an Ethernet connection in place of USB by configuring Visual Studio to directly connect to your device For this method to work properly the Ethernet connection to the device must be properly configured to allow normal TCP IP communications and you must know the IP address of the device you wish to execute the application on For further information about configuring the Ethernet of the device see the Network Configuration section To configure Visual Studio to use your device for debugging over Ethernet click the Device Options button on the Device toolbar See below Windows CE Device Sl all 4 5 Device Options On the Device Options dialog select the Windows CE platform and click the Properties button See below Options Environment Performance Tools Projects and Solutions Source Control Show devices for platform Windows CE m Devices Text Editor Database Tools Deb
10. 23 Isolated Wet OUTPUTS a 24 AUGIO CUEDUE oeeie redis eiue uestes nios ER RE ER rv uade 25 CA464 Accessory Cable sumarial dd 26 Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 IA ea 00 00 2 0 0 0 0 0 00 0 0 0 110000 28 SOR WAT B IRR NNNM EN IE MN M M MN du RI dU NUI M AN IM MM NUI MN M MU MM DM 29 PERO OE 29 Windows Device e dents A e a v 31 Windows ActiveSync TOL XP aaa 32 Connection Complete pesi pone nnb d bs dn ne bn bn br os o ot b d 33 Programming Using the NET Compact Framework ss 34 Application Development 5 rr mea ab En inn n dna M M EI E 34 Application Debugging sii e I rH Ua E I MM MI a es 40 OGO O TEE T CO TOT 40 Kequiremertsz n PD va vis vi ee M MM VI MN IM IE UE UE E 40 Debugging an Application esse eee eee eee nennen nennen nnne nnne nnne nnn nnns nnn nnns 40 Attach the Debuta 41 A de 43 Watching VAT OOS RE 45 Target Deployment and EXecution sse eee ee eee 46 BOOL A na eee un M UE nets es eue 47 OS Pale Resto ra anda ies 47 SING dae DA o E MEM 47 ERASING THE NAND FLAS EET 5 Upgrading the OS Runtime Image on NAND Flash 52 BITTER ea da ce cho 56 DCC CAMO NM A SONS RUMINUS IMS S 60 DIMENSION Seige presets spree es E ee es tee a ap tae ee 60 WIG T 60 OS 60 Environmental Specifications aia 60 El Mera SR TT e te 60 ADDENGIX A R SOUFCRSS o Om O O CE O cms se tes das ostio oti tirs ced da 61 illc ERR 61 A fella T CI E POE E UE o O ee ee ee 61 Appendix B S
11. Emulator Pocket PC 2003 SE Square VGA Emulator Pocket PC 2003 SE VGA Emulator USA Windows Mobile 5 0 Pocket PC R2 Emulator LISA Windows Mobile 5 0 Pocket PC R2 Square Emulator USA Windows Mobile 5 0 Smartphone R2 OYGA Emulator Windows CE Device Windows Mobile 5 0 Pocket PC Device R2 Windows Mobile 5 0 Smartphone Device R2 Show me this dialog each time I deploy the application Figure 20 Target Deployment Dialog Once the application is deployed to the SBC R9 2100 it will begin execution As soon as the first breakpoint is reached execution will cease and you will gain full control over the running application You may use the debugging options to continue execution execute a single line or execute multiple lines You may view the status of each variable by either hovering over it with the cursor or by examining the windows at the bottom of Visual Studio just as you would with a desktop application See Figure 21 LIOreaca ILIGILALLOFOUINL polnat IN manager VIGICLallnrolnats Display the value of each point gt Console WriteLine DigitallnPoint 0 L Zu Index po int Va point bescription point Value false Display the count of the DigitalOutPoint Console WriteLine DigitalOutPoint Count 0 manager DigitalO0utPoints Count Cycle through each point individually foreach DigitalOutPoint point in manager DigitalOutPoints Display the value of each point Console Wri
12. address depending on the state of the DHCP element Assigning a value to this element when DHCP is enabled has no effect Subnet Read Write IPAddress OSealevel Systems Inc SBC R9 2100 Manual 58 SL9228 04 2014 This element may contain the current DHCP acquired Subnet Mask or the current static Subnet Mask depending on the state of the DHCP element Assigning a value to this element when DHCP is enabled has no effect Gateway Read Write IPAddress This element may contain the current DHCP acquired Gateway address or the current static Gateway address depending on the state of the DHCP element Assigning a value to this element when DHCP is enabled has no effect Wifi enabled gt Structure Attribute Readonly The Wifi element is a container for wireless bridge settings if such a bridge is present The enabled attribute will reflect whether the Interface is able to communicate with an approved wireless bridging module SSID Read Write string This element contains the SSID string to be used when forming the wireless connection Mode Read Write string Adhoc Infrastructure This element contains the overall Wireless configuration mode Channel Read Write int 1 11 This element contains the wireless channel offset to use in Adhoc mode Security Read Write string None WepOpen64 WepOpen128 WepShared64 WepShared128 WpaTkip Wpa2Aes Wpa2Tkip This element contains the security m
13. any specifications or instructions or failure resulting from neglect abuse accidents or acts of nature are not covered under this warranty Warranty service may be obtained by delivering the Product to Sealevel and providing proof of purchase Customer agrees to insure the Product or assume the risk of loss or damage in transit to prepay shipping charges to Sealevel and to use the original shipping container or equivalent Warranty is valid only for original purchaser and is not transferable This warranty applies to Sealevel manufactured Product Product purchased through Sealevel but manufactured by a third party will retain the original manufacturer s warranty Non Warranty Repair Retest Products returned due to damage or misuse and Products retested with no problem found are subject to repair retest charges A purchase order or credit card number and authorization must be provided in order to obtain an RMA Return Merchandise Authorization number prior to returning Product How to obtain an RMA Return Merchandise Authorization If you need to return a product for warranty or non warranty repair you must first obtain an RMA number Please contact Sealevel Systems Inc Technical Support for assistance Available Monday Friday 8 00AM to 5 00PM EST Phone 864 843 4343 Email support sealevel com Trademarks Sealevel Systems Incorporated acknowledges that all trademarks referenced in this manual are the service mark trademark o
14. be replaced with default values To apply a new configuration use the Action element with a value of apply as documented below z xml versione 1 0 Configuracion gt lt Systen gt cOSTW ncEc 032 lt Version gt 6 0 0 lt Version gt lt Runtime gt Proconex lt Runtime gt FRuntimVersion 1 D D0 6 RuntimeVersian lt Procesesor gt ATHEL ABHS26EJ S ATO9015AMSZ63 Processsr Name SH i mdowsCe lt Nate lt Descriptioo gt HindowsCE Derice Description ECT EE JCWIn amp ES xcCompanye Campanyx lt Address gt lt Addraga gt Phones Phones lt Extension gt lt Extension gt F System lt Ethernetz elneerbackg nano PALA CRL H DOC PAT rRe DECES zHACDO0 0A 0B 16 11 1A HAC CIFAddress2152 158 95 1DIc IFAddress cSubner x255 255 255 0z Subner cGALrEeuAy2192 15B 99 1c BGareway Hifi enebled True gt E SSIDEOGTEZSTHETWORE SS51ID zxMnde Infrastructurez Hode lt Channel gt 114 lt Channel gt lt Security gt ipal ca lt Security lt Fey encodinge Pase KAAKA Rens Pa EE Z lt Interface gt c zrherner lt Confiquretions Sample configuration xml read from device Configuration Structure The configuration element is the root XML element This element must be present or the configuration file will not be considered valid Invalid configurations will be replaced with a default configuration System Structure The system element contains all of the system information elements This el
15. been successfully attached to your PC it is easy to begin debugging an application on the SBC R9 2100 This section will demonstrate how to attach the Microsoft Visual Studio debugger to the SBC R9 2100 show the use of breakpoints in the debugger and show how to access useful information while debugging an application We will be using the GPIO example application found in the samples directory of the Talos Framework installation The same methods will apply to any application you wish to debug on the SBC R9 21 00 OSealevel Systems Inc SBC R9 2100 Manual 40 SL9228 04 2014 Attach the Debugger Once your solution is opened it is necessary to specify the device target that you would like to use in conjunction with the debugger The default option is an emulator Select Windows CE Device from the target device drop down See Figure 15 78 GPIO Microsoft Visual Studio File Edit View Project Build Debug Data Tools Test Window Help dl E E gx be f lt LE e B Debug 4 Pocket PC 2003 SE Emulator E Sp FAL da Pocket PC 2003 Device Pocket PC 2003 SE Emulator Pocket PC 2003 SE Square Emulator Pocket PC 2003 SE Square YGA Emulator Pocket PC 2003 SE VGA Emulator HUSA Windows Mobile 5 0 Pocket PC R2 Emulator USA Windows Mobile 5 0 Pocket PC R2 Square Emulator E gt 9 Hai uw static void Main string args Get the current instance of the IOMai IOManager manager I
16. persists Sealevel Systems Inc SBC R9 2100 Manual 55 SL9228 04 2014 Network Configuration The Windows CE that runs on the SBC R9 2100 is initially configured obtain its IP address via DHCP Settings may be required for DNS or WINS server IP addresses or if you want to set up a static IP address We have included an application in the OS that enables device configuration through a simple XML file format The configuration is stored in a file that is kept up to date on the NAND Flash of the device Likewise edits to this file can be read as requests to modify the device s configuration The configuration file can be accessed through ActiveSync using the USB device port connection or through an FTP client if you already know the IP address of the device This section defines the XML configuration structure and corresponding values applicable for each element of the structure Throughout this section the following definitions apply Term Definition Example String Series of printable characters This is a test string 234567609 Multi line String strings separated by r n A r nNew r nMulti liner Sealevel Systems Inc SBC R9 2100 Manual 56 SL9228 04 2014 The act of writing a new configuration file to the device will trigger a scan of that file approximately every 5 seconds If the file is invalid it will be replaced with the current configuration If a single element is invalid that element and corresponding elements will
17. the device If prompted with the Found New Hardware Wizard install the driver using the following steps Microsoft Windows XP dialog boxes are shown other Microsoft Windows operating systems are similar If your operating system prompts you to search Windows Update choose No not this time Then in the Found New Hardware Wizard choose Install from a list or specific location and click Next See Figure 31 Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for T 91 USB to Serial Converter If your hardware came with an installation CD 152 or floppy disk insert it now What do you want the wizard to do C Install the software automatically Recommended Click Next to continue Figure 31 Found New Hardware Wizard Select Search for the best driver in these locations and check Include this location in the search Use the Browse button to navigate to the Utilities SAM BA XP driver directory of the R9 Development installation and click Next OSealevel Systems Inc SBC R9 2100 Manual 53 SL9228 04 2014 The driver should be installed and will come in as AT91 USB to Serial Converter Click Finish to complete See Figure 32 Found Hew Har dware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for E ATS31 USB to Serial Converter Click Finish to close the wizard
18. with Amplified Headphone Drive Capability Bus Interfaces 10 100 BaseT Ethernet USB Device Port USB 2 0 Port CAN Bus Dedicated RS 485 Expansion Industrial I O Two Software Configurable RS 232 422 485 Ports Two Optically Dry Contact Inputs Two Wet Outputs 5V 30mA Max Indicators Dual LED Indicators for Power and Status Sealevel Systems Inc SBC R9 2100 Manual 11 SL9228 04 2014 Block Diagram Industrial I O M 32 Bit RISC CPU ATMEL AT91SAM9263 Processor RA As AD OP S 256MB Max See Appendix B for the Connector Reference Table which details the connectors jumpers and test points located on the SBC R9 2100 Sealevel Systems Inc SBC R9 2100 Manual 12 SL9228 04 2014 Technical Description Memory The SBC R9 2100 base configuration includes 128MB SDRAM and 256MB NAND Flash For memory intensive applications the board can also be ordered preconfigured with 256MB SDRAM Ethernet The SBC R9 2100 includes a 10 100 BaseT Ethernet interface accessed via the RJ45 connector located at J2 Connector J2 Manufacturer Amphenol Part Number RJHSE 5384 Description RJ 45 Through Hole Jack Tab up with LEDs Mates with RJ 45 Plug Pin Signal BES DEI ES DE DES Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 13 USB The SBC R9 2100 provides one USB 2 0 host port and one device port The host USB port is located at 18 The device USB port is loca
19. 2 0450 Description 2 00mm 079 Pitch Sherlock Wire to Board Header Vertical with Positive Lock 4 Circuits Mates with Molex 35507 0400 Sherlock Wire to Board Housing with Molex 0502128100 2 00mm 079 Pitch Crimp Terminals Pin Signal Sealevel Systems Inc SBC R9 2100 Manual 25 SL9228 04 2014 CA464 Accessory Cable A 3 5mm stereo barrel jack connector can be achieved using the CA464 cable Pin Barrel Jack CA464 Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 26 Power The SBC R9 2100 can be powered with the Sealevel TRI 23 Connector TB2 Manufacturer Weco Part Number 121 M 111 02 Description 5 08mm Pitch Friction Lock Header Mates with Weco 121 A 111 02 The SBC R9 2100 integrated reverse polarity protection User should still be sure that the power lead is connected to the proper pin Reversing the polarity of the power input may damage your SBC R9 2100 Pin Signal PA o O ca MASSE un Pin2 GND Pin 1 7 30VDC Power Input OSealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 LED Indicators The SBC R9 2100 features two LED indicators for power and status The Green LED Top is illuminated when power is applied to the board The Yellow LED Bottom is a GPIO controllable indicator accessible through the TALOS API Designator D9 Description Dual Stacked LED Indicators LED Color Signal Top Power OSealevel Systems Inc SBC R9 2100
20. 35 is a desktop style power supply rated for 100 240VAC input and 12VDC output at 4 amps The power supply features over voltage short circuit and over current protection Refer to the appropriate product manual for information useful in calculating the proper power supply requirements Choose a country specific IEC power cord under the Accessories tab For the US version of this power supply please order the TR135 US 100 240VAC to 12VDC 4A Desktop Power Supply w 5mm 2 Position Terminal Block Requires Power Cord Item TR135 Perfect for powering a Relio R9 embedded computer system or a stack of Seal O modules the TR135 US is a desktop style power supply rated for 100 240VAC input and 12VDC output at 4 amps The power supply features over voltage short circuit and over current protection lt includes a US power cord Item CA248 Refer to the appropriate product manual for information useful in calculating the proper power supply requirements For the international version of this power supply please order Item TR135 and select the correct power cord from the list of accessories OSealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 Product Overview Specifications Processor Atmel AT915AM9263 200MIPS RISC Processor 16KB Data Cache 16KB Instruction Cache Write Buffer Integrated Memory Management Unit MMU Memory Up to 256MB SDRAM 128 MB Standard 256MB NAND Flash Audio Output Stereo Output
21. 9 04 49 Microsoft Windows CE inv Et He Bootloader for the R8 platform Adaptation performed by Systems ac c 2005 2010 Press ENTER to launch image stor Initiating image launch in D si System ready Preparing for download OK red in flash or SPACE to cancel conds Launching windows CE image by jumping to address O0xZ 0053d000 CE Kernel for ARM Thumb Enabled Built on Aug 4 2010 at 14 23 58 2 3 for the R9 platform built Now 17 2010 Adaptation performed by ADENEO and Sealevel Systems Inc c 2009 2010 Figure 27 Application Debug Text Output Eboot configuration settings can be modified by hitting the space key during the 2 second boot prompt period When modifying the configuration a menu such as the one below is displayed See Figure 28 COMMB PuTTY RomBOOT Starting eboot OSOft Windows CE Bootloader Common Library Version 1 4 Built Nov 17 2 oft Windows CE 6 0 Ethernet Bootloader for the R98 platform performed by ADENEO and Sealevel Systems Inc c 2003 2010 Press ENTER to launch image stored in flash or SPACE to cancel Minitiating image launch in nds R9 ung Pea H n 152 168 0 Subnet Mask DHCP Boot j Frequency settings core at 180 bus divider 2 Download device SDCard HK bin Debug device E a DBGU Download image to SDRAM Mi j Ln H Li o y Launch existing flash resident image at 1 LM c Launch flash reside
22. BC R9 2100 Connector Reference sse eee eee eee eee nnne nnne nnn nnns 62 Appendix C Application Debugging over Erhernet sss sese eee ee eee eee eee 63 Appendix D CAD Drawing sas x a ie vri mitte eue ana diia 65 Kee Jers 0 ee de be ee D 65 BOLtOImi AS 66 AppendbDc E How to Get ASSISTANCE eoe tiet ede ete ete eden eiie der roten rae a oe 67 OSealevel Systems Inc SBC R9 2100 Manual 3 SL9228 04 2014 CS OR MM MM MM 67 E A 68 Warranty melle dee 68 Nori Warranty RR OS 68 How to obtain an RMA Return Merchandise Authorization sese eee eee eee eee 68 NR GLS Ln Ta aa 68 Sealevel Systems Inc SBC R9 2100 Manual 4 SL9228 04 2014 Safety Instructions ESD Warnings Electrostatic Discharges ESD A sudden electrostatic discharge can destroy sensitive components Proper packaging and earthing rules must therefore be observed Always take the following precautions e Transport boards and cards in electrostatically secure containers or bags e Keep electrostatically sensitive components in their containers until they arrive at an electrostatically protected workplace e Only touch electrostatically sensitive components when you are properly earthed e Store electrostatically sensitive components in protective packaging or on anti static mats Grounding Methods The following measures help to avoid electrostatic damages to the device e Cover workstations with approved antistatic material Always wear a wrist st
23. Manual 28 SL9228 04 2014 Software SBC R9 2100 Quick Start Remove the contents from the box Insert the accompanying CD into your PC and run the installation program This will install Talos Framework binaries documentation and examples on your PC See Figure 1 3E RO Development InstallShield Wizard Welcome to the Installshield Wizard for R9 Development The InstallShield R Wizard will install R8 Development on your computer To continue dick Next WARNING This program is protected by copyright law and international treaties Figure 1 Installation Wizard After installation the package can be found in Windows by clicking Start gt All Programs Sealevel Systems R9 Development The contents of the factory provided NAND Flash build will allow the SBC R9 2100 to run Windows CE 6 0 OS when power is applied to the board To avoid accidental damage be sure to follow proper ESD procedures by grounding yourself and the board Apply power to the SBC R9 2100 by connecting the TR123 tinned leads to the SBC R9 2100 input power connector screw terminals noting proper polarity Attach the other end of the TR123 into a 120VAC wall outlet Sealevel Systems Inc SBC R9 2100 Manual 29 SL9228 04 2014 Use a CA473 USB Mini Type B device cable and connect the USB Mini Type B connector to the SBC R9 2100 Connect Type A connector into the host PC See Figure 2 Figure 2 TR135 Tinned Leads and Type B USB Conn
24. OManager Instance Display the count of the DigitalInPo Console WriteLinei DigitallnPoint Count Figure 1 5 Device Target Selection If you would like to use the faster Ethernet connection for debugging instead of the USB connection refer to Appendix C OSealevel Systems Inc SBC R9 2100 Manual 4 SL9228 04 2014 Now select the Connect to Device icon to initiate synchronization between Visual Studio and the SBC R9 2100 device See Figure 16 p GPIO Microsoft Visual Studio File Edit View Project Build Debug Data Tools Test Window Eu 2 5 a Ze MP e WM IRAM SR lr El Debug fa Windows CE Device M nE 4 E A iie Program cs 7 Connect to Device 3 GPIO Program zd r jusing System 2 Y z using Talos 10 d X jnamespace GPIO class Program o 8 static void Main string args Get the current instance of the IOManager manager IOManager Inst Display the count of the Digita Console WriteLine DigitalInPoint Figure 16 Connect to Device Icon You should now see a connection dialog appear See Figure 1 7 Connecting To Windows CE Device Connection succeeded Figure 17 Connection Status Dialog Sealevel Systems Inc SBC R9 2100 Manual 42 SL9228 04 2014 Breakpoints Setting breakpoints allows you to stop execution of your application at any point and examine the state of the application A breakpoint may be set by se
25. RE EE Sr eam wae i A A m 8 m HII d o HHHH on y e T I C c c e ul Ka eo er a i T ele O O 0 ouo e aa a mum L m um L Sia mE mE Ta ls o 5 i S LI 7 tle wi 2222 72 y Cle ma Joge US O Laia L laa s L gom mq m m ek m 1 a Er ok e m ll EE ill SBC R9 2100 Manual Sealevel Systems Inc SL9228 04 2014 65 D 150in Bottom Side 4 900in 600 n 4 OODin OSealevel Systems Inc SL9228 04 2014 ULU C25 3 5001 rr 3 64Din SBC R9 2100 Manual O 15Din 0 1501n 66 Appendix E How to Get Assistance When calling for technical assistance please have the device installed and ready to run diagnostics If possible have your user manual and current settings ready The Sealevel website is an excellent resource located at www sealevel com The most current software updates and user manuals are available via our homepage by clicking on the Drivers or Manuals links located under Technical Support Manuals and software can also be downloaded from the product page for your device The FAQ section of our website answers many common questions Refer to this helpful resource by visiting www sealevel com faq asp Technical Support Monday Friday 8 00 am to 5 00 pm EST Phone 1 864
26. ctor to the Type A connector on a host computer The CA179 is USB 2 0 compliant and is compatible with USB 1 1 and 1 0 devices CAT5 Patch Cable 7 in Length Blue temi CA246 Standard 7 CAT5 UTP Patch Cable RJ45 10 Pin IDC Ribbon Cable to DB9 Male Connector 14 in E men Item CA152 10 Pin IDC Ribbon Cable terminates to DB9 Male Connector 14 in Length R9 Serial Debug Cable 72 in Length Item CA429 The CA429 is a 72 serial debug cable with a 1x4 connector on one end and a standard DB9F connector on the other end The DB9F connector is compatible with any standard RS 232 DB9M serial port Stereo Audio Cable 6 in Length Item CA464 The CA464 is a 6 stereo audio cable with a 4 pin Molex Molex 35507 0400 connector on one end and a standard stereo 3 5mm barrel jack connector on the other end Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 Power Supplies 100 240VAC to 12VDC 2 5A Wall Mount Power Supply Item TR123 The TR123 is a wall mount wall wart style power supply rated for 100 240VAC input and 12VDC output at 2 5 amps The 72 cable has tinned leads for use with products that have screw terminals for input power The white line or printing on the insulation indicates positive polarity 100 240VAC to 12VDC 4A Desktop Power Supply w 5mm 2 Position Terminal Block Item TR135 US Perfect for powering a Relio R9 embedded computer system or a stack of Seal O modules the TR1
27. e read or written to See Figure 5 tv V A Le Ie gt l QU KS Computer WindowsCE 4 Organize Search WindowsCE Favorites NandFlash E C ee Nan BE Desktop SS 503 MB free of 503 MB m Je Downloads E Recent Places Libraries Documents RU Music Pictures B Videos Computer amp Local Disk C 15 DVD RW Drive D G KR WindowsCE e NandFlash ex Network SN Network N 3 items Figure 5 Contents of SBC R9 2 100 Windows ActiveSync for XP If your host PC is running Windows XP ActiveSync is required to establish connection to the SBC R9 2100 ActiveSync differs from Windows Mobile Device Center in that having an internet connection will not establish an automatic download and installation For installation procedures refer to Microsoft s website See Appendix A After installation a negotiation will begin between the PC and the SBC R9 2100 board and the New Partnership dialog will appear See Figure 6 New Partnership Set Up a Partnership Before you can synchronize information between your mobile device and this computer you must set up a partnership between them Would vou like to set up a partnership O Yes Set up a partnership so that can synchronize information between my device and this computer 9 No don t want to synchronize information Set up my device as a quest so that can copy or move information between
28. ector You are now ready to set up a USB communication interface between the host PC and the SBC R9 2100 Depending on which operating system you are using Windows 7 Vista or XP the setup experience will vary OSealevel Systems Inc SBC R9 2100 Manual 30 SL9228 04 2014 Windows Device Center If your host PC is running Windows Vista or later and you are connected to the Internet then Windows Mobile Device Center software will install automatically If you are not connected to the Internet but have obtained the Windows Mobile Device Center software manually then running their setup will achieve the same result See Appendix A After installation a negotiation will begin between the PC and the SBC R9 2100 board and the device center connection screen will appear See Figure 3 x Windows Mobile Device Center P E Mobile Figure 3 Device Center Connected Using your mouse select Connect without setting up your device The idea is to explore the file system on the SBC R9 2100 without setting up synchronization with contacts calendar or e mail Now choose File Management Browse the contents of your device from the screen See Figure 4 gt Windows Mobile D evice Cente EN E Mobile Figure 4 Device Center File Management Sealevel Systems Inc SBC R9 2100 Manual 31 SL9228 04 2014 This action opens a standard Windows Explorer where the default file contents of the SBC R9 2100 can b
29. ement must be present or the configuration file will not be considered valid OS Readonly string The OS element contains a string representation of the Operating System name In the case of R9 products this will be equivalent to WinCE Version Readonly version The version element contains a dot notation version string This version is associated with the Operating System element Runtime Readonly string This element contains a string representation of the specific OS Runtime Image Sealevel Systems Inc SBC R9 2100 Manual 57 SL9228 04 2014 lt RuntimeVersion gt Readonly version This element contains a dot notation version string This version is associated with the OS Runtime Image lt Processor gt Readonly string This element contains a Processor Identification string lt Name gt Read Write string This element may contain the device name string This identifier is used as the WinCE host name Description Read Write string This element may contain the device description string This element can be used to further identify a device Owner Read Write string This element may contain a string that can be used to identify a person or department responsible for maintaining a device Company Read Write string This element may contain a string that can be used to identify the Company to which the device Owner is associated Address Read Write multi line strin
30. ethod for use in establishing the wireless connection lt Key encoding gt Writeonly string Attribute string Hex Ascii Pass This key is used to set the wireless connection passphrase or value Depending on the wireless configuration the encoding attribute will need to be set accordingly For security purposes this value cannot be read once it has been set lt Action gt Writeonly string This element may be used to trigger predetermined device behavior For example setting a value of apply to this element will result in the specified configuration being applied to the hardware and trigger a device restart so the settings will take effect OSealevel Systems Inc SBC R9 2100 Manual 59 SL9228 04 2014 Specifications Dimensions Q For CAD drawing with dimensions see Appendix D CAD Drawing Weight 0 24 lbs Power Supply Line 7 30VDC Input Rating 10 W Max 2 5W Nominal Connector TB2 Manufacturer Weco Part Number 121 M 211 02 Description Locking Header 2 pos right angle 5 08mm pitch Mates with Ria ASP0460202 Environmental Specifications Specification Operating Storage Temperature Range 40 to 85 C 60 to 1509 C Humiditv Ranae 10 to 90 R H 10 to 90 R H Y Non Condensing Non Condensing Manufacturing All Sealevel printed circuit boards are built to UL 94VO rating and are 100 electrically tested These printed circuit boards are solder mask over bare copper or s
31. g This element may contain a multi line string r n separated to identify the location of the device Owner Phone Read Write string This element may contain a string representation of a telephone contact number for the device Owner Extension Read Write string This element may contain a string representation of a telephone extension for the device Owner Ethernet Structure The Ethernet element contains a list of Ethernet interfaces available to the device Interface name gt Structure Attribute Readonly string The interface element is a container for the interface settings that are specific to the interface identifiable as name The name attribute is readonly and is used to uniquely distinguish Interface settings for the case where there are multiple Ethernet interfaces available lt DHCP gt Read Write Boolean This element contains a Boolean value indicating whether DHCP Address resolution is enabled or disabled Valid values are True or False MAC Readonly MACAddress This element contains a dash delimited string containing the unique MAC address of this interface The first 3 octets identify the device as a Sealevel product 00 0A 0B The fourth octet can be used to determine the product family 16 And the last two octets will be unique for each device 11 14 IPAddress Read Write IPAddress This element may contain the current DHCP acquired IP Address or the current static IP
32. igure 14 Choose Windows CE Device and Deploy After the deployment phase select Debug gt Start Without Debugging from the Visual Studio menu bar A console will appear to display the Hello World message After 5 seconds the window will automatically close Examples can be found from the installation directory under R9 Development Samples C and ARO Development Samples VB NET OSealevel Systems Inc SL9228 04 2014 SBC R9 2100 Manual 39 Application Debugging Introduction This guide details the process of debugging an application developed for the SBC R9 2100 embedded IO system The SBC R9 2100 development platform easily integrates into standard Microsoft development tools to make the debugging process extremely easy The following sections detail the requirements to begin debugging an application on Microsoft Windows 7 Vista or XP Requirements e Microsoft Windows Mobile Device Center using Vista or ActiveSync using XP e Microsoft Visual Studio Professional 2005 or 2008 e USB Cable or Ethernet connection Debugging your SBC R9 2100 applications is a simple process that requires a USB cable or Ethernet connection Microsoft device synchronization software and Visual Studio Depending on your version of Windows you will need to follow a different process to install the device synchronization software as outlined in the SBC R9 2100 Quick Start section Debugging an Application Once the SBC R9 2100 has
33. lecting a line and pressing the F9 hotkey See Figure 18 File Edit wiew Refactor Project Build Debug Data Tools Test Window Help rire bd GR A ee 0 ME Windows CE Device 85 834 45 7 pxoqoo 1940 dx 3 184185 E gt Debug Any CPU gt Program cs E3 GPIO Program Y E Main stringl args A using System Lusing Talos IO E namespace GPIO E class Program El static void Main string args Get the current instance of the IOManager IOManager manager IOManager Instance Console WriteLine DigitallnPoint Count 0 manager DigitallnPoints Count 77 Cycle through each point individually foreach DigitallnPoint point in manager DigitallnPoints H Figure 18 Breakpoint Selection To begin debugging the application click the Start Debugging button See Figure 19 OSealevel Systems Inc SL9228 04 2014 Data Tools Test Window Help L2 gt Debug Any CPU N Start Debugging f lid li L SBC R9 2100 Manual 43 Although you previously set up the target device upon starting the first debug session you will be prompted to select the device to deploy the application to Select the Windows CE Device as was done earlier when selecting the target See Figure 20 Deploy GPIO Choose where to deploy your application Deploy Pocket PC 2003 Device Pocket PC 2003 SE Emulator Pocket PC 2003 SE Square
34. my device and this computer Figure 6 ActiveSync New Partnership Dialog Sealevel Systems Inc SBC R9 2100 Manual 32 SL9228 04 2014 Using your mouse select No and then select Next The ActiveSync main dialog will appear Select the Explore icon This action opens a standard Windows Explorer where the default file contents of the SBC R9 2100 can be read or written See Figure 7 Microsoft ActiveSync File View Tools Help Connected Hide Details A Information Type Status Figure 7 ActiveSync Main Dialog Connection Complete You are now ready to set up a complete development environment for building and debugging smart device applications and libraries The next section guides you by example using Microsoft Visual Studio OSealevel Systems Inc SBC R9 2100 Manual 33 SL9228 04 2014 Programming Using the NET Compact Framework Application Development INTRODUCTION With NET Compact Framework coupled with our Talos NET Framework C and VB NET programmers can develop powerful embedded applications on the SBC R9 2100 such as mobile robotics home automation industrial and a broad range of other embedded applications The low cost of licensing for Windows 6 0 CE has created an ideal environment to develop a new generation of embedded products around the SBC R9 2100 Our Talos Framework allows access to the more specific I O sections of the SBC R9 2100 development board such as digital ou
35. nt uem now Download from SDCard now Save configuration now default configuration and h menu 2 sh menu Figure 28 Eboot Configuration Output Sealevel Systems Inc SBC R9 2100 Manual 50 SL 9228 04 2014 ERASING THE NAND FLASH A Modifying any of these settings may render your SBC R9 2100 unbootable When upgrading an existing OS runtime it is necessary to first erase the NAND Flash of a pre programmed unit This is accomplished through the Image flash menu n key in Eboot The flash menu has an option to Erase all sectors of the NAND Flash 1 key See Figure 29 COMA48 PuTTY RomBOOT EStarting ml e de e OS Windows CE Bootloader Common Library Version 1 4 Built CE 6 0 Ethernet Bootloader for the by ADENEO and Windows Adaptation performed by Press ENTER to Initiating image launch in RS Mac address Ip address Subnet Mask DHCP Boot delay Frequency Download t Debug device Download image to Ri a settings E nee E a Cc d i E d LH Ci LO LCD Ka Launch flash res Download from SD configuratio Card now EL ave 1 now estore default co h menu SDCard flash menu H w B F 1 Image Flash Menu 1 Erase all sectors 2 Enter manually the imf 3j Quit co launch image La a b Nov 17 2010 RS platform Inc c 2009 2010
36. older mask over tin nickel OSealevel Systems Inc SBC R9 2100 Manual 60 SL9228 04 2014 Appendix Resources Books Professional Microsoft Windows Embedded CE 6 0 Wrox Phung Programming Windows Embedded CE 6 0 Developer Reference Microsoft Press Boling http msdn microsoft com en us library cc526055 aspx Web Sites Atmel SAM BA In System Programmer ISP http www atmel com dyn products tools_card asp tool_id 3 883 FileZilla Open Source FTP Client http www filezilla project org Microsoft Windows Embedded Home Page www microsoft com windows embedded default mspx Microsoft Windows Embedded CE Operating System Components Microsoft Windows Embedded CE 6 0 Evaluation Edition http www microsoft com downloads details aspx familyid 7E2 8684 7 6E06 4A0C 8CAC CA7D4CO9CB56 amp displaylang en Microsoft Windows Embedded CE 6 0 Online Documentation http msdn microsoft com en us library aa924073 aspx Microsoft ActiveSync Download http www microsoft com download en details aspx id 15 Microsoft Mobile Device Center 6 1 http www microsoft com windowsmobile en us downloads microsoft device center download mspx Microsoft NET Compact Framework http msdn microsoft com en us netframework aa497273 aspx PuTTy Telnet SSH Client Application http en wikipedia org wiki PuT TY http www chiark greenend org uk sgtatham putty download html Sealevel Systems Inc SBC R9 2100 Manual 61 SL9228
37. on name and the desired arguments for that application See Figure 24 This file must reside in the following location nandflash startup startup xml If the startup xml file is not found or is not desired SpringBoard will still automatically run all the A applications placed in the aforementioned directory structure only no arguments will be passed to those applications lt xml version 1 0 encoding utf 8 gt lt programs gt program name samplel exe arguments i 1019 w JSmith gt program name sample2 exe arguments e 2000 gt program name sample3 exe arguments help gt lt programs gt Figure 24 startup xml OSealevel Systems Inc SBC R9 2100 Manual 46 SL9228 04 2014 Boot Sequence Upon power up the SBC R9 2100 follows a specific boot sequence The initial sequence is firstboot The firstboot process initializes the low level hardware and is responsible for loading the next sequence called eboot Eboot provides a configuration menu for setting connection types and start up memory locations Connection types include Ethernet and USB Memory location is NAND Flash Ultimately eboot attempts to load and execute the OS runtime image based on the configuration settings found here The SBC R9 2100 development board checks the raw data in the NAND Flash for a valid Eboot boot loader eboot nbO The SBC R9 2100 ships with a NAND Flash programmed with the OS binaries listed below
38. ore license Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 QuickStart Kit The SBC R9 2100 QuickStart Kit Item SBC R9 2100 KT is available which includes the most common accessories For applications with specialized hardware requirements developers can use the SBC R9 2100 as a platform for application development while Sealevel designs a customized target system specific to the user s application requirements The SBC R9 2100 KT includes the following items e SBC R9 2100 ARM9 Embedded RISC Single Board Computer e CD with Setup files CE runtime image Talos NET Framework application samples and documentation e Microsoft Windows CE 6 0 Core License e TRI23 100 240VAC to 12VDC 2 5A wall mount power supply e CA473 USB Type A to USB Type Mini B device cable e CA429 R9 serial debug cable e CA246 CATS patch cable 6 length e Two CA152 10 pin IDC ribbon cable to DB9M connector e CA464 3 5mm headphone jack audio cable Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 Optional Items Depending upon your application you are likely to find one or more of the following items useful with the SBC R9 All items can be purchased from our website www sealevel com by calling our Sales team at 1 864 843 4343 Cables USB Type A to USB Type B 72 in Length Device Cable Item CA473 The CA473 is a 72 standard USB device cable that connects USB peripherals with a 5 pin Mini Type B conne
39. r registered trademark of the respective company OSealevel Systems Inc SBC R9 2100 Manual 68 SL9228 04 2014
40. rap connected to workplace as well as properly grounded tools and equipment e Useantistatic mats heel straps or air ionizers for more protection e Always handle electrostatically sensitive components by their edge or by their casing e Avoid contact with pins leads or circuitry e Turn off power and input signals before inserting and removing connectors or connecting test equipment e Keep work area free of non conductive materials such as ordinary plastic assembly aids and Styrofoam e Use field service tools such as cutters screwdrivers and vacuum cleaners which are conductive e Always place drives and boards PCB assembly side down on the foam Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 Introduction The SBC R9 2100 is an application ready platform for your next product design The system is based on the 200MHz Atmel AT91SAM9263 microcontroller boasting a 32 bit ARM instruction set for maximum performance With up to 256MB RAM and 256MB NAND Flash memory the unmatched I O features of the SBC R9 2100 extend the possible uses beyond traditional ARM applications To provide the fastest time to market the Windows CE 6 0 BSP binary and low level drivers for system I O are included Additionally the SBC R9 software package is equipped with the Sealevel Talos 1 0 Framework which offers a high level object oriented NET Compact Framework CF device interface This interface provides an I O point abstraction layer
41. rer Weco Part Number 110 M 111 08 Description Terminal Block 8 position 3 5 mm spacing Mates with Weco 110 A 111 08 8 position screw terminal plugs provided Connector TBI Pin Signal Input 1 Input 2 Input 2 Output 1 Output 1 7 Output 2 Output 2 Sealevel Systems Inc SBC R9 2100 Manual 21 SL9228 04 2014 Relay Contact OSealevel Systems Inc SL9228 04 2014 SBC R9 2100 Manual Terminal Blocks 22 Isolated Dry Contact Inputs Dry contact inputs allow for reading the state of relays switches and dry contact sensors The SBC R9 2100 provides two inputs with a 5V source and ground that detect the closure of the contact with up to 10mA of current Dry Contact isolated Input Terminal Blocks Sealevel Systems Inc SBC R9 2100 Manual 23 SL9228 04 2014 Isolated Wet Outputs The isolated wet outputs on the SBC R9 2100 allow for powering external indicators or relays while maintaining isolation Two outputs provide 5VDC at 30mA to LEDs buzzers solid state relays or other low power devices Optically Isolated Wet Output MAX 5 VDC 30mA Terminal Blocks Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 24 Audio Output Output an alarm signal or play music through the R92100 SBC s stereo audio output port Use the CA464 cable accessory to break out the J4 connector to a standard 3 5mm headphone jack Connector J4 Manufacturer Molex Part Number 3536
42. t variable in the NAND Program bat batch file Once the batch file has been updated to reflect your system configuration simply double click the batch file OSealevel Systems Inc SL9228 04 2014 SBC R9 2100 Manual 54 to begin the programming process The process will take a few minutes See Figure 34 EM C Windowsisystem32 cmd exe launching SAM BACCOMLT gt this will take several minutes to complete Figure 34 Programming NAND COM17 Once programming has completed cycle device power and the OS runtime should boot See Figure 35 Ges C Windows system32 cmd exe launching SAMN BACCOMI gt this will take several minutes to complete SAM B Complete Press any key to continue Figure 35 Programming Complete As previously mentioned the process of programming the NAND Flash first erases all content from the NAND Flash This includes the unique MAC address assigned to your device at the factory The finalize exe tool is provided in the Boot Files directory of the R9 Development installation Finalize is a command line utility that accepts a MAC address in dashed notation 00 0A OB 1 6 1 2 34 The application should be executed on the device this can be accomplished with rapistart telnet or locally in the device s Command Prompt after reprogramming the NAND Flash to reassign the MAC address Once the application has been executed the setting is applied upon device restart and
43. teLine DigitalOutPoint 0 1 23 point Index point Value point Description Ly amp T caso Name Value Type Name 4 manager Talos 10 10Manager Talos IO gt GPIO exe GPIO Program Main string args string 0 eA manager DigitallnPoints System Collections ObjectModel ReadOnlyCollection lt Talos IO DigitalInPoin System C point SLR9 Isolatedinput Talos IO amp point Description R9 Opto Input 1 E point Index D oam Value lm Autos Eltocals Eat 1 Eh Call Stack Lj Breakpaints Iz Command Window Em Ready Figure 21 Examining Program Variables Sealevel Systems Inc SBC R9 2100 Manual 44 SL9228 04 2014 Watching Variables When program execution is halted due to a break point condition being met the debugger will display the state of all local variables In addition to those variables class specific variables can be grouped together as a view to aid in debugging your application This is accomplished by right clicking on a variable and selecting Add Watch Each addition appends a tab to the Watch n window where n is incremented for each variable added See Figure 22 Each watch window provides a convenient tree type structure for viewing hierarchical class variables jnamespace GPIO class Program Name Value El 4 point SLR9 Isolatedinput static void Main string args E SLR9 Isola
44. ted at 1 Port USB A Host Port Connector J18 Manufacturer Molex Part Number 35362 0450 Description 2 00mm 079 Pitch Sherlock Wire to Board Header Vertical with Positive Lock 4 Circuits Mates with Molex 35507 0400 Sherlock Wire to Board Housing with Molex 0502128100 2 00mm 079 Pitch Crimp Terminals Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 14 Port USB Mini B Device Port Connector Jl Manufacturer Hirose Description USB mini Type B Sealevel Systems Inc SL9228 04 2014 SBC R9 2100 Manual 15 Serial Debugging Debug the SBC R9 2100 through the RS 232 debug port using the CA429 cable Connector 33 Manufacturer Amp Tyco Part Number 9 146278 0 04 Description Header 0 100 Polarized 4 pos pin 3 Removed Pin RS 232 Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014 16 Serial Communications Connect to a variety of serial peripherals via the SBC R9 s software configurable RS 232 422 485 ports Ports are located at connector P2 Bottom and P3 Bottom Connector P2 P3 Manufacturer Sullins Part Number SBH1 1 PBPC D05 RA BK Description Box Header 0 100 Polarized 10 pos 2x5 Mates with SFH213 PPPC DO5 ID BK M1 81 or equivalent Pin RS 232 RS 422 485 COM Port Assignments Serial Port Assignment RS485 Expansion Port COMI SERIALI COM2 SERIAL2 COM3 Sealevel Systems Inc SBC R9 2100 Manual SL9228 04 2014
45. tedInput SLR9 IsolatedInput E base SLR9 IsolatedInput Get the current instance of the IOManager bg Y base SLR9 Isolatedinput 9 IOManager manager IOManager Instance F A Connection Local PR ConnectionD D Display the count of the DigitalInPoint i S Description R9 Opto Input 1 Console WriteLine DigitallnPoint Count 0 2H Direction Input E A Function Digital Input Point 0 Cycle through each point individually L HS Identifier DI o foreach DigitallnPoint in manager Digita SF Index 0 Ico Online true Display the value of each point L m Type Digital Console WriteLine DigitallnPoint 0 1 SF Polarity ActiveHigh A Value False DebounceCount 5 Display the count of the DigitalOutPoint N DebounceDelay 10 I Console WriteLinei DigitaloutPoint Count 0 m Value false Cycle through each point individually foreach DigitalOutPoint point in manager Digi Display the value of each point Console WriteLine DigitalOutPoint 0 1 F3 S oca s e TE S Autos E Locals e Watch 1 y ll Figure 22 Watch View OSealevel Systems Inc SBC R9 2100 Manual 45 SL9228 04 2014 Target Deployment and Execution After your application is built using Visual Studio either a debug or release executable it may be desirable to copy it into NAND Flash This would provide a means to store and execute your application without the need for connectivity
46. then search for the installed library path C Program Files Sealevel Systems R9 Development Assemblies If you don t see a list of the OSealevel Systems Inc SBC R9 2100 Manual 36 SL9228 04 2014 R9 libraries as shown in Figure 12 then refer to the SBC R9 2100 QuickStart section for software installation details While holding down the CTRL key click on both SLCorLib dll and Talos dll Click the OK button See Figure 12 Look in de Assemblies Mame E Type Product version SLCorLib dll Application extension 54 KE 1 3 0 1 Talos dll Application extension 2 KB 1 2 0 10 4 nr File name Talos dll SLCorLib dll Files of type Component Files dll tlb olb acx exe Figure 12 Core Library References OSealevel Systems Inc SBC R9 2100 Manual 37 SL9228 04 2014 Both DLLs should appear in your References list See Figure 13 G HelloWorld Microsoft Visual Studio File Edit View Project Build Debug Data Tools re id X 53 G C Ga 3 rT Windows CE Device Alan Si E 2x Program HelloWc gd Solution Hello World 1 project 5 79 HelloWorld era Sa Properties E in E La References usin L L3 mscorlib NR E name m 1 System i 3 System Core e 3 System Data e 3 System Data DataSetExtensions 3 System Aml e 3 System Xml Linq i DEERE Figure 1 3 Verification of Added Library References
47. to a host computer The first step is transferring your application to a suitable directory in the on board NAND Flash To accomplish this you will need to establish connectivity via Windows Mobile Device Center or ActiveSync as outlined in the SBC R9 2100 Quick Start section above a vil Computer WindowsCE NandFlash startup Le Search startup pe uy Organize v me Name Type Size Modified 4 7 Favorites RE Desktop 27 HelloWorld Application 10KB 10 6 201 Downloads Recent Places 4 3 Libraries Documents 2 Music i Pictures B Videos a W Computer amp Local Disk C T5 DVD RW Drive D G 4 KI WindowsCE ca 4 e NandFlash d Documents and 3 de startup Network E Network L 1 item Figure 23 Application Placement The SBC R9 2100 Runtime image comes pre loaded with a utility program called SpringBoard This utility provides a solution for automatically running your applications at startup Rather than copying your application files to Windows Startup which is in volatile memory the executables should be copied to nandflash startup After Windows CE runs SpringBoard automatically starts applications in this startup directory SpringBoard also provides a way to specify program arguments by supplying an XML configuration file You will need to create a simple XML file called startup xml This XML file should consist of an element list each with an applicati
48. tput points Audio Output and the serial ports A complete list of the API documentation can be found either in Windows by clicking Start gt All Programs gt Sealevel Systems gt R9 Development gt Talos Documentation html Writing NET applications for the SBC R9 2100 is very similar to writing desktop or console applications for XP and Vista The only difference is the amount of resources available Because the memory footprint is smaller compared to a desktop computer care should be taken where allocation of memory is concerned such as large object creation REQUIREMENTS e Visual Studio Professional 2005 or 2008 e NET Compact Framework 3 5 OSealevel Systems Inc SBC R9 2100 Manual 34 SL9228 04 2014 GETTING STARTED For this demonstration we will construct a smart device console application using Visual C Start Visual Studio and select File gt New gt Project A New Project dialog will appear Select a project type of Visual C gt Smart Device Select Smart Device Project as the Template Make sure the combo box has NET Framework 3 5 selected Type the name of the project In this case call it HelloWorld See Figure 8 r New Project Project types Templates NET Framework 3 5 X Visual Studio installed templates FA Smart Device Project Visual C Windows Web Smart Device My Templates Office Y Search Online Templates Database Reporting Test WCF Workflow Other Lang
49. uages Other Project Types Test Projects A project for Smart Device applications Choose target platform Framework version and template in the next dialog box Name HelloWorld Location C Projects Solution Name HelloWorld V Create directory for solution Add to Source Control Figure 8 Visual Studio New Project Dialog Click the OK button The next configuration screen allows you to select the type of project you are creating Select Windows CE for the target platform NET Compact Framework version 3 5 and select the Console Application icon for the template See Figure 9 Add New Smart Device Project HelloWorld Target platform Windows CE NET Compact Framework version NET Compact Framework Version 3 5 Templates 8848 2 o Description Device Class Library Biens Control Empty 3 Application Library Project labe n Lz non graphical application for Windows CE Platform Download additonal emulator images and smart device SDKs Figure 9 Visual Studio Add Smart Device Dialog OSealevel Systems Inc SBC R9 2100 Manual 35 SL9228 04 2014 Once you have selected all of the configuration options click the OK button You will now see a console application template called HelloWorld in Visual Studio See Figure 10 amp HelloWorld Microsoft Visual Studio File Edit View Project Build Debug Data Tools NET Reflector Test Analy
50. ugging Device Tools Windows CE Device General Devices Form Factors HTML Designer Office Tools Test Tools Text Templating Windows Forms Designer Default device Workflow Designer Windows CE Device nc On the Windows CE Device properties dialog click the Configure button See below Windows CE Device Properties Default output location on device Program Files Folder Transport TCP Connect Transport Configure Bootstrapper ActiveSync Startup Provider Configure Detect when device is disconnected OSealevel Systems Inc SBC R9 2100 Manual 63 S 9228 04 2014 Now click the Use specific IP address radio button and type the IP address of the device in the text box See below Configure TCP IP Transport _ 7 Use fixed port number Device IP address Obtain an IP address automatically using ActiveSync Use specific IP address 192 168 42 90 Click the OK button on all of the dialog windows and you should now be able to connect to the device through Ethernet for debugging The application debugging guide can be continued as normal OSealevel Systems Inc SBC R9 2100 Manual 64 SL9228 04 2014 Appendix D CAD Drawing Top Side HRT HR ERR Eg ME RTE n Ea E E EE E e TILL I ln ES disi TIPS 2 es site HRE E T ALLEE DUREE n a PE
51. with built in support for the specific needs of analog and digital I O such as gain control and debouncing Features e Atmel AT91SAM9263 ARMO Processor e Up to 256MB SDRAM and 256MB NAND Flash Memory e 10 100 BaseT Ethernet e USB 2 0 Port and USB Device Port e CAN Bus Interface e On board Serial and Digital I O e Stereo Audio Output e Compatible with Windows Embedded CE 6 0 and Linux e 7 30VDC Wide Input Range Power Supply e Low Power Requirements e Power and Status LED Indicators Sealevel Systems Inc SBC R9 2100 Manual 6 SL9228 04 2014 Before You Get Started Advisory Conventions mn Warning The highest level of importance used to stress a condition where damage could result to the product or the user could suffer serious injury Note The lowest level of importance used to provide background information Q additional tips or other non critical facts that will not affect the use of the product Important The middle level of importance used to highlight information that might not seem obvious or a situation that could cause the product to fail What s Included The SBC R9 2100 is shipped with the following items If any of these items are missing or damaged please contact Sealevel for replacement e SBC R9 ARM9 Embedded RISC Single Board Computer with standoffs e CD with Setup files CE runtime image Talos NET Framework application samples and documentation e Microsoft Windows CE 6 0 C
52. ze Window Help iBl Ed g2 eas sa A90 2 D Debug Any CPU D InitializeDevicelnfo gt Sl T G Ex B Windows CE Device 85 B3 42 MAX Programas Sat Pagel x G x E 2 a HelloWorld Program y 8 Main string args M A Solution HelloWorld 1 project aaing Sue a BEL using System Linq E t tall Properties using System Collections Generic Y Lal References Lusing System Text 2 namespace HelloWorld class Program t static void Main string args oluti gg Team Sn Proper SE Toolbox 4 ist E Output 5g Find Results 1 2 History Figure 10 Visual Studio Main Window We can now add the references to the Talos Framework Right click on the References and select the Add Reference selection See Figure 11 g HelloWorld Microsoft Visual Studio File Edit View Project Build Debug Data Tools G s d 4 Cam 2 E Windows CE Device HelloW Toor ed Solution HelloWorld 1 project 44 HelloWorld Ons bU pa usir H dl es Ies usir E uw tia j ap Add Reference Rian E 2 Syste name i LJ System COT i L m System Data o 4 System Data DataSetExtensions ee System Xml i C3 System Xml Ling Figure 11 Adding References to Project An Add Reference dialog will appear Click on the Browse tab

Download Pdf Manuals

image

Related Search

Related Contents

Instrumental - Medicalexpress  Abocom BSH202 User's Manual  基板間高さ5mmから11mmまでフレキシブルに応える  Manual Allview P4 Life  TTMFS - User Manual  MEDISANA MEDISANA TERMOMETRO FTC PT  De'Longhi NJ 07663 User's Manual  Operating & Maintenance Instructions Betriebsanleitung  南殿・田畑  Ultra Clean Lubricated Compressor Install Manual  

Copyright © All rights reserved.
Failed to retrieve file