Powering the Board and Driver Installation

The board is powered by plugging it into the USB port of any PC.  After the device is powered, Windows may automatically install drivers.  If not, it will see the new device and prompt you to install drivers.  The following procedure should be used:

 
     
 

Windows XP

  1. Download and unzip the latest drivers.
  2. Select “No, not this time” to not contact Windows Update and click Next.
  3. Click on “Install from a list or specific location (Advanced)” and click Next.
  4. Select “Search for the best driver in these locations.” And select only “Include this location in the search:”.  Click Browse and find the previously downloaded and unzipped directory “USB Serial Driver”.
  5. If a dialog appears warning you the hardware hasn’t passed Windows Logo testing, click Continue Anyway.
  6. Click Finish.

Windows Vista

  1. Download and unzip the latest drivers.
  2. Select “Don’t show this message again for this device” on the Found New Hardware dialog.  If a dialog appears asking for user permission please press Continue.
  3. Go to the start menu and select “Computer” located to the right to bring up “My Computer”.  If using the classic start menu, just double-click the “My Computer” icon on the desktop.
  4. Select “System Properties” and “Device Manager” from the left pane under “Tasks” pressing Continue to any permission dialogs.
  5. Under “Other devices”, right-click on “LCDDemo-LPC2158” and select Update Driver Software.
  6. Select “Browse my computer for driver software” and specify the location of the unzipped drivers. Click Next.
  7. A warning dialog box will appear specifying Windows can’t verify the publisher of the driver software.  Select “Install this driver software anyway.”
  8. Click Close.
 
 

Operating the Demo Software
The LCDDemo-LPC2158 Software has 4 modes of Operation

  1. A Repeating Pattern of Text Lines
  2. User Programmable Countdown Timer
  3. FM Radio Scan Simulator
  4. Custom User Message
 
 

Pressing the MODE button changes the mode of operation of the unit.

  1. Repeating Text Lines works like a scrolling ad sign.
    • The LCDDemo-LPC2158 repeats the following text lines in order:
      NXP
    LPC2158
    USB DEMO
    I2C LCD

    The user can edit the example software provided to easily “customize” these settings.

  2. Countdown Timer Mode provides a User Programmable Time
    • The timer may be started and stopped by pressing SELECT
    • While stopped, the time may be reset by holding down SELECT for two seconds
    • The minutes field will then flash indicating the device is in program mode
    • Pressing the SELECT button once increases the current digit by one, and if  SELECT is held, the scroll speed will quickly increase to reach distant numbers
    • Pressing the MODE button will move the user to the next programmable digit.  After the seconds field is set, SELECT may be pressed to start the countdown.
    • The default countdown time is (15 min, 00 sec).

  3. FM Radio Display simulates Frequency Scanning
    • The simulated frequency is incremented by pressing the SELECT button
    • If SELECT is held, the scan speed will quickly increase to reach higher frequencies.
    • After reaching the topmost frequency (107.9) scanner will automatically wrap around to the lowest most frequency (88.1).

  4. Custom User Message

    • The custom user message mode is used to transfer characters to the screen through the USB Virtual COM port on a PC.
    • After entering this mode the cursor will be at the left most character.
    • On the PC to which the LCDDemo-LPC2158 is connected bring up HyperTerminal with the default settings on the COM port of the device.
    • Press caps-lock and begin typing characters to display them on the screen.
    • Backspace deletes characters to the left while Enter clears the screen.


 
 

Programming New Software
It is possible to download user-written software directly through the USB port on the device.  The following procedure should be used:

  1. Download the programming utility.
  2. Open the utility and click the Update button to locate the desired .hex file to program onto the board.
  3. The utility will then read the program ID of the application currently on the board and a dialog will be presented asking to verify the download.  Click OK.
  4. When prompted, unplug your LCDDemo-LPC2158 board and plug it back in to the USB port.