Skip to main content

NXP ISP Cortex-M programming tool

Project description

NXPISP

ISP Programmer for NXP Cortex-M Chips

Command line programmer for the NXP ISP interface.

Features

Secure Write

The checksum in flash is written to zero as the first write, so if the upload fails the chip will boot back into the ISP mode. The image is then written from the top most page down to the first page. The first sector contains the valid image checksum so a failed write will keep the device in ISP mode instead of just being bricked.

Chip Families Supported:

LPC84x
LPC82x
LPC80x

UU encoded families not supported (LPC1700 family and similar)

NXP chips with 1kB sector sizes should work by adding their information to the lpctools_parts.def configuration file.

The configuration file is identical to that used by the lpctools project http://git.techno-innov.fr/?p=lpctools

Usage

Erase Entire Flash: isp_programmer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 masserase
Program Flash: isp_programmer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 writeimage --imagein blinky804.hex
Read Chip Info: isp_programmer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 querychip

Installation

NXPISP is a python3 package and can be installed using pip. Clone the repository, enter the directory with setup.py in it and run pip install . The default location for the configuration file is at /etc/lpctools_parts.def. The file can either be copied there or the path passed in when calling the tool with the --config_file/-f flag.

1. cd NXPISP
2. pip install .
3. cp lpctools_parts.def /etc

Similar Projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ISPProgrammer-1.1.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file ISPProgrammer-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ISPProgrammer-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 064ced6125111e5b760d924586472dde0419620619ed80f73a371e873879b4e8
MD5 b803dcdf4466509f50283c240ae4e360
BLAKE2b-256 70a002670df2ac7a64ffdef68496741bc6cbc5e97daf17e527469a1d09cf26fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page