summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-09 18:12:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-09 18:12:22 +0000
commit5f5e980f087430c1a9c5511e3ff1b2b0f9bcc301 (patch)
treec6055a612b97107faaa935c174a6874665f23a98
parentbfcdce360af72a3a5a068c02aac56be670f545cd (diff)
downloadpx4-nuttx-5f5e980f087430c1a9c5511e3ff1b2b0f9bcc301.tar.gz
px4-nuttx-5f5e980f087430c1a9c5511e3ff1b2b0f9bcc301.tar.bz2
px4-nuttx-5f5e980f087430c1a9c5511e3ff1b2b0f9bcc301.zip
Update to LPC4330 scripts and README
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4922 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/ReleaseNotes20
-rw-r--r--nuttx/configs/lpc4330-xplorer/README.txt43
-rwxr-xr-xnuttx/configs/lpc4330-xplorer/ostest/setenv.sh4
3 files changed, 67 insertions, 0 deletions
diff --git a/nuttx/ReleaseNotes b/nuttx/ReleaseNotes
index 6c5770415..755b4520b 100644
--- a/nuttx/ReleaseNotes
+++ b/nuttx/ReleaseNotes
@@ -2306,6 +2306,8 @@ that release consists of two tarballs: nuttx-6.10.tar.gz and
apps-6.10.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4028
+
This release includes a few new features and several important bug fixes.
The new features (some still incomplete) include:
@@ -2370,6 +2372,8 @@ that release consists of two tarballs: nuttx-6.11.tar.gz and
apps-6.11.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4090
+
This release is a maintenance release that includes a few new features
and some important bugfixes. New features include:
@@ -2406,6 +2410,8 @@ that release consists of two tarballs: nuttx-6.12.tar.gz and
apps-6.12.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4141
+
New features in this release include:
* STM32. Basic support added for the STM32 F4 family. Board support
@@ -2433,6 +2439,8 @@ that release consists of two tarballs: nuttx-6.13.tar.gz and
apps-6.13.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4231
+
New features in this release include:
* Drivers. New standard interface for PWM drivers and common
@@ -2469,6 +2477,8 @@ that release consists of two tarballs: nuttx-6.14.tar.gz and
apps-6.14.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4301
+
New features in this release include:
* Drivers. The upper-half PWM driver will now support a pulse count (as
@@ -2531,6 +2541,8 @@ that release consists of two tarballs: nuttx-6.15.tar.gz and
apps-6.15.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4387
+
New features and extended functionality:
* General Drivers: Add support for (29-bit) extended CAN IDs. Add an
@@ -2605,6 +2617,8 @@ that release consists of two tarballs: nuttx-6.16.tar.gz and
apps-6.16.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4475
+
New features and extended functionality:
* ARMv7M Support: Includes new, streamlined Cortex-M exception
@@ -2671,6 +2685,8 @@ that release consists of two tarballs: nuttx-6.17.tar.gz and
apps-6.17.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4607
+
New features and extended functionality:
* Networking: Additional low-level, thread-independent socket
@@ -2769,6 +2785,8 @@ synchronized release of NxWM, the NuttX tiny window manager. That
window manager is released as part of the NxWidgets package, but depends
upon many of the changes in this NuttX release.
+This release corresponds with SVN release number: r4751
+
New features and extended functionality:
* Drivers. Added a watchdog timer driver infrastructure. Add general
@@ -2846,6 +2864,8 @@ that release consists of two tarballs: nuttx-6.19.tar.gz and
apps-6.19.tar.gz. Both may be needed (see the top-level nuttx/README.txt
file for build information).
+This release corresponds with SVN release number: r4847
+
This release features new support for a Network File System (NFS) client.
This feature allows a tiny, embedded MCU to mount a remote file system
exported by an NFS server and then to access the file system as it would
diff --git a/nuttx/configs/lpc4330-xplorer/README.txt b/nuttx/configs/lpc4330-xplorer/README.txt
index 25eac7c2c..031d7b234 100644
--- a/nuttx/configs/lpc4330-xplorer/README.txt
+++ b/nuttx/configs/lpc4330-xplorer/README.txt
@@ -273,6 +273,18 @@ Code Red IDE
Command Line Flash Programming
------------------------------
+ The first step is to active the LPCLink's boot mode. For my installation
+ path, that can be done using the following steps in a Cygwin bash shell:
+
+ $ /cygdrive/c/code_red/RedSuite_4.2.3_379/redsuite/bin/Scripts/bootLPCXpresso.cmd winusb
+ Booting LPC-Link with LPCXpressoWIN.enc
+ Press any key to continue . . .
+
+ NOTE that the following alias is defined in the setenv.sh file and
+ can be used to enter the boot mode with a simpler command:
+
+ alias lpc43xx='${REDSUITE_BIN}/Scripts/bootLPCXpresso.cmd winusb'
+
The underlying debugger within Red Suite/LPCXpresso is GDB. That GDB
used from the command line. The GDB configuration details for command
line use are on Code Red Wiki:
@@ -318,6 +330,37 @@ Code Red IDE
configuration file when you build NuttX. That option is necessary to build
in debugging symbols.
+ Troubleshooting. This page provides some troubleshooting information that
+ you can use to verify that the LPCLink is working correctly:
+
+ http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics
+
+ For example:
+
+ C:\code_red\RedSuite_4.2.3_379\redsuite\bin\Scripts>bootLPCXpresso winusb
+ Booting LPC-Link with LPCXpressoWIN.enc
+ Press any key to continue . . .
+ C:\code_red\RedSuite_4.2.3_379\redsuite\bin\Scripts>set CRT_DEBUG_TRACE=1
+ C:\code_red\RedSuite_4.2.3_379\redsuite\bin\Scripts>cd ..
+ C:\code_red\RedSuite_4.2.3_379\redsuite\bin>crt_emu_lpc18_43_nxp.exe -info-emu -wire=winusb
+ Ni: Code Red Technologies Debug Driver v4.0 (May 21 2012 22:04:03)
+ 1 Emulators available:
+ 0. T1S6RGRIA LPC-Link Probe v1.1 (Code Red - LPCXpresso)
+
+ C:\code_red\RedSuite_4.2.3_379\redsuite\bin>crt_emu_lpc18_43_nxp.exe -info-target -wire=winusb
+ Ni: Code Red Technologies Debug Driver v4.0 (May 21 2012 22:04:03)
+ Nc: Looked for vendor directory XML file in C:/code_red/RedSuite_4.2.3_379/redsuite/bin/nxp_directory.xml
+
+ Nc: Found generic directory XML file in C:/code_red/RedSuite_4.2.3_379/redsuite/bin/crt_directory.xml
+
+ AP Ack: 04
+ Nc: Mem-AP ID: 0x24770011 ROM Addr: 0xE00FF003
+ Nc: Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
+ Nc: SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
+ Nc: Packet delay: 16 Poll delay: 0.
+ Wc: XML Error in info file C:/code_red/RedSuite_4.2.3_379/redsuite/bin/nxp_lpc2xxx.xme: no matching info '*'
+ Ed:03: Failed on chip setup: Ec(01). Invalid, mismatched, or unknown part
+
NuttX buildroot Toolchain
=========================
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh b/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
index 91c8d73c4..45dca59a7 100755
--- a/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
+++ b/nuttx/configs/lpc4330-xplorer/ostest/setenv.sh
@@ -84,3 +84,7 @@ fi
export PATH="${TOOLCHAIN_BIN}:${PATH}"
echo "PATH : ${PATH}"
+
+# Set an alias that can be used to put the LPC43xx in boot mode
+
+alias lpc43xx='${REDSUITE_BIN}/Scripts/bootLPCXpresso.cmd winusb'