NGX Technologies BlueBoard Base User Manual Download Page 10

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 her

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.

 

Summary of Contents for BlueBoard Base

Page 1: ...UM BlueBoard Base Page 1 BlueBoard Base USER MANUAL...

Page 2: ...tions 5 Modules and Jumpers Relationship 5 LEDs and SPI0 6 UART0 UART1 6 USB 8 VGA connector 9 JTAG connector 9 User Interface Switch 9 Buzzer 9 SD MMC connector 9 Audio jack 9 PS 2 keyboard 9 LCD dis...

Page 3: ...res mentioned for the BlueBoard Base in this document are direcly dependent on the Stamp board microcontroller used Ex Using LPC2148 Stamp board all the features mentioned here are available But if LP...

Page 4: ...r Stamp board Power adapter rating 7 5 V 1 AMP USB cable VGA cable DB 9 straight Full and Half modem serial cable A headphone speaker to verify the DAC USB parallel JTAG Software Keil MDK ARM Rowley C...

Page 5: ...test LED s Pins 3 to 9 are connected to SPI0 lines of LPC2148 J10 ADC This will enable the ADC interface J11 JTAG This will enable the debug mode on the microcontroller J12 Keyboard PS 2 This will en...

Page 6: ...are connected through a serial to parallel converter this test also confirms the working of SPI0 of the LPC UART0 UART1 Test setup Connect jumpers to all pins of J6 Open the hyper terminal as shown in...

Page 7: ...lick OK Next an empty BlueBoard Hyper Terminal window opens as shown 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...

Page 8: ...he serial cable should be disconnected For UART1 USB Before moving ahead with this section refer to USB Virtual COM Port Installation for Windows XP section in Appendix Test setup Connect the USB cabl...

Page 9: ...dule are working fine Please ensure that you have connected the buzzer jumper appropriately Buzzer Test setup Connect jumper to J23 when the board is turned on or RESET you will hear a beep after few...

Page 10: ...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 P...

Page 11: ...ard enter programming mode 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 Appendix Functional Overv...

Page 12: ...Manage A Computer Management window opens In this select Device Manager as shown below The device uses the usbser sys driver This driver file is not unpacked in Windows by default and needs to be ext...

Page 13: ...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 To test the USB interface open Hyper Terminal by...

Page 14: ...2C E2PROM Driver Reading and writing to an i2c e2prom SPI Using SPI in polled master mode to drive 8 x LEDs FIQ Handler VGA Timer Soft Timer Demonstrates multiple timers with callbacks Watchdog SD MMC...

Page 15: ...gard 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 Techno...

Reviews: