Hi,
I am in the process of writing a replacement for the Philips LPC2000
Flash Utility.
Being a Python fan I’m naturally writing it in Python. Hopefully the
upside of this will be complete portability.
A version of this is now ready, at least in an alpha form. I’m
getting ready to put it on Sourceforge as a release, but want to do
a bit more testing first. It is still a bit clunky, and many of the
features it really should have are incomplete, but is anybody up for
giving it a go?
Distribution:
Python 2.5 script + some assembly language as an Eclipse project
using GCC (the latter is not required unless you want to change the
functionality big time)
Platform:
Anything that will run Python+pySerial and has a spare RS232 serial
port. Although I have only tested it on WindowsXP, it should
certainly work on Cygwin, Linux and Macintosh as well.
It should work with virtual serial ports as well.
Dependencies - Runtime (script form):
Python > 2.4
pySerial
wxPython (for the UI, later)
Dependencies - Runtime (Win32 .EXE form)
none
Dependencies - Build:
Runtime+
Eclipse + WinARM (or any other GNU toolchain, but you will have to
work it out yourself)
py2exe if you want to make a Win32 .exe distribution
Done:
Boot into ISP mode
Load data into internal RAM
Read/Write internal memory
Program external flash (AMD 29LVxxx)
Configure external bus
Reboot with or without ISP
TODO:
Speed it up - currently relies on timeouts too much
Read/Write memory that is outside of the chip
Load data into external RAM
Individual sector erase
Program/erase internal Flash
Internal and external Flash sector protection
Handle differences between LPC family members
User interfaces (GUI and command line)
Support other arrangements and types of external flash
Lots and lots of testing
MSWindows runtime & installer - probably when the UI is done
I am also thinking of some integration with OpenOCD???