BlueBoard LPC-214X
BlueBoard LPC-214X
BlueBoard LPC-214X
USER MANUAL
BlueBoard-LPC214X
Revision 1.3 1
User Manual: BlueBoard-LPC214X
Revision 1.3
Author: Ashwin Athani
For any questions, concerns, or issues submit them to [email protected]
NGX Technologies Pvt. Ltd. provides the enclosed product(s) under the following conditions:
This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION,
EDUCATION OR EVALUATION PURPOSES ONLY and is not considered by NGX Technologies Pvt. Ltd to be a
finished end-product fit for general consumer use. Persons handling the product(s) must have electronics
training and observe good engineering practice standards. As such, the goods being provided are not
intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective
considerations, including product safety and environmental measures typically found in end products that
incorporate such semiconductor components or circuit boards. This evaluation board/kit does not fall within
the scope of the European Union directives regarding electromagnetic compatibility, restricted substances
(RoHS), recycling (WEEE), FCC, CE or UL, and therefore may not meet the technical requirements of these
directives or other related directives.
The user assumes all responsibility and liability for proper and safe handling of the goods. Further,
the user indemnifies NGX Technologies from all claims arising from the handling or use of the goods. Due to
the open construction of the product, it is the user’s responsibility to take any and all appropriate
precautions with regard to electrostatic discharge.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO
THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES.
NGX Technologies currently deals with a variety of customers for products, and therefore our
arrangement with the user is not exclusive. NGX Technologies assumes no liability for applications
assistance, customer product design, software performance, or infringement of patents or services
described herein.
Please read the User’s Guide and, specifically, the Warnings and Restrictions notice in the User’s
Guide prior to handling the product. This notice contains important safety information about temperatures
and voltages.
No license is granted under any patent right or other intellectual property right of NGX Technologies
covering or relating to any machine, process, or combination in which such NGX Technologies products or
services might be or are used.
Mailing Address:
st st
#142, 1 Floor, 1 ‘C’ Cross,
th
6 ‘B’ Main, Remco Layout,
nd
Vijaynagar 2 Stage
Bangalore
India – 560040
Revision 1.3 2
User Manual: BlueBoard-LPC214X
Change Log:
Revision 1 to Revision 1.1:
• Changed the product image
• Added a note in section 3.2.8 for the SD/MMC connector regarding the card file format
• Updated the ‘USB Virtual COM Port Installation for Windows XP’ section
Revision 1.3 3
User Manual: BlueBoard-LPC214X
Table of Contents
1 INTRODUCTION ............................................................................................................5
1.1 BLUEBOARD FEATURES ....................................................................................................... 5
2 GET GOING....................................................................................................................6
2.1 SYSTEM REQUIREMENTS ......................................................................................................6
2.2 STARTING OFF .................................................................................................................. 6
2.2.1 Connecting the hardware ....................................................................... 6
2.2.2 Programming BlueBoard ........................................................................ 6
3 BLUEBOARD HARDWARE ...............................................................................................8
3.1 FUNCTIONAL OVERVIEW ......................................................................................................8
3.2 HARDWARE CONFIGURATIONS ............................................................................................... 9
4 BLUEBOARD UTILITIES ...............................................................................................18
4.1 OVERVIEW .................................................................................................................... 18
4.2 STARTING OFF ................................................................................................................ 18
5 TROUBLESHOOTING ....................................................................................................19
5.1 USB VIRTUAL COM PORT INSTALLATION FOR WINDOWS XP ......................................................... 19
6 SCHEMATICS ...............................................................................................................22
8 KNOWN ISSUES...........................................................................................................24
Revision 1.3 4
User Manual: BlueBoard-LPC214X
1 INTRODUCTION
Revision 1.3 5
User Manual: BlueBoard-LPC214X
2 Get going
Once you have all these accessories connected to the BlueBoard you can run through a simple
test to verify that all the peripherals are working fine. Please refer to the ‘Hardware Configuration’
section for testing all the peripherals. It is highly recommended that you test all the peripherals as
soon you receive the BlueBoard. The BlueBoard is shipped with the pre-loaded firmware which can
test all the peripherals.
BlueBoard can be programmed through wiggler clone JTAG or through serial port using ‘Flash
Magic’. ‘Flash Magic’ is a freeware windows utility used download the hex file format onto the
BlueBoard. Flash Magic can be downloaded from here http://www.flashmagictool.com/. If your PC
does not have a serial port; use a USB to serial converter to download the hex file using the Flash
Magic utility. For programming with JTAG your system should have a parallel port and the supporting
IDE which can communicate to the processor core over JTAG interface. We have successfully tested
BlueBoard with wiggler clone JTAG and CrossWorks IDE. A LINUX utility to download the hex file can
be found here http://www.pjrc.com/arm/lpc2k_pgm/.
1. Auto Mode:
To program in Auto mode you need a full serial cable. Set the jumper to pins 2 & 3 of
J26 and connect the full serial cable to UART0 (J5). When BlueBoard is powered ON black boxes will be
Revision 1.3 6
User Manual: BlueBoard-LPC214X
displayed on LCD. Open Flash Magic tool, select the appropriate COM port, set the Baud rate to less
than or equal to 38400 bps, select device as LPC2148, interface as 'None (ISP)' and oscillator
frequency as 12MHz. Specify the path of your HEX file and click START. The status is shown at the
bottom on the Flash Magic window.
In the 'Step 4 - Options' check 'Verify after programming' and 'Fill unused flash' options.
Checking the 'Set Code Read Prot' option will not allow you will program with JTAG. So keep it
unchecked unless required.
Note:
1. In Auto mode under the 'Options' tab select 'Advanced options'. In this under 'Hardware Config'
tab make sure the options 'Use DTR and RTS to control RTS and P0.14' and 'Keep RTS asserted
while COM port open' are checked. The values of T1 and T2 are set to 100ms and 200ms by
default.
2. After programming the board in Auto mode you should disconnect the serial cable from J5. This
is a known issue.
2. Manual Mode:
To program in Manual mode you need a half serial cable (which just has TX, RX and GND
wire connected). Set the jumper to pins 1 & 2 of J26 and connect the half serial cable to UART0 (J5)
and power the board.
• Hold down SW2(isp) and SW3(reset), then release SW3 first and finally SW2
• The controller enters the bootloader mode if during reset the SW2 pin is low
Revision 1.3 7
User Manual: BlueBoard-LPC214X
3 BlueBoard Hardware
2x16 CHARACTERS
LCD DISPAY
L
PS/2 E
KEYBOARD 74HC595 D
S
AUDIO
OUT
AUDIO
AMPLIFIER
LPC214x DB9 Female
JACK Connector
for UART1
SD/MMC
Connector
DB9 Female
Connector
BUZZER for UART0
Revision 1.3 8
User Manual: BlueBoard-LPC214X
Revision 1.3 9
User Manual: BlueBoard-LPC214X
Click on hyper terminal a “Connection Description” window opens. Enter a name under the name tab e.g. BlueBoard
and click OK.
Revision 1.3 10
User Manual: BlueBoard-LPC214X
A “Connect To” window opens where you have to select the COM port. In this example it is COM1.Click OK.
A “COM1Properties” window appears.Set the values as shown below.Click OK.
Revision 1.3 11
User Manual: BlueBoard-LPC214X
Revision 1.3 12
User Manual: BlueBoard-LPC214X
Now make sure that the BlueBoard is powered and the serial port is connected to the respective port to be tested
(UART0 or UART1). By pressing any key from keyboard the following message will appear for the respective UART.
Revision 1.3 13
User Manual: BlueBoard-LPC214X
For UART0:
UART0 can also be used for serial programming. If the selected bootloader mode is Manual then Half modem cable
should be used, else if it is in Auto mode use full modem cable. Note that after programming in auto mode the serial
cable should be disconnected.
Revision 1.3 14
User Manual: BlueBoard-LPC214X
For UART1:
3.2.3 USB
Before moving ahead with this section, refer to USB Virtual COM Port Installation for Windows XP
section.
Test setup: Connect the USB cable to USB connector. The power LED (D14) and USB connect LED (D10) turn ON.
The USB enumeration can be checked in device manager. The BlueBoard enumerates as a Virtual COM port. To test
the Virtual COM port; we can test it as we tested the UART0/1 of BlueBoard.
Revision 1.3 15
User Manual: BlueBoard-LPC214X
Revision 1.3 16
User Manual: BlueBoard-LPC214X
3.2.7 Buzzer
Test setup: Connect jumper to J23, when the board is turned on or RESET you will hear a beep after few seconds.
This is how the user can confirm the status of the Buzzer.
Note: The SD/MMC card being tested should be formatted with FAT file system (Not FAT32 or NTFS format).
3.2.12 RTC : A 2- pin connector J27 is provided for RTC.Connect an external battery to use the to this connector to
work with RTC.
3.2.13 ADC : The ADC port is given to a POT. To test the ADC rotate the POT, as the POT position varies the output
number of LEDs that are turned ON varies.
Revision 1.3 17
User Manual: BlueBoard-LPC214X
4 BlueBoard Utilities
4.1 Overview
For the working with BlueBoard there are certain tools that need to be installed. The tools
required to work with BlueBoard are:
Flash Magic.
The flash magic tool can be downloaded from the following link:
http://www.flashmagictool.com/
Tool chain:
To be able to generate the hex or the binary file the user needs to install the tool chain for ARM
based microcontrollers. Any toolchain can be used as long as it is able to generate the necessary files
for downloading onto the BlueBoard. Here are few toolchain suggestions:
BlueBoard Default Setup: When you receive the BlueBoard, it will be loaded will all peripherals. On connecting the
power supply a default message will appear on LCD. The interfaces are activated in the following manner: USB,
VGA, Audio, Buzzer, LEDs, LCD, SD/MMC, I2C, UART, PS/2.
Revision 1.3 18
User Manual: BlueBoard-LPC214X
5 Troubleshooting
The device uses the usbser.sys driver. This driver file is not unpacked in Windows by default and needs
to be extracted from a Windows .cab file which should be in the C:\WINDOWS\Driver Cache\i386
directory for Windows XP SP2. Change directory to C:\WINDOWS\Driver Cache\i386 expand the
CAB file by running the below command in Command-Prompt
Note: On some systems like the XP home edition; extraction of driver files from cab files might not be
supported. In such situation the user can download the usbser.sys file from http://blueboard-
lpc214x.googlecode.com/files/usbser.sys and copy it to C:\WINDOWS\system32\drivers folder
Revision 1.3 19
User Manual: BlueBoard-LPC214X
A Hardware Update Wizard opens up. Select the second option as shown and Click Next.
Note: If the wizard does not open up automatically then the user needs to go the ‘Device Manager’
window and right click on the device and select ‘update driver’
Set the new hardware Wizard to search a specific location for the driver, and specify the folder
containing usbser.inf
The Wizard will prompt for the location of usbser.sys. Specify its location
The installation should now complete and indicate the device has been installed. The device should
now get enumerated under “Ports(COM & LPT)” option in ‘Device Manager’ window.
Revision 1.3 20
User Manual: BlueBoard-LPC214X
To test the USB interface open Hyper Terminal by selecting the COM port specified by the system. The
COM port number assigned to the USB serial device is not fixed and can change. To know the current
COM port number the user needs to look into the ‘Device Manager’ page under “Ports(COM & LPT)” .
After selecting the appropriate COM PORT, press any key on keyboard; a message will be displayed in
the hyper terminal window as shown below. This confirms that the USB interface on the BlueBoard is
fine.
Revision 1.3 21
User Manual: BlueBoard-LPC214X
6 Schematics
http://blueboard-lpc214x.googlecode.com/files/BlueBoard_schematics_V1R1.pdf
Revision 1.3 22
User Manual: BlueBoard-LPC214X
7 Sample applications
The source code to demonstrate the usage of the following peripherals can be found at
http://code.google.com/p/blueboard-lpc214x/source/checkout
Revision 1.3 23
User Manual: BlueBoard-LPC214X
8 Known Issues
AUTO-mode ISP and full modem cable
While using the Auto-program mode for ISP; after programming the Blueboard the user needs to
unplug the full modem serial cable for the program to execute.
Revision 1.3 24