SeaLevel SBC-R9 User Manual

Arm9 risc single board computer
Hide thumbs Also See for SBC-R9:

Advertisement

Quick Links

SBC-R9 ARM9 RISC Single Board Computer
User Manual | Relio R91001-SBC
1
© Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for SeaLevel SBC-R9

  • Page 1 SBC-R9 ARM9 RISC Single Board Computer User Manual | Relio R91001-SBC © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 2: Table Of Contents

    APPLICATION DEBUGGING..........................41 SPECIFICATIONS ............................... 70 APPENDIX A – RESOURCES..........................71 APPENDIX B – SBC-R9 INTERNAL CONNECTOR REFERENCE ............... 72 APPENDIX C – APPLICATION DEBUGGING OVER ETHERNET ............... 73 APPENDIX D – CAD DRAWING ......................... 75 APPENDIX E – HOW TO GET ASSISTANCE ..................... 76 APPENDIX F –...
  • Page 3: Safety Instructions

    Keep work area free of non-conductive materials such as ordinary plastic assembly aids and • Styrofoam. Use field service tools such as cutters, screwdrivers, and vacuum cleaners which are conductive. • Always place drives and boards PCB-assembly-side down on the foam. • © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 4: Introduction

    Introduction The SBC-R9 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 extend the possible uses beyond traditional ARM applications.
  • Page 5: Before You Get Started

    Before You Get Started What’s Included The SBC-R9 is shipped with the following items. If any of these items are missing or damaged, please contact Sealevel for replacement. SBC-R9 ARM9 Embedded RISC Single Board Computer • • SD Card with CE runtime image, Talos .NET Framework, application samples, and documentation •...
  • Page 6 The SBC-R9 QuickStart Kit (Item# SBC-R9-KT) is available, which includes the most common accessories. For applications with specialized hardware requirements, developers can use the SBC-R9 as a platform for application development while Sealevel designs a customized target system specific to the user’s application requirements.
  • Page 7 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 (864) 843-4343. Cables USB Type A to USB Type B, 72"...
  • Page 8 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. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 9: Product Overview

    Eight Optically Isolated Inputs (5 – 24V) Eight Open-Collector Outputs (5 – 30V; 3 with PWM) Eight Analog Inputs (12-bit or 16-bit) Two 32-bit Quadrature Counters INDICATORS Dual LED Indicators for Power and Status © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 10 Block Diagram Appendix B for the Connector Reference Table, which details the connectors, jumpers, and test points located on the SBC-R9. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 11: Technical Description

    The SBC-R9 includes a 10/100 BaseT Ethernet interface accessed via the RJ45 connector located at (J14). The RJ45 port on the left side of the SBC-R9 is a RS-485 Expansion Port (labeled J5) and is NOT an Ethernet port. Damage to Ethernet networking equipment can result if connected to the RS-485 RJ45 connector.
  • Page 12 The SBC-R9 provides two USB 2.0 host ports, and one device port. The host USB ports are located at (J7) and (J8). The device USB port is located at (J13). Connector: J7, J8 Manufacturer: Molex Part Number: 35362-0450 Description: 2.00mm (.079") Pitch Sherlock™ Wire-to-Board Header, Vertical, with...
  • Page 13 LCD and Touchscreen Controllers A variety of LCDs can be directly controlled by the SBC-R9’s on-board LCD controller. All LCD power and control signals are available on header connector P2. Connector: Manufacturer: Samtec Part Number: TFML-125-02-S-D Description: Locking terminal strip, 50 pos, 0.050” pitch Mates with: Samtec SFML-125-T2-S-D or Samtec TFMDL-25-T-03.00...
  • Page 14 © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 15 Serial Debugging Debug the R9 through the RS-232 debug port. Connector: Manufacturer: Amp/Tyco Part Number: 9-146278-0-04 Description: Header, 0.100” Polarized 4 pos, pin 3 Removed RS-232 © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 16 Serial Communications Connect to a variety of serial peripherals via the SBC-R9’s software configurable RS-232/422/485 ports. Each port is located on connector (P4). Connector: Manufacturer: Sullins Part Number: SBH11-PBPC-D20-ST-BK Description: Box Header, 0.100” Polarized 40 pos (2x20) Mates with: SFH213-PPPC-D20-ID-BK-M181 or equivalent...
  • Page 17 COM Port Assignments Serial Port Assignment RS232 Debug Port COM0 RS485 Expansion Port COM1 SERIAL1 COM2 SERIAL2 COM3 SERIAL3 COM4 SERIAL4 COM5 © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 18 CA273 Accessory Cable The DB9 pin out is achieved using the CA273 accessory cable. The 40-pin connector is in the first column and corresponding DB9 connectors are in the second column. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 19 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 Signal CAN High CAN Low Shield © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 20 Input 1A Input 1B Input 2A Input 2B Input 3A Input 3B Input 4A Input 4B Input 5A Input 5B Input 6A Input 6B Input 7A Input 7B Input 8A Input 8B © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 21 © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 22 Open Collector Outputs Directly control 8 outputs via the SBC-R9’s open-collector outputs found on connector (P6). 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.
  • Page 23 © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 24 Analog Inputs The SBC-R9 base configuration includes a 12-bit ADC. Software programmable input ranges are 0V to 5V, 0V to 10V, ±5V or ±10V. Interface a variety of transducers and other analog signals via eight 12-bit analog inputs located on connector (P1). For applications requiring higher resolution, the board can be ordered preconfigured with a 16-bit A/D converter.
  • Page 25 Manufacturer: Sullins Part Number: SBH11-PBPC-D05-ST-BK Description: Box Header, 0.100” Polarized 10 pos (2x5) Mates with: Sullins SFH213-PPPC-D05-ID-BK-M181 or equivalent QUADRATURE COUNTER 1 Signal #INDEX 3.3VDC QUADRATURE COUNTER 2 Signal #INDEX 3.3VDC © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 26 SD/MMC Cards The SBC-R9 provides two SD/MMC Card slots, Slot A (bottom of board) and Slot B (top of board), located on the right side of the board. Each slot will accept standard-capacity SD/MMC Cards up to 2GB. SD/MMC Card slot A may be used for booting.
  • Page 27 RS-485 Expansion The SBC-R9 provides a RS-485 Expansion Port. The port is available via a RJ-45 connector (J5), as well as via a Molex 4-pin vertical 2mm locking header (J10). This offers two convenient options for adding additional expansion modules from the SeaI/O product line.
  • Page 28 Power The SBC-R9 can be powered with the Sealevel TR134. Connector: Manufacturer: Molex Part Number: 09-65-2028 Description: 3.96mm Pitch Friction Lock Header Mates with: Molex 09-50-1021 Be sure that you connect the power lead to the proper pin. Reversing the polarity of the power input will damage your SBC-R9.
  • Page 29 LED Indicators The SBC-R9 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:...
  • Page 30: Installation

    Only users running Windows 7 or newer should utilize these instructions for accessing and installing the appropriate driver via Sealevel’s website. If you are utilizing an operating system prior to Windows 7, please contact Sealevel by calling 864.843.4343 or emailing support@sealevel.com...
  • Page 31 Power Pin- section. Apply power to the SBC-R9 by connecting the TR134 Molex connector to the SBC-R9 (P3) connector, noting proper polarity. Attach the other end of the TR134 into a 120VAC wall outlet. (See Figure 2) Figure 2 – Connect the TR134 Molex connector to the SBC-R9 (P3) connector...
  • Page 32 Use a standard USB device cable and connect the Type B connector to the SBC-R9. (See Figure 3.) Connect Type A connector into the host PC. Figure 3 – Connect the Type B connector to the SBC-R9 You are now ready to set up a USB communication interface between the host PC and the SBC-R9 board.
  • Page 33 Mobile Device Center software manually, then running their setup will achieve the same result. (See Appendix After installation, a negotiation will begin between the PC and the SBC-R9 board and the device center connection screen will appear. (See Figure 4.) Figure 4- Device Center connected screen Using your mouse, click “Connect without setting up your device”.
  • Page 34 This action opens a standard Windows Explorer where the default file contents of the SBC-R9 can be read or written to. (See Figure 6.) Figure 6 – Contents of SBC-R9 Windows ActiveSync for XP If your host PC is running Windows XP, ActiveSync is required to establish connection to the SBC-R9.
  • Page 35 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. R91001-SBC Manual | SL9210 01/2023...
  • Page 36: Application Development

    CE has created an ideal environment to develop a new generation of embedded products around the SBC- Our Talos Framework allows access to the more specific I/O sections of the SBC-R9 development board such as analog and digital I/O points, CAN bus, quadrature counter inputs, and the multi-electrical interface serial ports.
  • Page 37 Select "Windows CE" for the target platform, .NET Compact Framework version 3.5 and select the "Console Application" icon for the template. (See Figure 10.) Figure 10 - Visual Studio Add Smart Device dialog © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 38 We can now add the references to the Talos Framework. Right click on the “References” and select the "Add Reference…" selection. (See Figure 12.) Figure 12 - Adding References to Project © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 39 “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 SBC-R9 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 13.)
  • Page 40 Figure 15 - Choose Windows CE Device and Deploy After the deployment phase the “Hello World” message will appear on the Debug Serial console output. Examples can be found from the installation directory under ‘..\R9 Development\Samples\C#’ and ‘..\R9 Development\Samples\VB.NET’. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 41: Application Debugging

    R9 Quick Start section. Debugging an Application Once the SBC-R9 has been successfully attached to your PC, it is easy to begin debugging an application on the SBC-R9. This section will demonstrate how to attach the Microsoft Visual Studio debugger to the SBC-R9, show the use of breakpoints in the debugger, and show how to access useful information while debugging an application.
  • Page 42 Figure 16 - Device Target Selection If you would like to Use the faster Ethernet connection for debugging instead of the USB connection, refer to Appendix C – Application Debugging over Ethernet. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 43 Now select the “Connect to Device” icon to initiate synchronization between Visual Studio and the SBC-R9 device. (See Figure 17.) Figure 17 - Connect to Device icon © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 44 A breakpoint may be set by selecting a line and pressing the "F9" hotkey. (See Figure 19.) Figure 19 - Breakpoint selection To begin debugging the application, click the "Start Debugging" button. (See Figure 20.) Figure 20 - Run Debugger icon © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 45 Figure 21. Target Deployment dialog Once the application is deployed to the SBC-R9, 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.
  • Page 46 "Add Watch". Each addition appends a tab to the “Watch n” window where n is incremented for each variable added. (See Figure 23.) Each watch window provides a convenient tree type structure for viewing hierarchical class variables. Figure 23 - Watch view © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 47 The first step is transferring your application to a suitable directory on the SDCARD or on-board NAND Flash. To accomplish this you will need to establish connectivity via Mobile Device Center or ActiveSync as outlined in the SBC-R9 Quick Start section above.
  • Page 48 OS File Restoration In the event that Sealevel produces updated OS file versions, or a backup is desired, the OS files will need to be copied to the root directory of an SDCARD or programmed to the NAND Flash. There are a variety of ways to copy files to the SDCARD;...
  • Page 49 (baud) equal to 115200. Set Data bits to 8, Stop bits to 1, Parity to None, and Flow control to None. (See Figure 26.) Figure 26- PuTTY Serial configuration © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 50 Next select Serial for the connection type. Type a name for this session under “Saved Sessions”, then press the “Save” button. (See Figure 27.) Figure 27- PuTTY Session configuration © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 51 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 board. Press the reset button on the SBC-R9 to display the Ethernet boot loader configuration screen. (See Figure 28.) When the unit boots, the following menu on the debug port terminal will appear (no user input is required for booting): “Press [ENTER] to download now or [SPACE] to cancel.
  • Page 52 Modifying any of these settings may render your SBC-R9 unbootable. When upgrading an existing OS runtime stored in the NAND Flash, 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.
  • Page 53 Choose “Open folder to view files”. If the “AutoPlay” feature has been disabled, navigate to the memory card reader manually. (See Figure 31). Figure 31-AutoPlay screen The OS runtime image consists of three binary (.bin) files as demonstrated below. (See Figure 32). Figure 32-SDCARD File Contents © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 54 Select the "Copy and Replace" option to over-write the existing OS runtime image. The new OS runtime image will be loaded the next time the device is booted with the SDCARD. (See Figure 33.) Figure 33-Copy and Replace © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 55 USB Connection: Using Windows Mobile Device Center or ActiveSync Another way to upgrade the OS runtime image is to connect via Windows Mobile Device Center or Active Sync; for instructions on installing Windows Mobile Device Center or ActiveSync refer to the SBC-R9 Quick Start section above.
  • Page 56 (See Figure 36.) Figure 36-Copy and Replace Select the "Copy and Replace" option to over-write the existing OS runtime image. Reboot the SBC-R9 once the file has been copied. The new OS runtime image will be loaded on bootup.
  • Page 57 FTP Connection Use an FTP program to connect to the SBC-R9 and upload the new OS runtime image to the SDCARD. FileZilla (See Appendix A), an open-source FTP client, is used in the example below. By default, FTP is open to anonymous access with no password needed.
  • Page 58 Select the "Storage Card" folder for the remote site. (See Figure 38.) Figure 38-Select Storage Card © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 59 Figure 39-Select boot files to update You may be asked how to proceed when replacing existing files. Select the “Overwrite” radio button and click “OK”. (See Figure 40.) Figure 40-Over-write files © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 60 Once the files have been uploaded, (See Figure 41.) reboot the device. The new OS runtime image will be loaded on bootup. Figure 41-Uploading boot files © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 61 Once the NAND Flash has been erased, use a standard USB device cable, and connect the Type B connector to the SBC-R9. Connect Type A connector into the host PC. (See Figure 42.) Figure 42-TR123 tinned leads and Type B USB connector In Microsoft Windows 7, the device is recognized as a GPS camera and will typically enumerate as a COM port.
  • Page 62 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 45.) Figure 45- AT91 COM Port © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 63 MAC address in dashed notation (00-0A-0B-16-12-34). The application should be executed on the device 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. R91001-SBC Manual | SL9210 01/2023...
  • Page 64 Network Configuration The Windows CE that runs on the SBC-R9 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.
  • Page 65 The OS element contains a string representation of the Operating System name. This element must be a child of the System element. In the case of R9 products, this will be equivalent to "WinCE". © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 66 - READ/WRITE [MULTI-LINE STRING] This element may contain a multi-line string (\r\n separated) to identify the location of the device Owner. This element must be a child of the System element. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 67 This element must be a child of the Ethernet element. 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 68 Wifi element. 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. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 69 <SEALEVEL> - STRUCTURE The Sealevel element contains a list of Sealevel internal configuration parameters used for Sealevel supplied software plug-ins. This element must be a child of the Configuration element. The plug-in application should contain documentation for the configuration parameters used by that plug-in.
  • Page 70: Specifications

    10 to 90% R.H. Non-Condensing Manufacturing All Sealevel Systems Printed Circuit boards are built to UL 94V0 rating and are 100% electrically tested. These printed circuit boards are solder mask over bare copper or solder mask over tin nickel. © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 71: 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. R91001-SBC Manual | SL9210 01/2023...
  • Page 72: Appendix B - Sbc-R9 Internal Connector Reference

    Appendix B – SBC-R9 Internal Connector Reference The following table details the connectors, jumpers, and test points located inside the SBC-R9. The connectors, jumpers, and test points are labeled by reference designator on the board silkscreen. Reference Signal Description Designator...
  • Page 73: Appendix C - 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. R91001-SBC Manual | SL9210 01/2023...
  • Page 74 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. R91001-SBC Manual | SL9210 01/2023...
  • Page 75: Appendix D - Cad Drawing

    Appendix D – CAD Drawing © Sealevel Systems, Inc. R91001-SBC Manual | SL9210 01/2023...
  • Page 76: Appendix E - How To Get Assistance

    If possible, please have the adapter installed in a computer ready to run diagnostics. 3. Sealevel Systems provides an FAQ section on its web site. Please refer to this to answer many common questions. This section can be found at http://www.sealevel.com/faq.htm...
  • Page 77: Appendix F - Troubleshooting

    If these steps do not solve your problem, please call Sealevel Systems’ Technical Support, (864) 843-4343. Our technical support is free and available from 8:00 A.M.- 5:00 P.M. Eastern Time Monday through Friday.
  • Page 78: 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