SeaLevel HazPAC R9-8.4 ARM9 User Manual

SeaLevel HazPAC R9-8.4 ARM9 User Manual

Touchscreen computer
Hide thumbs Also See for HazPAC R9-8.4 ARM9:

Advertisement

Quick Links

HazPAC R9-8.4 ARM9 Touchscreen Computer
USER MANUAL
ITEM#
H95101-8R
Sealevel Systems, Inc.
Sealevel.com
Phone 864.843.4343

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HazPAC R9-8.4 ARM9 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SeaLevel HazPAC R9-8.4 ARM9

  • Page 1 HazPAC R9-8.4 ARM9 Touchscreen Computer USER MANUAL ITEM# H95101-8R Sealevel Systems, Inc. Sealevel.com Phone 864.843.4343...
  • Page 2: Table Of Contents

    Introduction ......................... 29 Requirements ........................29 Debugging an Application ....................29 Attach the Debugger ......................30 Breakpoints .......................... 32 Watching Variables ....................... 34 Target Deployment and Execution ..................35 Boot Sequence ........................36 ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 3 Appendix E – How to Get Assistance ..................52 Technical Support ........................ 52 Warranty ..........................53 Warranty Policy ........................53 Non-Warranty Repair/Retest ....................53 How to Obtain an RMA (Return Merchandise Authorization) ..........53 ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 4: Introduction

    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.
  • Page 5: Before You Get Started

    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. • HazPAC R9-8.4 ARM9 Touchscreen Computer with CE runtime image • CD with Talos .NET Framework, application samples, setup files, and documentation •...
  • Page 6: 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"...
  • Page 7: Technical Description

    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. Signal ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 8: Usb

    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 SL9257 8/2015...
  • Page 9: Display And Touchscreen

    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. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 10 Connectors: RS-485 1 and RS-485 2 Description: DB-9 Male RS-485 Isolated DATA- DATA+ Connector: RS-232 Description: DB-9 Male RS-232 ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 11 COM Port Assignments Serial Port Assignment RS485 Expansion Port COM1 RS-485 1 COM2 (USART1) RS-485 2 COM3 (USART2) RS-232 COM4 RS-485 Termination and Pull-up/Pull-down Resistors ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 12 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. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 13: Open Collector Outputs

    Terminal Block 10 position 3.5mm spacing Mates with: Weco 110-A-111/10 10 position screw-terminal plug (provided) Signal Output 1 Output 2 Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 OCVCC ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 14 DOUT1 DOUT2 DOUT3 DOUT4 DOUT5 DOUT6 DOUT7 DOUT8 SN74HCT244DW OCVCC ULN2803 Box HDR 10p ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 15: Rs-485 Expansion

    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 9-30VDC Source 9-30VDC Source Not connected 485+ 485- Common (GND) Common (GND) Common (GND) ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 16 Weco Part Number: 110-M-111/04 Description: Terminal Block 4 position 3.5mm spacing Mates with: Weco 110-A-111/04 4 position screw-terminal plug (provided) Signal RS-485 (+) 485+ RS-485 (-) 485- Common (GND) SHIELD Shield (GND) ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 17: Debug Port

    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.) Connector: DBGU Description: DB-9 Male DBGU (RS-232 levels) ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 18: Reset Button

    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 button and assert a reset to the processor and peripherals. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 19: Software

    PC (See Figure 1.) Figure 1. Installation Wizard After installation, the package can be found in Windows by clicking Start à 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.
  • Page 20 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 system you are using – Windows 7, Vista, or XP – the setup experience will vary. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 21: Windows Device Center

    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.) Figure 4. Device Center File Management ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 22: Windows Activesync For Xp

    (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.) Figure 6. ActiveSync New Partnership Dialog ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 23: Connection Complete

    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 SL9257 8/2015...
  • Page 24: Programming Using The .Net Compact Framework

    CAN bus, and the serial ports. A complete list of the API documentation can be found in Windows by clicking Start à All Programs à Sealevel Systems à R9 Development à Talos Documentation.html.
  • Page 25 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.) Figure 9. Visual Studio Add Smart Device Dialog ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 26 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.) Figure 11. Adding References to Project ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 27 An ‘Add Reference’ dialog will appear. Click on the ‘Browse’ tab then search for the installed library path “C:\Program Files\Sealevel Systems\R9 Development\Assemblies”. 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.
  • Page 28 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 ‘..\R9 Development\Samples\VB.NET’. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 29: Application Debugging

    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...
  • Page 30: Attach The Debugger

    (See Figure 15.) 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 SL9257 8/2015...
  • Page 31 Now select the “Connect to Device” icon to initiate synchronization between Visual Studio and the HazPAC R9-8.4 device. (See Figure 16.) Figure 16. Connect to Device Icon You should now see a connection dialog appear. (See Figure 17.) Figure 17. Connection Status Dialog ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 32: Breakpoints

    A breakpoint may be set by selecting a line and pressing the "F9" hotkey. (See Figure 18.) Figure 18. Breakpoint Selection To begin debugging the application, click the "Start Debugging" button. (See Figure 19.) Figure 19. Run Debugger Icon ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 33 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.) Figure 21. Examining Program Variables ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 34: Watching Variables

    "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. Figure 22. Watch View ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 35: Target Deployment And Execution

    <?xml version="1.0" encoding="utf-8" ?> <programs> <program name="sample1.exe" arguments="/i 1019 /w JSmith" /> <program name="sample2.exe" arguments="-e 2000" /> <program name="sample3.exe" arguments="/help" /> </programs> Figure 24. startup.xml ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 36: Boot Sequence

    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”...
  • Page 37 (baud) equal to 115200. Set Data bits to 8, Stop bits to 1, Parity to None, and Flow control to None. (See Figure 25.) Figure 25. PuTTY Serial Configuration ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 38 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.) Figure 26. PuTTY Session Configuration ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 39 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.) Figure 28. Eboot Configuration Output ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 40 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. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 41: Upgrading The Os Runtime Image On Nand Flash

    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 SL9257 8/2015...
  • Page 42 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.) ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 43 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). Figure 34. Programming NAND (COM17) ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 44 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 SL9257 8/2015...
  • Page 45: Network Configuration

    This is a test string!234567609 [Multi-line String] strings separated by \r\n A\r\nNew\r\nMulti-liner [Version] A version number 1.2.3.4 [Boolean] A binary state True / False [MACAddress] A hardware identifier 00-0A-0B-16-11-1A [IPAddress] An IPv4 network address 192.168.0.100 ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 46 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 SL9257 8/2015...
  • Page 47 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-1A).
  • Page 48 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. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 49: Appendix A - Resources

    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(v=winembedded.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 SL9257 8/2015...
  • Page 50: Appendix B - Application Debugging Over Ethernet

    Device toolbar. See below. On the “Device Options” dialog, select the “Windows CE” platform and click the “Properties…” button. See below. On the “Windows CE Device” properties dialog click the “Configure…” button. See below. ©Sealevel Systems, Inc. HazPAC R9-8.4 Manual SL9257 8/2015...
  • Page 51 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...
  • Page 52: Appendix E - How To Get Assistance

    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.’...
  • Page 53: Warranty

    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 resulting from neglect, abuse, accidents, or acts of nature are not covered under this warranty.

Table of Contents