Wed Sep 10 12:03:00 CEST 2008


I'm thinking about contributing to the USBprog PICkit2 v2 firmware clone:


Preliminary source code is in the SVN

  svn co http://svn.berlios.de/svnroot/repos/usbprog

The directory with firwmare is here:

  svn co http://svn.berlios.de/svnroot/repos/usbprog/trunk/usbprogPIC/firmware2/

Since there is already C code, writing it in Forth is maybe not a good
idea.  A more interesting approach might be reverse-engineering of the
.HEX file + build some tools for that.

Writing C for AVR is probably also a good starting point to get more
familiar with the architecture + it could allow some code generation

Conclusion, for me this project is about:

  * Working towards a standard programmer for Staapl, next to the
    native PICkit2

  * Adding some reverse engineering functionality for PIC18 (including
    some simulator stuff?)

  * Getting to know the AVR and it's gcc based toolchain, and get an
    idea of how good the compiler actually is, to see if there's much
    to gain with a stack-based HAL.