Page 3
SD/MMC Cards ..........................28 RS-485 Expansion ........................... 29 Power ............................... 30 LED Indicators ..........................31 Software .............................. 32 SBC-R9 Quick Start .......................... 32 Windows Device Center ........................34 Windows ActiveSync for XP ......................35 Connection Complete ........................36 Application Development ....................... 37 Application Debugging ........................
Page 4
Appendix A – Resources ........................70 Books ............................... 70 Web Sites ............................70 Appendix B – SBC-R9 Connector Reference ..................71 Appendix C – Application Debugging over Ethernet ............... 72 Appendix D – CAD Drawing ......................74 Appendix E – How to Get Assistance ....................77 Technical Support ...........................
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.
Before You Get Started 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 ...
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.
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. USB Type A to USB Type B, 72" in Length - Device Cable (Item# CA179) The CA179 is a 72"...
Page 13
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 14
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...
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 18
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 24
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 26
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 28
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 29
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 30
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.
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: Description: Dual Stacked LED Indicators...
Page 32
Verify that the accompanying SD Card (located on the bottom card slot A (J15) of the SBC-R9) is correctly inserted. The contents of the SD Card will allow the SBC-R9 to run Windows CE 6.0 OS when power is applied to the board.
Page 33
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 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.
Page 34
Mobile Device Center software manually then running their setup will achieve the same result. (See Appendix A.) After installation, a negotiation will begin between the PC and the SBC-R9 board and the device center connection screen will appear. (See Figure 4.) Figure 4.
Page 35
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 If your host PC is running Windows XP, ActiveSync is required to establish connection to the SBC-R9.
Page 36
Using your mouse, select “No” and then select “Next”. The ActiveSync main dialog will appear. Click the “Explore” icon. This action opens a standard Windows Explorer where the default file contents of the SBC-R9 can be read or written. (See Figure 8.) Figure 8. ActiveSync Main Dialog screen You are now ready to set up a complete development environment for building and debugging smart device applications and libraries.
Windows 6.0 CE has created an ideal environment to develop a new generation of embedded products around the SBC-R9. 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 40
“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".
Page 41
Now that the Talos Framework has been referenced, you have access to all the I/O points exposed on the SBC-R9 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.
Page 42
SBC-R9 Quick Start section. 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 46
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 48
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 49
NK.bin 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 52
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 53
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 56
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. Using the device file explorer, navigate to the “Storage Card” folder to view the SDCARD contents. (See Figures 34/35.)
Page 57
(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 58
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. (See Figure 37.) Figure 37.
Page 62
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. TR134 power supply 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 65
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 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
For security purposes this value cannot be read once it has been set. 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.
10 to 90% R.H. Non-Condensing 10 to 90% R.H. Non-Condensing 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.
Appendix B – SBC-R9 Connector Reference The following table details the connectors, jumpers, and test points located on the SBC-R9. The connectors, jumpers, and test points are labeled by reference designator on the board silkscreen. Reference Signal Description Designator (8) 12-bit analog inputs...
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.’...
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.
Need help?
Do you have a question about the SBC-R9 and is the answer not in the manual?
Questions and answers