summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-10 01:11:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-10 01:11:43 +0000
commit208e3a09ebffccb6f8d61bc63174be067d46ee85 (patch)
treedf74796aef804e57cba4c705a7ff670e4fc9c3ef
parentb8bd28ce4bb7ae8aabeeb3c7405ae458968d0f9b (diff)
downloadnuttx-208e3a09ebffccb6f8d61bc63174be067d46ee85.tar.gz
nuttx-208e3a09ebffccb6f8d61bc63174be067d46ee85.tar.bz2
nuttx-208e3a09ebffccb6f8d61bc63174be067d46ee85.zip
Drop baud to 57600
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3092 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/README.txt32
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/nsh/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/ostest/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbserial/defconfig8
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/usbstorage/defconfig8
5 files changed, 43 insertions, 21 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt
index e6be6e38b..ca878488f 100755
--- a/nuttx/configs/olimex-lpc1766stk/README.txt
+++ b/nuttx/configs/olimex-lpc1766stk/README.txt
@@ -97,15 +97,31 @@ Olimex LPC1766-STK development board
--------------
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
+ the LPC1766 UART0. This is the DB-9 connector next to the power connector.
+ The other RS232_1, connect to the LPC1766 UART1. 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
+ Simple UART1 is the more flexible UART and since the needs for a serial
+ console are minimal, the more minimal UART0/RS232_0 is used for the NuttX
system console. Of course, this can be changed by editting the NuttX
configuration file as discussed below.
+ The serial console is configured as follows (57600 8N1):
+
+ BAUD: 57600
+ Number of Bits: 8
+ Parity: None
+ Stop bits: 1
+
+ You will need to connect a monitor program (Hyperterminal, Tera Term,
+ minicom, whatever) to UART0/RS232_0 and configure the serial port as
+ shown above.
+
+ NOTE: The ostest example works fine at 115200, but the other configurations
+ have problems at that rate (probably because they use the interrupt driven
+ serial driver). Other LPC17xx boards with the same clocking will run at
+ 115200.
+
Development Environment
^^^^^^^^^^^^^^^^^^^^^^^
@@ -448,11 +464,17 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
(gdb) symbol-file nuttx
(gdb) load nuttx
- OpenOCD will support several special 'monitor' commands:
+ OpenOCD will support several special 'monitor' commands. These
+ GDB commands will send comments to the OpenOCD monitor. Here
+ are a couple that you will need to use:
(gdb) monitor reset
(gdb) monitor halt
+ The MCU must be halted prior to loading code. Reset will restart
+ the processor after loading code. The 'monitor' command can be
+ abbreviated as just 'mon'.
+
Olimex LPC1766-STK Configuration Options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
index 4a31c9d34..52dbdb84c 100755
--- a/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nsh/defconfig
@@ -161,10 +161,10 @@ CONFIG_UART1_RXBUFSIZE=256
CONFIG_UART2_RXBUFSIZE=256
CONFIG_UART3_RXBUFSIZE=256
-CONFIG_UART0_BAUD=115200
-CONFIG_UART2_BAUD=115200
-CONFIG_UART3_BAUD=115200
-CONFIG_UART1_BAUD=115200
+CONFIG_UART0_BAUD=57600
+CONFIG_UART2_BAUD=57600
+CONFIG_UART3_BAUD=57600
+CONFIG_UART1_BAUD=57600
CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
diff --git a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
index af55a6955..b80f5af2b 100755
--- a/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/ostest/defconfig
@@ -161,10 +161,10 @@ CONFIG_UART1_RXBUFSIZE=256
CONFIG_UART2_RXBUFSIZE=256
CONFIG_UART3_RXBUFSIZE=256
-CONFIG_UART0_BAUD=115200
-CONFIG_UART2_BAUD=115200
-CONFIG_UART3_BAUD=115200
-CONFIG_UART1_BAUD=115200
+CONFIG_UART0_BAUD=57600
+CONFIG_UART2_BAUD=57600
+CONFIG_UART3_BAUD=57600
+CONFIG_UART1_BAUD=57600
CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
diff --git a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
index 4dc9a44f9..299368294 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -161,10 +161,10 @@ CONFIG_UART1_RXBUFSIZE=256
CONFIG_UART2_RXBUFSIZE=256
CONFIG_UART3_RXBUFSIZE=256
-CONFIG_UART0_BAUD=115200
-CONFIG_UART2_BAUD=115200
-CONFIG_UART3_BAUD=115200
-CONFIG_UART1_BAUD=115200
+CONFIG_UART0_BAUD=57600
+CONFIG_UART2_BAUD=57600
+CONFIG_UART3_BAUD=57600
+CONFIG_UART1_BAUD=57600
CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8
diff --git a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
index fe8fcb714..65fc04d1a 100755
--- a/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
@@ -161,10 +161,10 @@ CONFIG_UART1_RXBUFSIZE=256
CONFIG_UART2_RXBUFSIZE=256
CONFIG_UART3_RXBUFSIZE=256
-CONFIG_UART0_BAUD=115200
-CONFIG_UART2_BAUD=115200
-CONFIG_UART3_BAUD=115200
-CONFIG_UART1_BAUD=115200
+CONFIG_UART0_BAUD=57600
+CONFIG_UART2_BAUD=57600
+CONFIG_UART3_BAUD=57600
+CONFIG_UART1_BAUD=57600
CONFIG_UART0_BITS=8
CONFIG_UART1_BITS=8