diff options
author | tsarna <tsarna> | 2003-05-28 16:10:46 +0000 |
---|---|---|
committer | tsarna <tsarna> | 2003-05-28 16:10:46 +0000 |
commit | 8e507d4f433fe5e518eb2eed092badc169caf10b (patch) | |
tree | dcb789b472f2adf419bc06515fc96391fb17affd /cross | |
parent | 5b30b4a2c1da8c48c8775e017fadfec2a9a1846d (diff) | |
download | pkgsrc-8e507d4f433fe5e518eb2eed092badc169caf10b.tar.gz |
ICDPROG is a simple command line programmer for Microchip PIC controllers,
using the Microchip or Olimex ICD (in circuit debugger) as a programmer.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/icdprog/DESCR | 39 | ||||
-rw-r--r-- | cross/icdprog/Makefile | 17 | ||||
-rw-r--r-- | cross/icdprog/PLIST | 2 | ||||
-rw-r--r-- | cross/icdprog/distinfo | 5 | ||||
-rw-r--r-- | cross/icdprog/patches/patch-aa | 12 |
5 files changed, 75 insertions, 0 deletions
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 <hex file> + +or + + ./icdprog -p /dev/tty01 <hex file> + +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) |