| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NGX 1830 Xplorer boards

Documentation links
NGX LPC1830 Xplorer

Jumper configuration
The list below shows the default jumper configuration used for all NGX Xplorer 1830 examples. Use this configuration for the examples unless an example alters this default setting in it's description.
NGX 1830 and 4330 boards use the same default jumper setting.

- Jumper J4-1: OFF
- Jumper J4-2: ON
- Jumper J4-3: ON
- Jumper J4-4: ON

Optional UART setup
The NGX boards do not include a default UART port for output of debug messages during code operation. Since the NGX board doesn't have a UART, the debug messages aren't used on these boards and the output will either be sent to a NULL device or compiled/linked out of the executable. You can add a serial port to the NGX board by purchasing a TTL-232R-3V3 and modifying your board as follows. This will only add UART output for debug messages.

Solder a wire to connector J8, pin 0 (ground) and attach it to the black wire (ground) on the FTDI connector
Solder a wire to connector J8, pin 9 (UART TX) and attach it to the Yellow wire (UART RX) on the FTDI connector
Connect the USB side of the FTDI adapter to a host PC.

After this modificaiton, a small change needs to be made to the NGX board configuration to enable the UART debug output. Locate the sys_config.h file in the software/lpc_core/{boards} area for your NGX board - be sure to use the correct directory - either the 1830 or 4330 directory for your board. Edit the sys_config.h file and enable the DEBUG_ENABLE define. The define may be commented out - if it is, just uncomment it. You will also need to set the default UART used for debug output by changing the DEBUG_UART define. It should be set to USART0.

    /* Enable DEBUG for IO support via the UART */
    #define DEBUG_ENABLE

    /* Board UART used for debug output */
    #define DEBUG_UART LPC_USART0

Board recovery using the ISP pin
If the board's FLASH can no longer be programmed, the image in FLASH may be corrupt. To recover the board, the board's boot source can be altered by changing the boot source on jumpers on jumper block J4.