pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/picprog



Module name:    wip
Committed by:   leot1990
Date:           Sat Aug 23 23:07:16 UTC 2014

Modified Files:
        wip/picprog: DESCR Makefile distinfo
Added Files:
        wip/picprog/patches: patch-Makefile patch-picport.cc
            patch-testport.cc

Log Message:
Update wip/picprog to picprog-1.9.1, requested by Piotr Staszewski on
#netbsd@Freenode.

While here also add DESTDIR support, improve COMMENT and DESCR a bit (all stolen
from official web site).

Compile-tested only.

Changes:
2003-08-10 version 1.2 
With help from Taneli Kalvas changed the schemantics diagram and pcb mask to
ground the RB4 pin, selecting high voltage programming on for example pic16f628.

Implemented preservation of OSCCAL and other calibration data. 
Added automatic detection of devices based on location 0x2006. 
Merged Bart Goossens's changes to implement PIC16F73. I hope it works.

2003-08-21 version 1.3 
Autodetect more chips. Fix programming of chips with OSCCAL. Fix erasing some
chips - erasing and resetting code protection is now performed the hard way: all
methods are tried regardless of chip type. --erase now works also without
--input-hexfile flag.

2004-01-02 version 1.4 
Add option --force-calibration to program OSCCAL and BG bits. Implement
programming algorithms for 16f87/16f88 and 16f87Xa. Revise some timings on
programmer reset to avoid operating voltage to dip. More verbose output on how
many locations actually were burned.

2004-03-02 version 1.5 
Fix PIC16F87xA configuration word burning. Remove the 10k resistor added by me
from the PCB and schema. Add support for PIC18 family. Make the DTR be held low
as long as possible. This may improve the reliability and limit stress on RS-232
port.

2004-03-19 version 1.6 
Now compiles on Windows with Cygwin DLL version 1.5.8 and later. More accurate
timings result in shorter programming times compared to previous versions. These
timings use the CPU RDTSC instruction on x86 and AMD64 plattforms. PIC16F87/88
second configuration word programming implemented.

2004-04-28 version 1.7 
Fixed 16c OTP and UV erased parts EPROM programming to use 100µs
programming/overprogramming pulses. Use real time priorities and nanosleep() for
delays if run under root priviledges. Relax timings so that they work out of the
box with longer cables. Fixed PIC12F629 / PIC12F675 / PIC16F627a / PIC16F628a /
PIC16F648a / PIC16F630 / PIC16F676 programming with >1.3GHz i386 CPU.

2006-03-05 version 1.8 
Experimental dsPIC support, never tested, just compiled. Disabled the real time
priorities, the nanosleep function does not work any more in Linux 2.6 kernels
as it used to. Exit value 76 added to indicate unsupported chip id. Added more
PIC18F models, thanks to Jan Wagemakers from Belgium.

2006-03-26 version 1.8.1 
Fix a mistake with 18f[24]5[128]5 and 18f[24]6[128]0. Thanks to Jan Wagemakers
for the fix.

2006-09-28 version 1.8.3 
Added --rdtsc, --nordtsc and --slow options. They may help with laptops and new
faster models of CPUs. Made --nordtsc the default. This was originally release
1.8.2 that did not have that default.

2008-06-05 version 1.9.0 
New chips defined, including 12 bit parts, thanks to Renato Caldas, Kevin
Buettner, Alexander Zangerl and Jan Wagemakers. Chip presence is no more
detected with start/stop bit checking, as some chips do not clear them (see
Debian bug #412778). Microcontroller is now powered off before any operations
with --reboot option, thank you for the idea to Mauro Giachero. Some code
changes remove duplicate port initialization. Timings have been changed
completely, hopefully this fixes the erratic behaviour with some chips. Thank
you for testing and ideas to Mauro Giachero and Jan Wagemakers. Added
environment variables PIC_PORT and PIC_DEVICE, thanks to monttyle. Added --k8048
option for Velleman K8048 with reversed signals, thanks to Bob Dunlop and Neil
Turton.

2010-04-14 version 1.9.1 
Fixed a bug that prevented erasing chip with OSCCAL words. Thank you for Eckhard
Neber for finding this. Read also short hexfile data lines, thanks to Jacques
Klei, Salie Adams, Redzinalds Knipsis and Jani Turkia for pointing this out.
Charge capacitors a little longer, suggested by Bernard Hatt. Added some NOP
commands to PIC18F programming sequence, suggested by Marco Mattila. Fixed
warnings with current compilers. Changed license to GPL3. Thanks to Mario
Castelán Castro for reminding about that.


To generate a diff of this commit:
cvs -z3 rdiff -u -r0 -r1.1 wip/picprog/patches/patch-Makefile \
    wip/picprog/patches/patch-picport.cc \
    wip/picprog/patches/patch-testport.cc
cvs -z3 rdiff -u -r1.1.1.1 -r1.2 wip/picprog/DESCR
cvs -z3 rdiff -u -r1.2 -r1.3 wip/picprog/distinfo
cvs -z3 rdiff -u -r1.9 -r1.10 wip/picprog/Makefile

To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/patches/patch-Makefile?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/patches/patch-picport.cc?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/patches/patch-testport.cc?r1=0&r2=1.1
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/DESCR?r1=1.1.1.1&r2=1.2
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/distinfo?r1=1.2&r2=1.3
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/picprog/Makefile?r1=1.9&r2=1.10

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs


Home | Main Index | Thread Index | Old Index