Tree [63215e] master /
History



File Date Author Commit
.gitignore 2013-04-18 Brian Murphy Brian Murphy [db079a] ignore uploads directory
Makefile 2013-05-14 Brian Murphy Brian Murphy [72e9ad] 2.1 release
README 2009-05-13 Brian Murphy Brian Murphy [c832bf] refer to program for builtin help
RELEASE_2_0 2013-04-18 Brian Murphy Brian Murphy [e9413f] release notes for 2.0
RELEASE_2_1 2013-05-14 Brian Murphy Brian Murphy [72e9ad] 2.1 release
ihex.py 2013-04-18 Brian Murphy Brian Murphy [3cff98] convert to python3
nxpprog.py 2014-12-10 Brian Murphy Brian Murphy [63215e] support masking of dev id word 1 - specifically...

Read Me

Programmer for NXP arm processors using ISP protocol.

For help run the command with no arguments:

./nxpprog.py

Program image file to processor:

./nxpprog.py <serial device> <image_file>

The image start address defaults to 0.
When the image start address is 0 a checksum is inserted in the reserved
interrupt vector so that the bootloader will boot the image.
The image file is a raw binary file (output from objcopy -O binary).

Note:
Xonxoff flow control does not work with some usb serial
converters on windows and doesn't seem necessary in my setup.
If you in your setup need flow control, for example
if you get programming errors, then try enabling this.

Windows Advice

When you have installed python for windows and the (py)serial module
then something like this should work:

<path to python>\python.exe nxpprog.py COM1 image.bin

It is very important that the serial port name is written in capital letters,
lower case names will not be matched against possible serial devices.