summaryrefslogtreecommitdiff
path: root/nuttx/configs/pcblogic-pic32mx/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-27 19:50:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-27 19:50:35 +0000
commit34abeda54d7093df62fc2808601c7d7e0bb2ab1c (patch)
tree84593559b23d580c9330f7c2ca516069a166c789 /nuttx/configs/pcblogic-pic32mx/README.txt
parenta500a9ab6d73b61328c3e42e4b1e103ad0656e07 (diff)
downloadpx4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.tar.gz
px4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.tar.bz2
px4-nuttx-34abeda54d7093df62fc2808601c7d7e0bb2ab1c.zip
Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4431 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pcblogic-pic32mx/README.txt')
-rw-r--r--nuttx/configs/pcblogic-pic32mx/README.txt25
1 files changed, 10 insertions, 15 deletions
diff --git a/nuttx/configs/pcblogic-pic32mx/README.txt b/nuttx/configs/pcblogic-pic32mx/README.txt
index ab41a57fd..5fe88db5c 100644
--- a/nuttx/configs/pcblogic-pic32mx/README.txt
+++ b/nuttx/configs/pcblogic-pic32mx/README.txt
@@ -227,41 +227,36 @@ Loading NuttX with PICkit2
directory:
1) nuttx - This is an ELF file, and
- 2) nuttx.ihx - This is an Intel Hex format file. This is controlled by
+ 2) nuttx.hex - This is an Intel Hex format file. This is controlled by
the setting CONFIG_INTELHEX_BINARY in the .config file.
- The PICkit tool wants an Intel Hex format file to burn into FLASH.
- However, there are two problems with the generated nutt.ihx:
-
- 1) The tool expects Intel Hex format files to be named *.hex. This
- is not a significant issue. However, just renaming the file to
- nuttx.hex is *not* sufficient. There is another problem:
- 2) The tool expects the nuttx.hex file to contain physical addresses.
- But the nuttx.ihx file generated from the top-level make will have
- address in the KSEG0 and KSEG1 regions.
+ The PICkit tool wants an Intel Hex format file to burn into FLASH. However,
+ there is a problem with the generated nutt.hex: The tool expects the nuttx.hex
+ file to contain physical addresses. But the nuttx.hex file generated from the
+ top-level make will have address in the KSEG0 and KSEG1 regions.
tools/mkpichex:
---------------
There is a simple tool in the configs/pcblogic-pic32mx/tools directory
- that can be used to solve both issues with the nuttx.ihx file. But,
+ that can be used to solve both issues with the nuttx.hex file. But,
first, you must build the the tools:
cd configs/pcblogic-pic32mx/tools
make
Now you will have an excecutable file call mkpichex (or mkpichex.exe on
- Cygwin). This program will take the nutt.ihx file as an input, it will
+ Cygwin). This program will take the nutt.hex file as an input, it will
convert all of the KSEG0 and KSEG1 addresses to physical address, and
- it will write the modified file as nuttx.hex.
+ it will write the modified file, replacing the original nuttx.hex.
To use this file, you need to do the following things:
. ./setenv.sh # Source setenv.sh. Among other this, this script
# will add configs/pcblogic-pic32mx/tools to your
# PATH variable
- make # Build nuttx and nuttx.ihx
- mkpichex $PWD # Convert nuttx.ihx to nuttx.hex. $PWD is the path
+ make # Build nuttx and nuttx.hex
+ mkpichex $PWD # Convert addresses in nuttx.hex. $PWD is the path
# to the top-level build directory. It is the only
# required input to mkpichex.