From 5f6aa7f4f7874d87648c975b47334180076d3f26 Mon Sep 17 00:00:00 2001 From: tsarna Date: Wed, 28 May 2003 16:10:46 +0000 Subject: ICDPROG is a simple command line programmer for Microchip PIC controllers, using the Microchip or Olimex ICD (in circuit debugger) as a programmer. --- cross/icdprog/DESCR | 39 +++++++++++++++++++++++++++++++++++++++ cross/icdprog/Makefile | 17 +++++++++++++++++ cross/icdprog/PLIST | 2 ++ cross/icdprog/distinfo | 5 +++++ cross/icdprog/patches/patch-aa | 12 ++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 cross/icdprog/DESCR create mode 100644 cross/icdprog/Makefile create mode 100644 cross/icdprog/PLIST create mode 100644 cross/icdprog/distinfo create mode 100644 cross/icdprog/patches/patch-aa (limited to 'cross/icdprog') diff --git a/cross/icdprog/DESCR b/cross/icdprog/DESCR new file mode 100644 index 00000000000..28092732632 --- /dev/null +++ b/cross/icdprog/DESCR @@ -0,0 +1,39 @@ +icdprog - a programmer for Microchip PIC controllers. + +ICDPROG is a simple command line programmer for Microchip PIC controllers, +using the Microchip or Olimex ICD (in circuit debugger) as a programmer. +The program is written for command line usage. + +FEATURES + * Works with PIC16F87x, x = [0,1,2,3,4,6,7] (3,7 is well tested ... ) + * Reads intel hex format + * Auto-detects controller type + +run the program with + + ./icdprog + +or + + ./icdprog -p /dev/tty01 + +if you connect the ICD to serial port #2 + +TODO +* Better documentation, and web page +* Add EEPROM programming support +* Add verify mode (but it verifies during programming) +* Better error checking +* Set the fuse bits from the command line +* Windows port (I need this for our production environment) +* Check sum calculation +* gdb support :-) /* sorry, I am dreaming again ... */ + +MICROCHIP +If you have any problems with this software, please don't bug Microchip +with them. This software was written without any help from them +(it would have been much easier if they had released the specification +of the ICD..). Use the sourceforge forum instead. + +CREDITS +Geir Thomassen, geirt@powertech.no diff --git a/cross/icdprog/Makefile b/cross/icdprog/Makefile new file mode 100644 index 00000000000..1a85f133000 --- /dev/null +++ b/cross/icdprog/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/05/28 16:10:46 tsarna Exp $ + +DISTNAME= icdprog-0.3 +WRKSRC= ${WRKDIR}/${PKGNAME} +CATEGORIES= cross +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icdprog/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://icdprog.sourceforge.net/ +COMMENT= Microchip PIC programer using ICD hardware + +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/icdprog ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/cross/icdprog/PLIST b/cross/icdprog/PLIST new file mode 100644 index 00000000000..ebc91063d23 --- /dev/null +++ b/cross/icdprog/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/28 16:10:46 tsarna Exp $ +bin/icdprog diff --git a/cross/icdprog/distinfo b/cross/icdprog/distinfo new file mode 100644 index 00000000000..6c67eaaaa39 --- /dev/null +++ b/cross/icdprog/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/05/28 16:10:46 tsarna Exp $ + +SHA1 (icdprog-0.3.tar.gz) = 4e8a8aac8845c531971b7a371d6dc5a9d460dbea +Size (icdprog-0.3.tar.gz) = 8714 bytes +SHA1 (patch-aa) = 05e8cb5e69822ad854bd48bfcf0b24ea5b84ad22 diff --git a/cross/icdprog/patches/patch-aa b/cross/icdprog/patches/patch-aa new file mode 100644 index 00000000000..22ef89e1496 --- /dev/null +++ b/cross/icdprog/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/05/28 16:10:46 tsarna Exp $ + +--- Makefile.orig Tue May 20 16:07:18 2003 ++++ Makefile Tue May 20 16:09:06 2003 +@@ -10,6 +10,7 @@ + icdprog.o: intel.h icd.h + + $(TARGET): icdprog.o intel.o icd.o ++ cc -o $@ $> + + clean: + rm -f *~ *.o core $(TARGET) -- cgit v1.2.3