
UM-BlueBoard Base
Page | 10
LCD display
Test setup:
To enable the LCD connect jumpers to all pins of J18. A default message “NGX
TECHNOLOGIES” will be displayed and later status of SD/M
MC and I2C is displayed. The back light
of LCD can be controlled by connecting jumper to appropriate pins of J19. The contrast of LCD can
be varied using the POT.
RTC:
A 2 - pin connector J27 is provided for RTC.Connect an external battery to use the to this
connector to work with RTC.
ADC:
The ADC is connected to a potentiometer. To test the ADC turn the potentiometer, as the
position varies the output number of LEDs that are turned ON varies.
Programming BlueBoard Base
BlueBoard Base 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 or you can use
the USB to JTAG from NGX Technologies and the supporting IDE which can communicate to the
processor core over JTAG interface. We have successfully tested BlueBoard with wiggler clone JTAG
and USB JTAG with CrossWorks IDE. A LINUX utility to download the hex file can be found here
http://www.pjrc.com/arm/lpc2k_pgm/
(1)
Programming BlueBoard Base Through ISP
The BlueBoard Base can be programmed through ISP in two modes:
1. Auto Mode
2. Manual Mode
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
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.