Home

HazPAC R9-8.4 User Manual

image

Contents

1. m File Action View Window Help 9 m ES amp m os m Computer Management Local BA SEALEVEL E66693 fh System Tools a Computer ala Event Viewer See Disk drives a Shared Folders E Display adapters P Local Users and Groups 43 DYOJCD ROM drives b Performance Logs and Alert ic Floppy disk controllers m Device Manager H Floppy disk drives zi ug Storage hg Human Interface Devices 2 Removable Storage BS Jungo ij Disk Defragmenter c Keyboards 3 Ed Disk Management Mice and other pointing devices EH Services and Applications E Monitors B3 Network adapters m Computer Management alta F RTI RTI IE 8 Processors 4 SCSI and RAID controllers xi 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 comport 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 to begin the programming process The process will take a few minutes See Figure 34 EN C Windows system32 cmd exe launching SAM BACCOML gt this will take several minutes to complete Figure 34 Pr
2. SEALE V HazPAC R9 8 4 ARM9 Touchscreen Computer USER MANUAL ITEM H95101 8R Sealevel Systems Inc Sealevel com Phone 864 843 4343 Contents MOINS T T MANARA S T IL T TTE 2 Tandgorolbfadrene E M 4 AA BA AA AAA BA ya MPA Ma IA MAYA ATATAKA MAYA AYA MSATA MAA ASIA MAASI NA KASEBA NA NASA MAASI SA MANARA NA NAASESA SANA SA SAR 4 Before VO UC USA ud AAA nias 5 Waa s IA AA 5 AMISOM YENU NS aaa AA AA MMC MCI MM MA ELEM V D DUM aka Ka 5 COTO NGA wai Aa EE 6 Aa m Q 6 POWEr SUP POLY edidi toti ditioni mid tig mi ni ti NOLO Messe netu tete Delia Resa pua Eee eraai 6 Technical DE SCIPION severe imt iue aua a ax eu ut ut uu t i utin Dutstetistenu ene WA 7 Memory e m v 7 ECG AA sacs daanandacadnancssmaaeanastnasdeancuaeiasnaeaaaes 7 UB aa EEE EEE E AA EA AA AA EA AA III 8 Display and touchiscbe lesum EPIDEMIC P 9 Seral aa AA AA eS 9 EA ua AAA AA AAA AA AAA AAA WAA AAA AAA 13 RS 5456 See dl AAA AA AWA AA WP WA PA TA BOOT TA PU AA KOKA 15 Dep Ug Em ETE t T T o T mmm 17 Reset DUELO aiea ex E EH AAA 18 SA WA MTS TNT TTE 19 HazPAC RO 8 4A QUICK SEALS etae tette teen eet ahh ted dant A A Ea a a eR a SEE Oa 19 WIndows Device COM EE i dusitetitenet bes ea a a aiaiai 21 Windows ActiveSync TOF XD AA AA AA WA AA AA IA Ka IAA 22 Connection AA AA EE 23 Programming using the NET Compact Framework Kiwa 24
3. 0j 1 2 point Index point Value point Description t cal tack Name Value Type Name fy p manager Talos IO IOManager Talos IO a gt GPIO exe GPIO Program Main string args 1string 0 SP manager DigitalInPoints 5ystem Collections ObjectModel ReadOnlyCollection Talos IO DigitalInPoin System C dq point 19LR9 IsolatedInput Talos IO point Description RO Opto Input 1 7 point Index E point Value amp Autos zl Locals gg Watch 1 Ready i gt Call Stack Cd Breakpaints E Command Window lm Figure 21 Examining Program Variables Sealevel Systems Inc HazPAC R9 8 4 Manual 33 SL 9257 8 2015 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 E namespace GPIO 1 Class Program 1 Static void Mainistring args 1 Get the current instance of the IOManager IoManadger manager IOoManadger Instance f f
4. Install from a list or specific location and click Next See Figure 31 Found Hew Hardware Wizar d Welcome to the Found New Hardware Wizard This wizard helps you install software for ATS31 USE to Serial Converter e If your hardware came with an installation CD ee or floppy disk inzert i now What do you want the wizard to do Install the software automatically Recommended 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 The driver should be installed and will come in as AT91 USB to Serial Converter Click Finish to complete See Figure 32 Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for E ATS USE to Serial Converter Click Finish to close the wizard Sealevel Systems Inc HazPAC R9 8 4 Manual 42 SL9257 8 2015 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
5. Now that the Talos Framework has been referenced you have access to all the I O points exposed on the HazPAC R9 8 4 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 statio vord Main string args Console WriteLine Hello World System 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 F Deploy HelloWorld o iea 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 Cancel Show me this dialog each time I deploy the application Figure 14 Choose Windows CE Device
6. OFF Down or away from screen ON Up or toward screen Result DISABLED No termination ENABLED Terminate between D and D lines with 120 ohm resistor RS 485 1 Termination RS 485 1 RS 485 1 Pull down RS 485 2 Termination RS 485 2 RS 485 2 Pull down OFF Down or away from screen ON Up or toward screen OFF Down or away from screen ON Up or toward screen OFF Down or away from screen ON Up or toward screen OFF Down or away from screen ON Up or toward screen OFF Down or away from screen ON Up or toward screen DISABLED No pull up ENABLED Pull up D line to isolated 3 3V ISO1 plane via 510 ohm resistor DISABLED No pull down ENABLED Pull down D line to isolated GND ISO1 plane via 510 ohm resistor DISABLED No termination ENABLED Terminate between D and D lines with 120 ohm resistor DISABLED No pull up ENABLED Pull up D line to isolated 3 3V ISO2 plane via 510 ohm resistor DISABLED No pull down ENABLED Pull down D line to isolated GND 1SO2 plane via 510 ohm resistor The pull up and pull down resistors ensure that the input ports are at a known state when not driven by the RS 485 line The first and last devices in a RS 485 chain should enable line termination as well as the pull up and pull down resistors OSealevel Systems Inc SL9257 8 2015 HazPAC R9 8 4 Manual 12 OPEN COLLECTOR OUTPUTS Directly control eight outputs via t
7. 5 wire resistive touchscreen with glass top SERIAL COMMUNICATIONS Connect to a variety of serial peripherals via the HazPAC R9 8 4 s serial ports Two isolated RS 485 serial ports are provided via DB9 male connectors labeled RS 485 1 and RS 485 2 on the lower front panel of the unit Switch settings are provided to control the termination and pull up pull down resistors Also provided is a RS 232 serial port with full modem control labeled RS 232 on the right side panel The interface is via DB9 male connector Two RS 485 Serial Ports RS 232 Serial Port Sealevel Systems Inc HazPAC R9 8 4 Manual 9 SL 9257 8 2015 Connectors RS 485 and RS 485 2 Description DB 9 Male PIN RS 485 Isolated C Zz w Connector RS 232 Description DB 9 Male PIN RS 232 DCD DSR RX RTS TX Sealevel Systems Inc HazPAC R9 8 4 Manual SL 9257 8 2015 10 COM Port Assignments Serial Port Assignment RS485 Expansion Port COMI RS 485 COM2 USART1 RS 485 2 COM3 USART2 RS 232 COM4 RS 485 Termination and Pull up Pull down Resistors UOIJBUIWII uoneuiuu dn ind NO c o 5 k EE uwop nd v a T e o Sealevel Systems Inc HazPAC R9 8 4 Manual SL 9257 8 2015 11 Each RS 485 Isolated port has selectable line conditioning via three DIP switches These switches control RS 485 line termination and pull up and pull down resistors Port DIP Switch Position
8. 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 Device Options On the Device Options dialog select the Windows CE platform and click the Properties button See below Options Environment Show devices for platform PETE His Windows CE Projects and Solutions Source Control Devices opa Windows CE Device Save As Database Tools Debugging ji Rename j Device Tools General Delete Devices Form Factors HTML Designer Office Tools Test Tools Text Templating Windows Forms Designer Default device Wu Windows CE Device v On the Windows CE Device properties dialog click the Configure button See below Sealevel Systems Inc HazPAC R9 8 4 Manual 50 SL9257 8 2015 Default output location on device Program Fi
9. Display the count of the DigitallnPoint Console WriteLine DigitaliInPoint Count 0 Cycle through each point individually Display the value of each point Console WriteLineij bigitallnPoint 0 11 Display the count of the DigitalOutPoint Console WriteLinei DbigitaloutPoint Count 0p ff Cycle through each point individually foreach DigitaloutPoint point in manager Digi 1 Display the value of each point Console WriteLinei bigitalourPoint 0 1 foreach DigitallnPoint in manacdger Dbidgita Value 5LR9 IsolatedIn put A SLRS IsolatedInput 5LR9 IsolatedInput 4 base A iw base r c Connection A ConnectionD PSA Description ri Direction MSA Function S Identifier P Index zn Online A Type eet Polarity pP value I zn DebounceCount r DebounceDelay pP value TSLR 3 IsolatedInput T5LRA IsolatedInput Lacal g R9 Opto Input 1 Input Digital Input Point 0 DI p true Digital ActiveHigh False 5 10 False gg notes Sora gweth 1 Figure 22 Watch View Sealevel Systems Inc HazPAC R9 8 4 Manual SL9257 8 2015 34 TARGET DEPLOYMENT AND EKECUTION After your application is built using Visual Studio either a debug or release executable it may be desirable to copy it into N
10. 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 DevelopmentNSamplesNCZ and AR9 Development Samples VB NET Sealevel Systems Inc HazPAC R9 8 4 Manual 28 SL 9257 8 2015 APPLICATION DEBUGGING INTRODUCTION This guide details the process of debugging an application developed for the HazPAC R9 8 4 embedded IO system The HazPAC R9 8 4 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 HazPAC R9 8 4 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 HazPAC R9 8 4 Quick Start section DEBUGGING AN APPLICATION Once the HazPAC R9 8 4 has been successfully attache
11. 2 ECAC aS DDO Deest Un IM IMEEM MM M LL LL A 52 ridi X WAA 53 Wakralgtu POI GV AWAANIKA AWA PS SPT SS SA SAA NRA SEE WAWA WW WA MCN ME 53 Non Warranty REDI RUC SE scccsesmtetetetaeiuetetatutelmtateteitetutetetetuiat e atento fulateiet N 53 How to Obtain an RMA Return Merchandise Authorization eese 53 Sealevel Systems Inc HazPAC R9 8 4 Manual 3 SL9257 8 2015 Introduction The HazPAC R9 8 4 is an application ready platform for your next product design The system is based on the 400MHz Atmel AT91SAM9G45 microcontroller boasting a 32 bit ARM instruction set for maximum performance With 128MB DDR2 RAM and 256MB NAND Flash memory the unmatched I O features of the HazPAC R9 8 4 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 HazPAC R9 8 4 software package is equipped with the Sealevel Talos I O Framework which offers a high level object oriented NET Compact Framework CF device interface This interface provides an I O point abstraction layer with built in support for the specific needs of analog and digital I O such as gain control and debouncing The HazPAC R9 8 4 is housed in a rugged small enclosure suitable for mounting in hazardous locations see Classification section for details and is rated for
12. 8 File Edit wiew Refactor Project Build Debug Data Tools Test Window Help l i4 27 bb Bi a aLa b Debug z Any CPU ah Windows CE Device m ah el EA NES FR Ro A gt i i z 2 gag GP C3 4 i Aai n Program cs fe AE s I GPIO Program ii b l sj Main string args m HB using System 3 Lusing Talos IO a M E namespace GPIO 2 El class Program E E static void Main string args Get the current instance of the IOManager IOManager manager IOManager Instance Console WriteLine DigitallnPoint Count 0 manager DigitallnPoints cCount Cycle through each point individually foreach DigitallnPoint point in manager DigitallnPoints Figure 18 Breakpoint Selection To begin debugging the application click the Start Debugging button See Figure 19 Data Tools Test Window Help al E b Debug Any CPU Ex n sb Wb o5 er pee Com Start Debugging Wi am ee SONO Nm Figure 19 Run Debugger Icon Sealevel Systems Inc HazPAC R9 8 4 Manual 32 SL 9257 8 2015 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 Device Cancel Pocket PC 2003 Device Pocket PC 2003 SE Emulator Pocket PC 2003 SE Squ
13. AND Flash This would provide a means to store and execute your application without the need for connectivity 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 HazPAC R9 8 4 Quick Start section above QC gt Computer WindowsCE NandFlash gt startup v Search startup p Organize v E O e 4 3T Favorites Name Type Size Modifie BE Desktop 27 HelloWorld Application 10KB 10 6 201 Downloads Recent Places 475 Libraries Documents 2 Music t Pictures B Videos 4 W Computer amp Local Disk C 15 DVD RW Drive D G 4 Ki WindowsCE ca 4 ex NandFlash Documents and startup ex Network e Network 4 p A 1 item Figure 23 Application Placement The HazPAC R9 8 4 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
14. AS PuTTY RomBOOT EStarting eboot Microsoft Windows CE Bootloader Common Library Version 1 4 Built Nov 17 2010 09 04 Microsoft Windows CE 6 0 Ethernet Bootloader for the R9 platform Adaptation performed by ADENEO and Sealevel Systems c c 2005 2010 Press ENTER to launch image stored in flash or SPACE to cancel Initiating image launch in 0 seconds System ready Preparing for download OK Launching windows CE image by jumping to address 0x20095d000 CE Kernel for ARM Thumb Enabled Built on Aug 4 2010 at 14 23 58 3 for the RS So built Nov 17 2010 I by ADENEO and Sealevel Systems Inc c 2009 2010 rh 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 P COMMS PuTTY RomBOOT EStarting eboot Microsoft Windows CE Bootloader Common Library Version 1 4 Built Nov 17 2010 059 Microsoft Windows CE 6 0 Ethernet Bootloader for the R9 platform Adaptation performed by ADENEO and Sealevel Systems In Press ENTER to launch image stored in flash or SPACE to cancel Initiating image launch in 1 seconds R9 0 Mac addr 1 Ip addr Subnet Boot delay Frequency settings core at 180 bus divider 2 Downlo a nan nnnn Debug devic 8 Download Launch existing flash resident
15. Application De veloDITIBItus sedere ee uuu euntes tue pue n eeu ub Eu psu SUNSU EVE EE P EE UP ERO PUE UE 24 ADDIICAtiOn dDebilggiliQ suc d attente enin AA epe ail ded 29 faidgeroibad eis eMe m Eu e 29 KUN oedcassueeee ut uu mnm utu Mutua uerum a M vU Mu e rv E epulae M ce eee eee 29 Debugging dn ADDIIEdtOlNTsdsdet vives aue AAE uae Sade S cu ve rU vb e cv ENSE DERE REM UM DUE E DE 29 Attac te Debugg6elt dettaietutuftafetet vid ECQUID Mem sands gnabanaa ghana basabanshapaisachanabanabanen 30 BECADO minimeque ce ue m can denn nae ae CUR DEO EC cess scenes setup Des IMEEIM UEM eu DPEe need nep 32 Watching VAA ols ii Fu UU UN FU FUN MEME IM DII I I ME 34 Target Deployment and Execution sseesseessseeeeeneee nennen nnne nnne nnne nnn nnne nn nnn nanus na anna nnn ns 35 BOOP CN AAA AAA AAA Meu M MEME MM MM ERAN E AR EA EE MER EE 36 Sealevel Systems Inc HazPAC R9 8 4 Manual 2 SL9257 8 2015 OS File Restoration TTL 36 WISIN GOALIE Debug PORT bee o o a te ates Gates a i i ari 36 Upgrading the OS Runtime Image on NAND Flash aa 41 Network CONIO At O setis buie uae En EEr 45 Appendix AA Wa wa ana mawa wauawa uawa donc cedi LATOA AYA TA NA NANA MAI NA MANA MAN ANA diede 49 EO AUA T A aa 49 WE DSE Sa A AA at 49 Appendix B Application Debugging over Ethernet cccceecceeeceeeeeseeteeeseeeeeeeeeseetaeeseueeeeeenaeeeas 50 Appendix E How to Get ASSISEIEITCG o Dh b D hh Oa Dp oobis 5
16. Inc HazPAC R9 8 4 Manual 47 SL 9257 8 2015 This element may contain the current DHCP acguired 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 method for use in establishing the wireless connection 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 Action Writeonly string This element may be u
17. Launch flash resident JjOwnload from 5DCard now configuration now e default configuration flash menu SDCard flash menu Figure 28 Eboot Configuration Output Sealevel Systems Inc HazPAC R9 8 4 Manual 39 SL 9257 8 2015 wW Warning Modifying any of these settings may render your HazPAC R9 8 4 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 COMAS PuTTY RomBOOT EStarting eboot Microsoft Windows CE ft Windows CE 6 Adaptation performed by Press ENTER to Initiating image launch launch i ES Mac addr Tp addrt Subnet Mask Boot 0 1 lt 3 4 2 E Mo 5 aed ees Debug device Download Launch ex d image to zisting flash lo Li Launch flash resident image Download from 5DCard now configuration now estore default confi Image flash menu SDCard flash menu Y Quit key See Figure 29 Version 1 4 Built Noy oader For the R9 platform vel Systems Inc c yo HAN T 2009 2 010 Lored in flash or seconds ation Ta at 180 bus divider 2 NK bin DBGU age aL SLaruLup now Figure 29 Eboot Image Flash Menu The Erase all sectors option in Eboot will
18. a 40 C to 60 C operating temperature range The HazPAC R9 8 4 power input accepts 9 30VDC voltage levels FEATURES e 8 4 400 nit TFT LCD with LED backlight e Durable resistive touchscreen e Atmel AT91SAM9G45 ARM Processor e 128MB DDR2 and 256MB NAND Flash Memory e 1 10 100 BaseT Ethernet e 2 USB 2 0 Ports e 1 USB Device Port e 2 Isolated RS 485 serial ports e 1 Dedicated RS 485 serial port expansion e 1 RS 232 serial port e 8 Open collector digital outputs e 9 30VDC input power via removable terminal block e Power 15W Max e Compatible with Windows Embedded CE 6 0 and Linux Sealevel Systems Inc HazPAC R9 8 4 Manual 4 SL 9257 8 2015 Before You Get Started WHAT S INCLUDED The HazPAC R9 8 4 is shipped with the following items If any of these items are missing or damaged please contact Sealevel for replacement e HazPAC R9 8 4 ARMY Touchscreen Computer with CE runtime image e CD with Talos NET Framework application samples setup files and documentation e Microsoft Windows CE 6 0 Core license ADVISORY CONVENTIONS m 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 importa
19. applications Choose target platform Framework version and template in the next dialog box Name HelloWorld Location C Projects Solution Name HelloWorld 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 4 Templates ag BA m Er T Device Class Library sns Control Empty gt Application Library Project ey sien B i non graphical application for Windows CE Platform Download additonal emulator images and smart device SDKs Figure 9 Visual Studio Add Smart Device Dialog Sealevel Systems Inc HazPAC R9 8 4 Manual 25 SL 9257 8 2015 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 HelloWorld Microsoft Visual Studio n File Edit View Project Build Debug Data Tools NET Reflector Test Analyze Window Help e a ae aaa C E dD Debug Any CPU gl InitializeDevice
20. are Emulator Pocket PC 2003 SE Square v Emulator Pocket PC 2003 SE VGA Emulator USA Windows Mobile 5 0 Pocket PC Rz Emulator USA Windows Mobile 5 0 Pocket PC Rz Square Emulator USA Windows Mobile 5 0 Smartphone R2 OVG4 Emulator Windows CE Device Windows Mobile 5 0 Pocket PC Device Rz Windows Mobile 5 0 Smartphone Device RZ Show me this dialog each time I deploy the application Figure 20 Target Deployment Dialog Once the application is deployed to the HazPAC R9 8 4 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 roreacn i vigicaiinroinc poinc in manager vigitaLinroints Display the value of each point onsoie Jri t el 1 ne p igital InP fie hoe ds 1b iz ib point Index point Jalu j e point Value false Display the count of the DigitalOutPoint Console WriteLine DigitalOutPoint Count 0 manager DigitalOutPoints Count Cycle through each point individually foreach DigitalOutPoint point in manager DigitalOutPoints Display the value of each point Console WriteLine DigitalOutPoint
21. c HazPAC R9 8 4 Manual 22 SL9257 8 2015 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 HazPAC R9 8 4 can be read or written See Figure 7 9 Microsoft ActiveSync File View Tools Help Schedule Ko Explore Connected Hide Details amp Information Type Salus 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 Sealevel Systems Inc HazPAC R9 8 4 Manual 23 SL9257 8 2015 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 HazPAC R9 8 4 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 HazPAC R9 8 4 Our Talos Framework allows access to the more specific 1 0 sections of the HazPAC R9 8 4 development board such as digital output points CAN bus and the serial ports A complet
22. com RETURN AUTHORIZATION MUST BE OBTAINED FROM SEALEVEL SYSTEMS BEFORE RETURNED MERCHANDISE WILL BE ACCEPTED AUTHORIZATION CAN BE OBTAINED BY CALLING SEALEVEL SYSTEMS AND REQUESTING A RETURN MERCHANDISE AUTHORIZATION RMA NUMBER Sealevel Systems Inc HazPAC R9 8 4 Manual 52 SL9257 8 2015 Warranty Sealevel s commitment to providing the best I O 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 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 any specifications or instructions or failure r
23. d to your PC it is easy to begin debugging an application on the HazPAC R9 8 4 This section will demonstrate how to attach the Microsoft Visual Studio debugger to the HazPAC R9 8 4 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 HazPAC R9 8 4 Sealevel Systems Inc HazPAC R9 8 4 Manual 29 SL9257 8 2015 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 8 GPIO Microsoft Visual Studio File Edit View Project Build Debug Data Tools Test Window Help all LES d BA 4 2 2 E A A 07 Es ba hic xndkS AR sm USA Windows Mobile 5 0 Pocket PC R2 Emulator USA Windows Mobile 5 0 Pocket PC R2 Square Emulator JUSA Windows Mobile 5 0 Smartphone R2 OVGA Emulator _ Windows Mobile 5 0 Pocket PC Device Rz 2 Windows Mobile 5 0 Smartphone Device Rz iacu eati ie aie c LPs AWA an Ba iS Static void Maini string arga 1 Get the current instance of the IOMal IoManadger manager OManager Instance Display the count of the DigitalInFo Consol
24. e WriteLinei bigitallnPoint Count Figure 15 Device Target Selection If you would like to use the faster Ethernet connection for debugging instead of the USB connection refer to Appendix B Sealevel Systems Inc HazPAC R9 8 4 Manual 30 SL 9257 8 2015 Now select the Connect to Device icon to initiate synchronization between Visual Studio and the HazPAC R9 8 4 device See Figure 16 YA GPIO Microsoft Visual Studio File Edit View Project Build Debug Data Tools Test Window em Es m E zi a Ju zz IA ndi 4 M i Ed E ui Debug Windows CE Device il do CA sro hr A gt n y Program cs th Connect to Device F ag G PIC Program rm E using System 8 L using Talos IO a x Enamespace GPIO m 1 class Program Et 1 Static void Mainistring args 1 Get the current instance of the IoOManager manager IoManager Inzst 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 HazPAC R9 8 4 Manual 31 SL9257 8 2015 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 selecting a line and pressing the F9 hotkey See Figure 1
25. e list of the API documentation can be found in Windows by clicking Start gt All Programs Sealevel Systems gt R9 Development gt Talos Documentation html Writing NET applications for the HazPAC R9 8 4 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 Sealevel Systems Inc HazPAC R9 8 4 Manual 24 SL 9257 8 2015 GETTING STARTED For this demonstration we will construct a smart device console application using Visual C Start Visual Studio and select File 2 New 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 C Visual Studio installed templates Windows 54 Smart Device Project Web Smart Device My Templates Office Ed Search Online Templates Database Reporting Test WCF Workflow Other Languages Other Project Types Test Projects A project for Smart Device
26. eadonly string This element contains a string representation of the specific OS Runtime Image RuntimeVersion Readonly version This element contains a dot notation version string This version is associated with the OS Runtime Image Processor Readonly string This element contains a Processor Identification string Sealevel Systems Inc HazPAC R9 8 4 Manual 46 SL 9257 8 2015 Name 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 string 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 contai
27. 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 SL9257 8 2015 HazPAC R9 8 4 Manual 40 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 Ouick 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 Debug Port section Once the NAND Flash has been erased use a standard USB device cable and connect the Type B connector to the HazPAC R9 8 4 Connect the Type A connector into the host PC See Figure 30 Figure 30 Type B USB Device Connector Sealevel Systems Inc HazPAC R9 8 4 Manual 4 SL9257 8 2015 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 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
28. esulting 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 Sealevel Systems Inc HazPAC R9 8 4 Manual 53 SL9257 8 2015
29. he HazPAC R9 8 4 s open collector outputs found on the front of the enclosure The open collector outputs have a range of 5 30V with a maximum sink current of 500mA on a single output with a combined maximum sink current of 580mA on all outputs Open Collector Digital Outputs OV 1 2 3 4 5 6 7 8 Vin YU 0 0 0 ODIO OO v V rina MAX 30 VDC 500mA single 580mA all Connector OPEN COLLECTOR OUTPUTS Manufacturer Weco Part Number 110 M 111 10 Description Terminal Block 10 position 3 5mm spacing Mates with Weco 110 A 111 10 10 position screw terminal plug provided Sealevel Systems Inc HazPAC R9 8 4 Manual 13 SL9257 8 2015 OSealevel Systems Inc SL9257 8 2015 ie s gt OE OE Al A2 A3 A4 AS A6 A7 A8 KISANII HazPAC R9 8 4 Manual VVYVVVYVYVY 14 RS 485 EXPANSION The HazPAC R9 8 4 provides a RS 485 Expansion Port The port is available on the left side of the enclosure via the RJ 45 connector labeled RS 485 OUT as well as via a 4 pin terminal block The HazPAC R9 8 4 includes a RS 485 expansion connector on the left side of the unit that is internally connected to the same pins on the screw terminals also on the left side of the unit This offers two convenient options for adding additional expansion modules rn The RJ45 port on the left side of the HazPAC R9 8 4 is a RS 485 Expansion Port labeled RS 485 OUT and is NOT an Ethernet port Damage to Ethernet network
30. id Eboot boot loader eboot nb0 The HazPAC R9 8 4 ships with a NAND Flash programmed with the OS binaries listed below 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 TH 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 HazPAC R9 Serial Debug cable Item CA452 and any telnet terminal client application such as PuTTY See Appendix A For this procedure we will demonstrate the use of PuTTY Connect one DB9 female end of the HazPAC R9 serial debug cable into the HazPAC R9 8 4 connector labeled DBGU Connect the DB9 end of the HazPAC R9 serial debug cable into an available serial port on the host PC RS 485 2 01234567 8Vn Sealevel Systems Inc HazPAC R9 8 4 Manual 36 SL 9257 8 2015 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
31. indows CE B Organize s o FH a Faventes P i HE Desktop SS 3 i tree of 503 MB r Dewnlosds ij Recent Places Network Mandflash 3 Libraries Documents al Music fen Pictures B Videos M Computer EL Local Disk C 5 DVD RW Drive Dx G BA Windows CE ca em HandFlach am Hetek Mig Metwark a 3 tems Figure 5 Contents of HazPAC R9 8 4 WINDOWS ACTIVESYNC FOR XP If your host PC is running Windows XP ActiveSync is required to establish connection to the HazPAC R9 8 4 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 HazPAC R9 8 4 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 you like to set up a partnership CO Yes Set up a partnership so that can synchronize Information between my device and this computer No don t want to synchronize information Set up my device as a quest so that can copy or move Information between my device and this computer Figure 6 ActiveSync New Partnership Dialog Sealevel Systems In
32. ing equipment can result if connected to the RS 485 RJ45 connector RS 485 Expansion Port RJA5 Connector RS 485 Expansion RJ45 Manufacturer Xmultiple Part Number XRJM S 01 8 8 F2 or XRJM S 01 8 8 0 Description RJ45 Socket W O LEDs Shielded Mates with Standard RJ45 Plug Signal Pin TN DE omn Sealevel Systems Inc HazPAC R9 8 4 Manual 15 SL 9257 8 2015 Connector Manufacturer Part Number Description RS 485 Expansion Port terminals RS 485 Expansion Weco 110 M 111 04 Terminal Block 4 position 3 5mm spacing Mates with Weco 110 A 111 04 4 position screw terminal plug provided Pin Signal RS 485 485 GND Common GND SHIELD Shield GND Sealevel Systems Inc HazPAC R9 8 4 Manual SL9257 8 2015 16 DEBUG PORT A serial debug port is provided via DB9 male connector labeled DBGU A HazPAC R9 Serial Debug cable Item CA452 may be used to access the DBGU port from a Host PC Connect one DB9 female end of the HazPAC R9 serial debug cable to the DBGU port and the other to the Host PC an available RS 232 COM port or USB to RS 232 serial port adapter is required on the Host PC DBGU Port Connector DBGU Description DB 9 Male DBGU RS 232 levels Sealevel Systems Inc HazPAC R9 8 4 Manual 17 SL9257 8 2015 RESET BUTTON A recessed reset button is provided to reset the HazPAC R9 8 4 A blunt non conductive instrument may be used to press the butto
33. les Folder TCP Connect Transport Bootstrapper ActiveSync Startup Provider Configure Detect when device is disconnected 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 rcu Use fixed port number Device IP address Obtain an IP address automatically using ActiveSync Use specific IP address 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 Sealevel Systems Inc HazPAC R9 8 4 Manual 51 SL9257 8 2015 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 843 4343 Email support sealevel
34. lnfo AF mAB Windows CE Device S5 B3 42 a 2 Solution Explorer Hellow T Program cs Start Pac ba k 1 amp HelloWorld Program v amp 9 Main string args ad Solution HelloWorld 1 project Elusing System 6 231 HelloWorld using System Linq H Sa Properties H 3j References ie Program cs using System Collections Generic using System Text g namespace HelloWorld El class Program 1 static void Main string args Sy Soluti 33 Team E Proper Be Toolbox d Error List Output gl Find Results 1 2 History Ready 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 TEL File Edit View Project Build Debug Data Tools Ll Ed uz db 46 cad C R3 E Windows CE Device mo Bal 42 A UA ih Oo OX Hellow Solution HelloWorld 1 project 3 usir E af HelloWorld Hes E Em Properties ads x E a Add Reference ms Add Web Reference name e 4 System Data DataSetExtensions i 42 System Aml ql ie A System Xml Ling Figure 11 Adding References to Project Sealevel Systems Inc HazPAC R9 8 4 Manual 26 SL9257 8 2015 An Add Reference dialog will appear Click on the Browse tab then search for the i
35. ly rated for 100 240VAC input and 12VDC output at 4 0 amps LPS The cable has tinned leads for use with products that have screw terminals for input power Sealevel Systems Inc HazPAC R9 8 4 Manual SL9257 8 2015 Technical Description MEMORY The HazPAC R9 8 4 is offered with 128MB DDR2 SDRAM operational memory and 256MB NAND SLC Flash for storage ETHERNET The HazPAC R9 8 4 includes a 10 100 BaseT Ethernet interface accessed via the RJ45 connector located on the front of the enclosure The RJ45 port on the left side of the HazPAC R9 8 4 is a RS 485 Expansion Port labeled RS 485 OUT and is NOT an Ethernet port Damage to Ethernet networking equipment can result if connected to the RS 485 RJ45 connector Pin Signal TX Sealevel Systems Inc HazPAC R9 8 4 Manual SL9257 8 2015 USB The HazPAC R9 8 4 provides two SeaLATCH USB 2 0 host ports and one USB device port The USB host ports are located on the left side of the enclosure The USB device port is located on the front of the enclosure Connector SeaLATCH USB 2 0 Host Port Manufacturer Samtec Description Standard USB Type A Mates with SeaLATCH USB Type A or Standard USB Type A Connector USB 2 0 Device Port Manufacturer Samtec Description Standard USB Type B Sealevel Systems Inc HazPAC R9 8 4 Manual SL 9257 8 2015 DISPLAY AND TOUCHSCREEN The HazPAC R9 8 4 features a bright 8 4 TFT LCD with LED backlight and a durable
36. n and assert a reset to the processor and peripherals Sealevel Systems Inc HazPAC R9 8 4 Manual 18 SL 9257 8 2015 Software HAZPAC R9 8 4 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 e R9 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 HazPAC R9 8 4 to run Windows CE 6 0 OS when power is applied to the unit Sealevel Systems Inc HazPAC R9 8 4 Manual 19 SL 9257 8 2015 To avoid accidental damage be sure to follow proper ESD procedures by grounding yourself and the board Use a standard USB device cable and connect the Type B connector to the HazPAC R9 8 4 Connect Type A connector into the host system See Figure 2 Figure 2 Type B USB Device Connector You are now ready to set up a USB communication interface between the host PC and the HazPAC R9 8 4 Depending on which operating sys
37. nce used to highlight information that might not seem obvious or a situation that could cause the product to fail Sealevel Systems Inc HazPAC R9 8 4 Manual D SL 9257 8 2015 OPTIONAL ITEMS Depending upon your application you are likely to find one or more of the following items useful with the HazPAC R9 8 4 All items can be purchased from our website www sealevel com or by calling our sales team at 864 843 4343 CABLES SeaLatch USB Type A to USB Type B 72 Length Device Cable Item CA355 The CA355 is a 72 standard USB device cable The metal thumbscrew on the type A connector ensures secure connection The CA355 is USB 2 0 compliant and is compatible with USB 1 1 and 1 0 devices USB Type A to SeaLatch USB Type B 72 Length Device Cable Item CA356 The CA356 is a 72 USB device cable that securely connects USB device port metal thumbscrew lock to a host computer The CA356 is USB 2 0 compliant and is compatible with USB 1 1 and 1 0 devices CAT5 Patch Cable 7 in Length Blue Item CA246 Standard 7 CAT5 UTP Patch Cable RJ45 HazPAC R9 Serial Debug Cable 6ft Length Item CA452 The CA452 is a 6ft serial debug cable with standard DB9F connector on both ends wired straight through The DB9F connector is compatible with any standard RS 232 DBOM serial port POWER SUPPLY 100 240VAC to 12VDC 4 0A LPS Desktop Power Supply Item TR1 35 The TR135 is a desktop brick style power supp
38. ns 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 OB 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 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 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 Sealevel Systems
39. nstalled library path C Program Files Sealevel SystemsNR9 Development MAssemblies If you don t see a list of the R9 libraries as shown in Figure 12 then refer to the HazPAC R9 8 4 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 G Add Reference sammie sat Look in Assemblies O p P g a Name Type Size Product version 5 SLCorLib dll Application extension 54 KB 1 3 01 amp Talos dll Application extension 2 KE 12010 4 TT File name Talos dll SLCarLib dll Files of type Component Files dll tlb olb ocx exe Figure 12 Core Library References Both DLLs should appear in your References list See Figure 13 g HelloWorld Microsoft Visual Studio Fille Edit View Project Build Debug Data Tools Do gg lb UO X Ga AO 0A Windows CE Device g B 4 ZA E rer Soalotian Hell alll TR E LI Rm 1 E r namiri OW Ae HelloWe ed Solution HelloWorld 1 project a usin S 33 HelloWorld rA EAP di usin aI i roperties T References L3 mscorlib SEIN E ficis annan PO be s System Core e 42 System Data e 42 System Data DataSetExtensions vee 42 System Aml Ling Lu EIS Figure 13 Verification of Added Library References Sealevel Systems Inc HazPAC R9 8 4 Manual 27 SL9257 8 2015
40. ogramming NAND COMI 7 Sealevel Systems Inc HazPAC R9 8 4 Manual 43 SL9257 8 2015 Once programming has completed cycle device power and the OS runtime should boot See Figure 35 EM CAWindowsisystem32Wcmd exe launching SAM BACCOML gt this will take several minutes to complete SAM BA Complete Press any key to continue m Figure 35 Programming Complete NOTE 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 16 12 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 persists Sealevel Systems Inc HazPAC R9 8 4 Manual 44 SL 9257 8 2015 NETWORK CONFIGURATION The Windows CE that runs on the HazPAC R9 8 4 is initially configured to 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 config
41. s CE Hame zxDescriptionzWindowsCE Devica Description S ONT amp EGSJICWDSBES Company Comany gt znddressc pB dresss xPh ne BPh ne zExtemnsionsc Exrension cf Systems lt Ethernet gt Incerface nane EMACH1 gt DCPS Tt road DCE zHAZSDO0 QA 0B 16 11 1A HAC XIERddr amp ess 152 158 55 1DI1 IFAddress zaubnertz255 255 255 0z 5u bne6 zGareways192 165B 99 1c BGareways Wifi enabled Troe gt cESSIDOTESTHETWORR Z31D5 zxMode Infrastructurec Hcde zChannelsl1i1z Chnannels xS5EecuritysWpazAesc Security Fey encodings Pasg d amp ddac av SZ Wifit lt Toterface gt fEChernecs lt Configqureasion gt Sample configuration xml read from device lt Configuration gt 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 lt System gt Structure The system element contains all of the system information elements This element must be present or the configuration file will not be considered valid lt OS gt 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 lt Version gt Readonly version The version element contains a dot notation version string This version is associated with the Operating System element Runtime R
42. sed 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 Sealevel Systems Inc HazPAC R9 8 4 Manual 48 SL 9257 8 2015 Appendix A Resources BOOKS Professional Microsoft Windows Embedded CE 6 0 Wrox Phung http it ebooks info book 1461 Programming Windows Embedded CE 6 0 Developer Reference Microsoft Press Boling https www microsoft com learning en us book aspx id 1 1 064Web Sites WEBSITES Atmel SAM BA In System Programmer ISP http www atmel com tools atmelsam bain systemprogrammer aspx FileZilla Open Source FTP Client http www filezilla project org Microsoft Windows Embedded Home Page http www microsoft com windowsembedded en us windows embedded aspx Microsoft Windows Embedded CE 6 0 Online Documentation https msdn microsoft com en us library ee504812 v2winembedded 60 aspx Microsoft Activesync Download http www microsoft com windowsmobile en us help synchronize ActiveSync download mspx Microsoft Mobile Device Center 6 1 https support microsoft com en us kb 931937 Microsoft NET Compact Framework https msdn microsoft com en us library ms376787 aspx PuTTy Telnet SSH Client Application http en wikipedia org wiki PuTTY Sealevel Systems Inc HazPAC R9 8 4 Manual SL 9257 8 2015 49 Appendix B
43. tem you are using Windows 7 Vista or XP the setup experience will vary Sealevel Systems Inc HazPAC R9 8 4 Manual 20 SL 9257 8 2015 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 HazPAC R9 8 4 board and the device center connection screen will appear See Figure 3 i Windows Mobile Device Cente T 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 HazPAC R9 8 4 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 4 Windows Mobil e Device Cente e 7 28 Mobile PEY QW Mobile Device Settings Figure 4 Device Center File Management Sealevel Systems Inc HazPAC R9 8 4 Manual 21 SL9257 8 2015 This action opens a standard Windows Explorer where the default file contents of the HazPAC R9 8 4 can be read or written to See Figure 5 CT em fe i TISH F Compuler WindowsCE 4 pe W
44. to None See Figure 25 Serial line to connect to speed baud Data bits Stop bits Parity Figure 25 PuTTY Serial Configuration Sealevel Systems Inc HazPAC R9 8 4 Manual 37 SL 9257 8 2015 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 jpecity the destination you want to to COM 115200 Connection type Raw Telnet Rogn SSH Serial Load save or delete a stored session Saved Sessions R3 Serial Debug Default Settings H3 Serial Debu Close window on exit O Awas Never on clean exit Sealevel Systems Inc HazPAC R9 8 4 Manual 38 SL9257 8 2015 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 HazPAC R9 8 4 Press the reset button on the HazPAC R9 8 4 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 COM
45. to create a simple XML file called startup xml This XML file should consist of an element list each with an application 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 lt program name sample2 exe arguments e 2000 gt program name sample3 exe arguments help gt lt programs gt Figure 24 startup xml Sealevel Systems Inc HazPAC R9 8 4 Manual 35 SL9257 8 2015 BOOT SEQUENCE Upon power up the HazPAC R9 8 4 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 HazPAC R9 8 4 development board checks the raw data in the NAND Flash for a val
46. uration 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 HazPAC R9 8 4 Manual 45 SL9257 8 2015 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 be replaced with default values To apply a new configuration use the Action element with a value of apply as documented below z xml wversione l D0 2 cconfiguracion cysten TSW nEs 0a xVersicns D 0c Version zRunvtime Praconexc BRunrime xEunrzimeversion x1 D 0 6z Eunczimeversian lt Processor gt ATHEL ARHS26EJ S ATO1SAMS263 c ProcessSr Name S41 dow

Download Pdf Manuals

image

Related Search

Related Contents

LED Tube Catalogue_Revised  user manual    GE-GP 5537 E  Siemens ISI EN 50295 User's Manual  04 MEC 048 Articulo Cientifico Español  FHT-41307N-PD9    Sony CDP-CE500 Operating Instructions  Deluxe Memory Man - Instrucciones español  

Copyright © All rights reserved.
Failed to retrieve file