git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3089 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-11-08 11:56:22 +00:00
parent d2e2668275
commit baee074d3b

View File

@ -19,7 +19,8 @@ Contents
Olimex LPC1766-STK development board Olimex LPC1766-STK development board
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
GPIO Usage: GPIO Usage:
-----------
GPIO PIN SIGNAL NAME GPIO PIN SIGNAL NAME
-------------------------------- ---- -------------- -------------------------------- ---- --------------
@ -92,6 +93,19 @@ GPIO Usage:
P3[25]/MAT0[0]/PWM1[2] 27 LCD_RST P3[25]/MAT0[0]/PWM1[2] 27 LCD_RST
P3[26]/STCLK/MAT0[1]/PWM1[3] 26 LCD_BL P3[26]/STCLK/MAT0[1]/PWM1[3] 26 LCD_BL
Serial Console
--------------
The LPC1766-STK board has two serial connectors. One, RS232_0, connects to
the LPC1766 USART0. This is the DB-9 connector next to the power connector.
The other RS232_1, connect to the LPC1766 USART1. This is he DB-9 connector
next to the Ethernet connector.
Simple USART1 is the more flexible USART and since the needs for a serial
console are minimal, the more minimal USART0/RS232_0 is used for the NuttX
system console. Of course, this can be changed by editting the NuttX
configuration file as discussed below.
Development Environment Development Environment
^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
@ -351,13 +365,13 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
$ git submodule init $ git submodule init
$ git submodule update $ git submodule update
$ cd jimtcl $ cd jimtcl
$./configure --with-jim-ext=nvp $ ./configure --with-jim-ext=nvp
$ make $ make
$ make install $ make install
Configure OpenOCD: Configure OpenOCD:
.$ /configure --enable-maintainer-mode --disable-werror --disable-shared \ $ ./configure --enable-maintainer-mode --disable-werror --disable-shared \
--enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=/home/OpenOCD/ftd2xx \ --enable-ft2232_ftd2xx --with-ftd2xx-win32-zipdir=/home/OpenOCD/ftd2xx \
LDFLAGS="-L/home/OpenOCD/openocd/jimtcl" LDFLAGS="-L/home/OpenOCD/openocd/jimtcl"
@ -389,11 +403,11 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
lpc1768 configurtion can be used after changing the flash size to lpc1768 configurtion can be used after changing the flash size to
256Kb. That is, change: 256Kb. That is, change:
flash bank $_FLASHNAME lpc2000 0x0 0x80000 0 0 $_TARGETNAME ... flash bank $_FLASHNAME lpc2000 0x0 0x80000 0 0 $_TARGETNAME ...
To: To:
flash bank $_FLASHNAME lpc2000 0x0 0x40000 0 0 $_TARGETNAME ... flash bank $_FLASHNAME lpc2000 0x0 0x40000 0 0 $_TARGETNAME ...
There is also a script on the tools/ directory that I use to start There is also a script on the tools/ directory that I use to start
the OpenOCD daemon on my system called oocd.sh. That script will the OpenOCD daemon on my system called oocd.sh. That script will