summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-08 20:08:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-05-08 20:08:42 +0000
commit95bc39c643cb8e671248b9fee6941e729889ca74 (patch)
treecc7ff29273b48a583c4385730ecb3260992a389b /nuttx
parent3d47d9562abc195fe053de6cac29a59076b4881b (diff)
downloadpx4-nuttx-95bc39c643cb8e671248b9fee6941e729889ca74.tar.gz
px4-nuttx-95bc39c643cb8e671248b9fee6941e729889ca74.tar.bz2
px4-nuttx-95bc39c643cb8e671248b9fee6941e729889ca74.zip
update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2658 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rwxr-xr-xnuttx/configs/lm3s6965-ek/README.txt48
-rwxr-xr-xnuttx/configs/lm3s6965-ek/ostest/ld.script9
2 files changed, 23 insertions, 34 deletions
diff --git a/nuttx/configs/lm3s6965-ek/README.txt b/nuttx/configs/lm3s6965-ek/README.txt
index 744b416cb..ada74b111 100755
--- a/nuttx/configs/lm3s6965-ek/README.txt
+++ b/nuttx/configs/lm3s6965-ek/README.txt
@@ -210,13 +210,14 @@ NuttX buildroot Toolchain
the path to the newly built binaries.
See the file configs/README.txt in the buildroot source tree. That has more
- detailed PLUS some special instructions that you will need to follow if you are
- building a Cortex-M3 toolchain for Cygwin under Windows.
+ detailed PLUS some special instructions that you will need to follow if you
+ are building a Cortex-M3 toolchain for Cygwin under Windows.
NOTE: This is an OABI toolchain.
USB Device Controller Functions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
Device Overview
An FT2232 device from Future Technology Devices International Ltd manages
@@ -227,16 +228,25 @@ USB Device Controller Functions
a single USB cable. Separate Windows drivers for each function are provided
on the Documentation and Software CD.
- A small serial EEPROM holds the FT2232 configuration data. The EEPROM is not
- accessible by the LM3S6965 microcontroller. For full details on FT2232
- operation, go to www.ftdichip.com.
-
- USB to JTAG/SWD
+ Debugging with JTAG/SWD
The FT2232 USB device performs JTAG/SWD serial operations under the control
- of the debugger. A CPLD (U2) multiplexes SWD and JTAG functions and, when
- working in SWD mode, provides direction control for the bidirectional data
- line.
+ of the debugger or the Luminary Flash Programmer. It also operate as an
+ In-Circuit Debugger Interface (ICDI), allowing debugging of any external
+ target board. Debugging modes:
+
+ MODE DEBUG FUNCTION USE SELECTED BY
+ 1 Internal ICDI Debug on-board LM3S6965 Default Mode
+ microcontroller over USB
+ interface.
+ 2 ICDI out to JTAG/SWD The EVB is used as a USB Connecting to an external
+ header to SWD/JTAG interface to target and starting debug
+ an external target. software. The red Debug Out
+ LED will be ON.
+ 3 In from JTAG/SWD For users who prefer an Connecting an external
+ header external debug interface debugger to the JTAG/SWD
+ (ULINK, JLINK, etc.) with header.
+ the EVB.
Virtual COM Port
@@ -368,26 +378,8 @@ sudirectory and can be selected as follow:
Where <subdir> is one of the following:
- nettest:
- This configuration directory may be used to enable networking using the
- LM3S6918's Ethernet controller. It uses examples/nettest to excercise the
- TCP/IP network.
-
- httpd:
- This builds the uIP web server example using the examples/uip application
- (for execution from FLASH). See examples/README.txt for information
- about ostest.
-
- nsh:
- Configures the NuttShell (nsh) located at examples/nsh. The
- Configuration enables both the serial and telnetd NSH interfaces.
-
ostest:
This configuration directory, performs a simple OS test using
examples/ostest.
-By default, all of these examples are built to be used with the Luminary
-Ethernet Bootloader (you can change the ld.script file in any of these
-sub-directories to change that configuration).
-
diff --git a/nuttx/configs/lm3s6965-ek/ostest/ld.script b/nuttx/configs/lm3s6965-ek/ostest/ld.script
index 1c8d73aad..2bd910d91 100755
--- a/nuttx/configs/lm3s6965-ek/ostest/ld.script
+++ b/nuttx/configs/lm3s6965-ek/ostest/ld.script
@@ -33,16 +33,13 @@
*
****************************************************************************/
-/* The LM3S6918 has 256Kb of FLASH beginning at address 0x0000:0000. However,
- * if the Ethernet bootloader is used, then the entry point must be at the
- * following offset in FLASH (and the size of the FLASH must be reduced to
- * 248Kb):
+/* The LM3S6965 has 256Kb of FLASH beginning at address 0x0000:0000 and 64Kb
+ * of SRAM beginning at 0x2000:0000.
*/
MEMORY
{
-/* flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K */
- flash (rx) : ORIGIN = 0x00002000, LENGTH = 248K
+ flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
}