7/29/2019 NTIL Arm User Manual
1/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
1 18 October 2004
NTIL LPC 2104 STARTER KIT..........................................
USER MANUAL
7/29/2019 NTIL Arm User Manual
2/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
2 18 October 2004
Table of Contents
SECTION 1: 4
INTRODUCTION 41.1 STARTERKIT FEATURES: 4
SECTION 2: 5
GETTING STARTED 52.1 UNPACKING THE SYSTEM: 52.2 SYSTEM REQUIREMENTS: 52.3 QUICKSTART: 62.3.1 Connecting the Hardware: 72.3.2 Programming the Target Device: 8
SECTION 3: 9
HARDWARE DESCRIPTION 93.1 DESCRIPTION OF USER LEDS 103.2 DESCRIPTION OF THE USERSWITCHES: 113.3 IO PORTS 123.4 DESCRIPTION OF THE RS-232 INTERFACE 133.5 DESCRIPTION OF PWM, I2C AND SPI HEADERS 133.6 DESCRIPTION OF ON BOARD JTAG CIRCUIT: 143.7 JUMPER SETTINGS 153.8 MISCELLANEOUS 153.8.1 RESET PUSH Button 153.8.2 Main Power LED 153.8.3 Main Power Switch 153.8.4 ON-BOARD Regulators for the Target 16
SECTION 4: 17
TROUBLE SHOOTING GUIDE 17
SECTION 5: 19
TECHNICAL SUPPORT 19
7/29/2019 NTIL Arm User Manual
3/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
3 18 October 2004
Table Of Figu res
Figure 2-1 Default Setup Of Kit: 6Figure 2-2 Connection To SBC 2104: 7Figure 2-3 LPC 2000 Flash Utility: 8Figure 3-1 SBC 2104 Components: 9Figure 3-2 Connection Of User LEDS: 10Figure 3-3 Implementation Of LEDS and LED headers: 10Figure 3-4 Configuration Of switches for External Interrupts 11
Figure 3-5 Installed Jumpers For Configuring Switches 11Figure 3-6 Pin out for the IO Port Headers 12Figure 3-7 PWM, I2C and SPI headers 13Figure 3-8 PWM signals connection to the User LEDS: 13
7/29/2019 NTIL Arm User Manual
4/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
4 18 October 2004
Section 1:
Int roduct ion
Thanks for your purchase of the LPC 2104 MCU Starter Kit. This is a complete starter kit anddevelopment system for the ARM-7TDMIS Flash micro controller from Philips Corporation. It is designed togive designers a quick start to develop code on the ARM and for prototyping and testing of new designs.
1.1 Starter Kit Features:
ARM 7TDMI-S Processor.
RS-232 Interface to PC for Programming and Control
Another RS-232 Port available for Full Modem Control
Regulated Power Supply for 10 - 15V DC Power
In Built Boot Loader.
Reprogramming of ARM LPC 2104
3 Push Buttons for General Use
8 LEDs for General Use
All ARM I/O Ports Easily Accessible through Pin Header Connectors
On-Board JTAG WRIGGLER Circuit that can be connected to PC Parallel Port.
7/29/2019 NTIL Arm User Manual
5/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
5 18 October 2004
Section 2:
Getting Started
2.1 Unpacking the System:
Kit contents:
ARM LPC 2104 Evaluation Board
9-pin RS-232 cable (FULL-MODEM)
DC power Cable with Adapter (Output: 9V DC 500mA)
CD-ROM with Data sheets and Software.
JTAG 25-pin Parallel Port Cable.
2.2 System Requirements:
The minimum hardware and software requirements are:
Pentium is recommended
16 MB RAM
Windows 95/98/2000/ME and Windows NT 4.0 or higher
115200 baud RS-232 port (COM port)
10 - 15V DC power supply, 500 mA min.
7/29/2019 NTIL Arm User Manual
6/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
6 18 October 2004
2.3 Quick Start:
The SBC2104 (Single Board Computer 2104) starter kit is shipped with an ARM LPC 2104 micro controller.The default jumper settings will allow the micro controller to exe-cute from the clock source and voltageregulator on the SBC2104 board. The micro controller is programmed with a test program that toggles theLEDs.
Use the supplied 10-pin cables to connect the header marked HD1 with the header marked HD8. Anexternal 10 - 15V DC power supply is required. The input circuit is a full bridge rectifier. Connect the power
cable between a power supply and the SBC2104. Apply 10 - 15V DC to the power connector. The powerswitch turns the SBC2104 main power on and off. The red LED is lit when power is on. The program runningin the LPC 2104 now flashes the LEDS.
Figure 2-1 Default Setup Of Kit:
7/29/2019 NTIL Arm User Manual
7/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
7 18 October 2004
2.3.1 Connecting the Hardware:
Figure 2-2 Connection To SBC 2104:
Power Supply
RS232 COM PORT
The SBC2104 should be connected to the COM port of your PC as shown in the figure 2-2. NowInstall the LPC 2000 FLASH UTILITY from the CD supplied with this kit in the folder Software Tools. To
program the Target ARM LPC 2104, power off the SBC2104 kit. The jumper JP2 should be installed on theboard. This enables the inbuilt BOOT LOADER code that is present on the chip. This code is set up in theROM during the factory settings. Now power ON the Kit and send the hex file of your application throughPhilips LPC2000 Flash Utility.
7/29/2019 NTIL Arm User Manual
8/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
8 18 October 2004
2.3.2 Programming the Target Device:
The SBC 2104 is controlled from PHILIPS Flash Utility, version 2.1.0 and higher. Philips Utility is anintegrated development environment (IDE) for downloading the ARM Application executables (.hex(INTEL)).
To program a hex file into the target ARM device, Select he Flash Utility from the Start Menu Of Your OS.Select the target Device LPC 2104 from the Pull Down Menu. Enter the XTAL Freq to 14745 kHz. Select theCOM port from the Communication Frame to which your Board is connected. Select the Baud rate. SelectionOf Higher Baud Rate transfers the code in a less time to the Target. Now Press the Read Device ID Button. Itwill prompt to reset the Board. Now press the Reset Button on your Board and Press Ok in the Utility. If theBoard is detected, you can see the Boot ID and the Part ID are filled up else the Utility presents an Errormessage on the Screen that Cannot communicate with the Test Board. Locate the Hex file and downloadthe HEX file into the target using the Upload to Flash Button. For Verification of the data download, pressthe compare Flash Button. In both the cases, the progress bar shows the Progress of the job. To run theapplication, uninstall the jumper JP2 after Power Off and Turn On the Kit.
If you still see any errors with the communications of the board, see the Trouble shooting section.
Figure 2-3 LPC 2000 Flash Utility:
7/29/2019 NTIL Arm User Manual
9/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
9 18 October 2004
Section 3:
Hardware Descrip t ion
Figure 3-1 SBC 2104 Components:
Power Switch
Power Jack
ISP PORT
Full Modem Port
MAX 232 Level
Converter
MAX 2111
User LEDs
User switches
JTAG Port
IO and LEDs Headers
LPC 2104
Jumpers
Crystal Oscillator
7/29/2019 NTIL Arm User Manual
10/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
10 18 October 2004
3.1 Description Of USER LEDS
The SBC 2104 includes 8 Green User LEDS and 3 Push Button Switches. The LEDS are connected tothe debug headers, which are separated from the rest of the Board. They can be connected to the ARM devicewith the supplied 10-wire cable to the pin header of the ARM I/O ports. The ARM processor IO PORTS arealso extended to the External Headers. The LEDS can be connected to any one of the Headers (HD1, HD2,HD3, HD4). The LEDS were connected to the Header 8 (HD8). The cables should be connected directly fromthe port header to the LED. The cable should not be twisted. A red wire on the cable indicates pin 1. Confirmthat th is is connected to pin 1 on each of the headers.Figure 3-2 shows how the LEDS should be connected
to the User IO ports.
Figure 3-2 Connection Of User LEDS:
Figure 3-3 Implementation Of LEDS and LED headers:
Note: The ARM can source or sink Current directly. The above figure descriptions of the user LEDS and how they are connected tothe Header 8.
7/29/2019 NTIL Arm User Manual
11/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
11 18 October 2004
3.2 Description Of the User Switches:
The switches connected to the debug headers are implemented as shown in the figure 3.4
Figure 3-4 Configuration Of switches for External Interrupts
Figure 3-5 Installed Jumpers For Configuring Switches
The External Hardware Interrupts can be used in two ways.
1. By the Use of switches.
2. Can be connected to External Hardware using HD9.
7/29/2019 NTIL Arm User Manual
12/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
12 18 October 2004
Using Switches:
The jumpers JP5, JP4, Jp6 need to be installed for Operation Of External Hardware Interrupts using Switchesas shown in the figure 3.5.
For the External Interrupt INT0-JP4 need to be installed to the pins 1&2. SW2 switch is configuredfor INT0 here.
For the External Interrupt INT1-JP5 need to be installed to the pins 1&2. SW3 switch is configuredfor INT1 here.
For the External Interrupt INT2-JP6 need to be installed to the pins 1&2. SW4 switch is configuredfor INT2 here.
When the corresponding switch is pressed, a low signal triggers the corresponding Interrupt.
The HD9 header can be used if the user wants some interrupt from the outside world of the kit.
3.3 IO Ports
The pin out for the IO Port headers is explained in the figure 3.6.
Figure 3-6 Pin out for the IO Port Headers
HD1 is connected to P0-7 of the LPC 2104.
HD2 is connected to P8-15 of the LPC 2104.
HD3 is connected to P16-23 of the LPC 2104.
HD4 is connected to P24-31 of the LPC 2104.
The Pin1 of all the Headers were connected to 5 V DC and the Pin 10 were connected to GND.
7/29/2019 NTIL Arm User Manual
13/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
13 18 October 2004
3.4 Description of the RS-232 Interface
The SBC 2104 includes 2 Serial Ports. One RS-232 Port is used for communication with the PC whileProgramming the Target. Once the Target is programmed, the user can very well use this RS 232 port forUser Communication with the PC. The Other serial Port is used for communication with the externalMODEM. This was an excellent feature and it can be used in many Industrial and commercial applications.
Note: There is no need to instal l any jumper for the usage of the Ser ial Por ts. See the schematics suppl ied
with this document for brief overview of Which Port i s used for normal RS-232 communication and which
is used for Ful l modem communication.
3.5 Description Of PWM, I2C and SPI headers
Figure 3-7 PWM, I2C and SPI headers
PWM Connection To the User LEDS:
Figure 3-8 PWM signals connection to the User LEDS:
Here you can use a 10-pin cable for the connection of the available PWM channels to the User LEDS. Make
7/29/2019 NTIL Arm User Manual
14/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
14 18 October 2004
sure that you didnt connect the PWM channels to the VCC of the USER LEDS. While connecting to thePWM channels, leave the first two pins of the cable 1 & 2 and the last two pins of the cable 9 & 10 so thatcable header exactly comes in the middle.
SPI interface connections:
The available connections in the pin header are P4, 5, 6, and 7. The alternate functions of these GPIO pins areSCK, MISO, MOSI and SSEL. You need to have an additional external Hardware for the usage of these Pins.For example you can connect these four pins to a Data Flash, which is also featured with SPI protocol.
I 2C Connections:
The available connections in the pin header are P2 and P3. The alternate functions of these GPIO pins areSCL and SDA. You need to have an additional external Hardware for the usage of these Pins. For exampleyou can connect these two pins to an external RTC, which is also featured with I2C protocol.
3.6 Description of ON BOARD JTAG circuit:
The WIGGLER circuit used on this board is used to communicate the Target Board with the PC using a
TCP/IP port. The On-Board circuit reduced the need of an external Interface that is to be connected to theJTAG header. The GNU-GDB supports these utilities and can directly load, run, set Break points as issued bythe User. For a detailed description of using the Debugger, Read the INSTALLATION PROCEDUREDOCUMENT AND HOW TO USE GCC MANUALS.
No Jumper Settings need to be installed while using the JTAG. Remember the pins TMS, TCK, TDI, TDO,TRST, DBSEL and rTCK will not function as GPIO pins. While using the JTAG circuitry, the Header HD2is proposed to leave unconnected.
The brief explanation of using JTAG circuitry is explained in the INSTALLATION PROCEDUREDOCUMENT AND HOW TO USE GCC MANUALS provided with the CD. The parallel Port DB-25 pinconnector on the kit should be connected to the PC parallel port using a D-25 pin Parallel port cable. The
schematics of the JTAG WIGGLER circuit were shown in the schematics.pdf supplied with the CD.
7/29/2019 NTIL Arm User Manual
15/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
15 18 October 2004
3.7 JUMPER Settings
L ist Of Jumper Settings and their descri ption :
JP4 - INT0
JP5 - INT1
JP6 INT2
JP1 DBSEL (Check the description of DBSEL pin in the 2104 User Manual)
HD9 Used for extension of the HARDWARE Interrupts to External Interface.
JP2 PROGRAM/RUN Selection
HD6 Extended PWM channels
HD7 Extended SPI Interface pins
JP3 Extended I2C Interface pins
3.8 Miscellaneous
3.8.1 RESET PUSH Button
The RESET push button resets the target ARM device when pushed. The master MCU is controlled by theRESET push button.
3.8.2 Main Power LED
The red power LED is directly connected to the SBC2104 main power supply. The power LED is always litwhen power is applied to SBC 2104.
3.8.3 Main Power Switch
The Sliding switch allows the user to Power OFF/ON the Main Power Supply.
7/29/2019 NTIL Arm User Manual
16/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
16 18 October 2004
3.8.4 ON-BOARD Regulators for the Target
Three On-Board regulators were used to supply 3 different voltages 5V, 3.3V and 1.8V to the TargetProcessor. The Test Pads TP1, TP2 and TP3 can be used to test these different voltage levels. As most of theStandard TTL logic devices support 5V, all pin headers on the board are added with a 5V Pin so that the usercan interface any external circuitry easily.
7/29/2019 NTIL Arm User Manual
17/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
17 18 October 2004
Section 4:
Trouble Shoot ing Guide
Problem Reason Solution
The Dc Power cable is notconnected.
Connect the DC power Jack.
Wrong Power Supply is used Check the Dc Power Supply is ofDC type 10-15V DC 500 mA
The red power LED is not on.
Power Switch is Off Turn On the Power Switch
The LEDS are not connected tothe IO ports.
Connect the LEDS header to theHD1 as described earlier.
The preprogrammed LEDS codedoes not Flash the LEDS
The Flash memory is erased. Connect the Kit to the PC andprogram it using LPC FlashUtility.
The ARM Device cannot beProgrammed.
Serial Cable is disconnected Connect the serial cable to thePORT1 i.e. beside the Powersection.
7/29/2019 NTIL Arm User Manual
18/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
18 18 October 2004
Jumper Setting were wrong Power Off the kit. Install theJumper JP2. Now Power On thekit
Instructions not followed as perthe Flash Utility
Follow the instructions carefullygiven by the LPC 2000 flashUtility.
Serial Cable is not connected orPower is off
Connect the Serial Cable to theRs232 port (not to the Full modemPort) and check the powerconnections
Disable the other Programs whichare using the same COM PORT
PC COM PORT in use.
Connect the Serial Cable to otherCOM port, which is not in use.
Flash Utility does not detect theSBC 2104
FLASH utility does not supportthe SBC 2104
Check the selection of the COMport in the communicationswindow and also the crystalfrequencies in kHz (14745). Checkthe Device Selection.
Note: User L EDS wil l work only by the proper connection of HD8 with any of the other I O Ports with a
10-pin cable.
7/29/2019 NTIL Arm User Manual
19/19
Nalanda Telematics & Informatics Ltd USER MANUAL
SBC 2104
19 18 October 2004
Section 5:
Technical Support
For technical support, please contact [email protected]. When requesting technical sup-port for SBC2104, please include the following information:
Version Number Of Flash Utility.
PC processor type and speed.
PC COM PORTS available YES/NO
PC operating System and version
Target device name (LPC 2104)
Jumper Settings
Detailed Description of the Problem.