diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-13 14:49:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-13 14:49:21 +0000 |
commit | 77f58a73a4a41d6f26e296a7caab88c490aa0c95 (patch) | |
tree | 5c2e87c0d3704a87484eb0e7b186ec8e66a7a513 /nuttx/configs/lpcxpresso-lpc1768/tools | |
parent | c14fdd3ffe106e6f5eee49abc5182d55e190709c (diff) | |
download | px4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.tar.gz px4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.tar.bz2 px4-nuttx-77f58a73a4a41d6f26e296a7caab88c490aa0c95.zip |
Fix some issues with LPC17xx UART2 and 3 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3498 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lpcxpresso-lpc1768/tools')
-rwxr-xr-x | nuttx/configs/lpcxpresso-lpc1768/tools/flash.sh | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/tools/flash.sh b/nuttx/configs/lpcxpresso-lpc1768/tools/flash.sh index 6d3f890a7..0dc285132 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/tools/flash.sh +++ b/nuttx/configs/lpcxpresso-lpc1768/tools/flash.sh @@ -35,14 +35,19 @@ #################################################################################### USAGE="$0 <nuttx-path>" -echo "Assumptions:" -echo "" -echo " - Windows 7" -echo " - LPCXpresso 4.6 installed at /cygdrive/c/nxp/lpcxpresso_3.6" -echo " - AXF image built with Code Red" -echo " - LPC17xx" + +echo "############################################################################" +echo "# Assumptions:" +echo "#" +echo "# - Windows 7" +echo "# - LPCXpresso 3.6 installed at /cygdrive/c/nxp/lpcxpresso_3.6" +echo "# - AXF image built with Code Red" +echo "# - LPC1768" +echo "#" +echo "# You will need to edit this is any of the above are false" +echo "#" +echo "############################################################################" echo "" -echo "You will need to edit this is any of the above are false" # This is the default install location for binaries on Windows (note that this # path could change with the Code Red version number) @@ -121,6 +126,21 @@ cd ${BINDIR} || \ ./${BOOTLPC} ${BOOTLPC_ARG} || \ { echo "'${BOOTLPC} ${BOOTLPC_ARG}' Failed"; } +echo "" +echo "Wait a bit" +echo "5..." +sleep 1 +echo "4..." +sleep 1 +echo "3..." +sleep 1 +echo "2..." +sleep 1 +echo "1..." +sleep 1 +echo "0..." +echo "" + # Then program the FLASH ./${FLASHUTIL} ${WIRE} -p${TARGET} -flash-load-exec="${NUTTXPATH}" |