IC nexus SBC21 Series User manual

Quick Start Guide SBC21/NSD21/EC 21
iMX.6 Processor Series
SBC21 / EC21 / NSD21
Quick Start Guide
Copyright 2000 –2014 IC Nexus Corporation. All rights reserved

Quick Start Guide SBC21/NSD21/EC 21
Page 2
Release Notes
Version
Release Date
Notes
1.0
June 2013
Initial release
2.0
October 2013
Correct some typo errors
3.1
October 2013
Modify some error
4.0
November 2013
Add console connection setting
Add Ubuntu root password
5.0
December 2013
Modify u-boot arguments
6.0
January 2014
Add NSD2105
7.0
February 2014
Add the procedure of updating firmware
via USB dongle or MicroSD
7.1
February 2014
Remove WiFi Manager
8.0
March 2014
Add null modem adapter
9.0
April 2014
Modify Ubuntu touch re-calibration
guideline
9.1
May 2014
Modify P.12
Remove null modem adapter in package
9.2
July 2014
Add SBC2000 (P.4, 7, 9, 12)
9.3
August 2014
Sleep mode on Android & Ubuntu
9.4
October 2014
Separately list D200 product (P.4)
Disclaimer
This documentation is provided for use with IC Nexus products. No license to IC
Nexus property right is granted. IC Nexus assumes no liability, provides no warranty
either expressed or implied relating to the usage, or intellectual property right
infringement that may result from its use.
IC Nexus provides this document without any warranty of any kind, expressed or
implied, including, but not limited to, its particular purpose. IC Nexus may make
changes to this document without notice.

Quick Start Guide SBC21/NSD21/EC 21
Page 3
Table of Contents
TABLE OF CONTENTS.................................................................................... 3
1. PACKAGE CONTENTS......................................................................... 4
1.1 Single Board Computer........................................................................... 4
1.2 NSD Smart Display.................................................................................4
1.3 All-in-One Embedded Computer.............................................................. 4
1.4 Other specially: SBC2000 / NSD2105...................................................... 4
2. OVERVIEW.......................................................................................... 5
2.1 SBC21 Single Board Computer ............................................................... 5
2.2 NSD21 Smart Display............................................................................. 6
2.3NSD2105 Smart Display ......................................................................... 7
2.4EC21 All-in-One Embedded Computer..................................................... 8
3. SETUP................................................................................................. 9
3.1 Connecting the Debug Port to PC............................................................ 9
3.2 Start Running ....................................................................................... 14
3.3 Connecting to the PC (for Android 4.2)................................................... 16
3.4Update firmware via USB dongle (for Android 4.2) .................................. 26
4. RUNNING SOFTWARE ........................................................................ 28
4.1 Android................................................................................................ 28
4.2 Ubuntu Linux........................................................................................ 33
5. TOUCH PANEL CALIBRATION............................................................. 38
5.1 Android RTP re-calibrate procedure....................................................... 38
5.2 Ubuntu RTP re-calibrate procedure........................................................ 40

Quick Start Guide SBC21/NSD21/EC 21
Page 4
1. Package Contents
1.1 Single Board Computer
Single board computer include SBC2100.
Item
Notes
SBC2100 Board
Power Adapter
RS232 IDC cable
Pin header for DB9
CD
Software and User's Manual
1.2 NSD Smart Display
NSD smart display products include NSD2107, NSD2110, NSD2115, and NSD2122.
Item
Notes
NSD21xx
Power Adapter
RS232 IDC cable
Pin header for DB9
CD
Software and User's Manual
1.3 All-in-One Embedded Computer
All-in-One embedded computer products include EC2107 and EC2110.
Item
Notes
EC21xx
Power Adapter
RS232 IDC Cable
Pin Header for DB9
CD
Software and User's Manual
1.4 Other specially: SBC2000 / NSD2105
This kind of products is only include SBC2000 and NSD2105.
Item
Notes
NSD21xx
Power Adapter
RS232 IDC cable
Pin header for DB9
C220 Debug Board
SBC2000 and NSD2105 only
CD
Software and User's Manual

Quick Start Guide SBC21/NSD21/EC 21
Page 5
2. Overview
2.1 SBC21 Single Board Computer
Top View
Bottom View

Quick Start Guide SBC21/NSD21/EC 21
Page 6
2.2 NSD21 Smart Display
Android Enabled Device
Ubuntu Enabled Device

Quick Start Guide SBC21/NSD21/EC 21
Page 7
2.3 NSD2105 Smart Display
Android Enabled Device
Ubuntu Enabled Device
Bottom View
(The based board is SBC2000)

Quick Start Guide SBC21/NSD21/EC 21
Page 8
2.4 EC21 All-in-One Embedded Computer
Ubuntu enabled device showing ports on each side
Android enabled device with wireless antennas attached

Quick Start Guide SBC21/NSD21/EC 21
Page 9
3. Setup
3.1 Connecting the Debug Port to PC
During development, it is a good idea to connect using the debug port.
There are different port location between SBC2000/NSD2105 and other 2100 series.
SBC2000/NSD2105
Find the debug port on SBC2000/NSD2105
C220 debug board and the cable on it:

Quick Start Guide SBC21/NSD21/EC 21
Page 10
Connect the cable on C220 debug board to the debug port of SBC2000/NSD2105
Connect a RS232 IDC cable to C220 debug board

Quick Start Guide SBC21/NSD21/EC 21
Page 11
Other 2100 series (including SBC2100, NSD2107/10/15/22, EC2107/10)
Find the debug port on SBC2100 series board
Connect a RS232 IDC cable to the debug port

Quick Start Guide SBC21/NSD21/EC 21
Page 12
Connect to PC
Turn on the PC, run the terminal program, and open the COM port. We use TeraTerm.
You can find this tool and the user guide on our wiki page online.
Console / Debug Port Connection Diagram
UART1 is dedicated as the debug port. UART1 default settings are Baud Rate
115200, 8 data bits, no parity, 1 stop bit and no flow control.
A DB9 null modem cable (or adapter) is required when you want to connect UART1
to a PC with terminal emulation software such as TeraTerm.
DB9 null modem cable
For SBC2100
For SBC2000/NSD2105 only

Quick Start Guide SBC21/NSD21/EC 21
Page 13
Pin Assignment: RS232 IDC Cable and Null Modem Adapter
We prefer to use this kind of adapter if your DB9 cable is straight through cable. (Not
cross-connected)
Console box header (CN3 on PCB) pin assignment
RS232 IDC cable: pin header for DB9
Null modem adapter: male-to-male for DB9

Quick Start Guide SBC21/NSD21/EC 21
Page 14
3.2 Start Running
After connecting to the debug port, please power on the device to start.
1. Before logging into the system, you can enter into the U-Boot environment to
check some variables. After powering on, quickly hit the Enter key within 3
seconds when you see the message below.
Hit any key to stop autoboot: 3
2. Type ‘?’or ‘help’ to get all U-Boot commands and more details.
3. Type printev on the U-Boot shell to see the current environmental variables
> printenv
4. Use the command below to modify an environment variable.
> setenv variable 'string value'
If you need to change your output display, do the following command to set the
variable “panel”; otherwise, we do not recommend you doing this step.
Android
//HDMI (1920 x 1080)
> setenv panel 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off
cea'
//7” LCD-PT (800 x 480) with RTP
> setenv panel 'video=mxcfb0:dev=lcd,LCD-WVGA,if=RGB24,bpp=32 video=mxcfb1:off'
//7” LCD-AWT (800 x 480) with RTP
> setenv panel 'video=mxcfb0:dev=lcd,AWT-WVGA,if=RGB24,bpp=32 video=mxcfb1:off'
Ubuntu
//HDMI (1920 x 1080)
> setenv panel 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off'

Quick Start Guide SBC21/NSD21/EC 21
Page 15
//7” LCD (800 x 480) with RTP
> setenv panel 'video=mxcfb0:dev=lcd,LCD-WVGA,if=RGB24 video=mxcfb1:off'
//7” LCD-AWT (800 x 480) with RTP
> setenv panel 'video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB24 video=mxcfb1:off'
For other LCD / LVDS panels we support, please contact to our sales in order to
get right string value.
5. Use the command saveenv to save the environment variables that you have
modified. If not saved, then any changes to the variables will not persist after a
restart.
>saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...Writing to SPI flash...........................SUCCESS
done
6. Use the command boot to start the operating system.
>boot

Quick Start Guide SBC21/NSD21/EC 21
Page 16
3.3 Connecting to the PC (for Android 4.2)
For Android systems, connect to a Windows PC by following the steps below:
Install Android SDK
Connect to PC with USB OTG cable
Install USB driver
3.3.1 Installing the Android SDK
This chapter is intended for developers to quickly setup an EC/NSD/SBC and know
how to launch EC/NSD/SBC demo applications from a host PC via a USB interface.
The host PC requires a Windows system (for example Windows XP or 7) and at least
a few gigabytes free disk space. The first time you launch a demo app from the host
PC, you will have to install a driver into the host PC.
Follow the steps below to install the driver and make the hardware connection:
1. Insert the software DVD into the host PC and find theAndroid SDK folder. Copy to
the host PC in a folder named <SDK>
2. Add the <SDK> folders to the path environment variable of the host PC:
;<SDK>\tools;<SDK>\platform-tools
3. The following figures illustrate the steps to add a path on a Windows 7 PC:
Computer > Properties > Advanced system settings > Environment
Variables… > Path > Edit…
Screenshots for Windows 7

Quick Start Guide SBC21/NSD21/EC 21
Page 17

Quick Start Guide SBC21/NSD21/EC 21
Page 18
3.3.2 Connecting to the PC with a USB OTG cable
Connect the power adapter to an EC21/NSD21/SBC21 power jack and plug the
power adapter to an AC outlet.
Wait for the EC21/NSD21/SBC21 to boot up and show a standard desktop on the
LCD screen. Astandard Android desktop is similar to the following figure.
Connect a USB cable to EC21/NSD21/SBC21 mini-USB connector.

Quick Start Guide SBC21/NSD21/EC 21
Page 19
Connect the USB cable to a USB port on the host PC.
The following diagram shows a USB connected EC/NSD/SBC and a Windows PC.
Windows PC
USB OTG
cable
USB host
Connector
Mini-USB
Connector

Quick Start Guide SBC21/NSD21/EC 21
Page 20
3.3.3 Installing the USB Driver (Android ADB Interface)
When first connected, the host PC will prompt you about detecting an unknown USB
device and ask you to install a driver. Choose to install software from a specific
location.
Find the USB driver in the software DVD and copy it to the host PC. Add the path of
Android USB driver as the search path for the wizard:
;D:\android-sdk-windows\extras\google\usb_driver
After the driver is successfully installed, you will find an “Android Phone”with the
Android ADB interface in Device Manager.
Screenshots for Windows 7
This manual suits for next models
11
Table of contents
Other IC nexus Desktop manuals