0.1.4 • Published 1 year ago

lpc-flash v0.1.4

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

npm version

LPC Flash

A library for programming flash based microcontrollers from NXP using a serial protocol.

It implements a function similar to Flash Magic but using Node.js, TypeScript and node-serialport instead.

In 2023, the original flashmagic.js was abandoned and very out of date. This fork is intended to keep it up to date and working with more modern practices.

Install

via Npm

npm install lpc-flash

via Git (GitHub)

npm install cinderblock/lpc-flash

API

Minimal sample code:

import flasher from 'lpc-flash';

const isp = new flasher.InSystemProgramming(path, baudrate, clk);
isp
  .open()
  .then(isp => flasher.handshake(isp))
  .catch(error => console.error(error));

Disclaimer

This tool is not related to Flash Magic. However, it is intended to be 100% compatible with NXP's legacy serial bootloader.

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago