Bug 83174

Summary: [Maintainer Update] devel/picprog "Werner Almesberger" patch, dev fix
Product: Ports & Packages Reporter: Erik Greenwald <erik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: erik
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devel-picprog.patch none

Description Erik Greenwald 2005-07-09 03:10:14 UTC
"Werner Almesberger" patch, which adds a "--slow" argument. Long 
serial cables and/or JDM programmers seem to need this, my gear
(olimex, 6' serial, 16f88's) refuses to work right without it...

this is the blurb from the picprog webpage

	Long cables, different values on capacitors and resistors, 
	and differences on sertial ports can cause very long signal 
	rise and fall times. The JDM device is sensitive to that, 
	and mostly is designed to be connected directly to computer 
	or with very short cable. The sensitivity also depends on 
	the PIC chip type. It may help to stretch the delays in 
	Picprog to allow for longer signal settling times. For 
	example this patch by Werner Almesberger, 
	picprog-1.7-werner-almesberger.diff, gives good example on 
	how to accomodate longer delays. Larger delays are needed 
	also for the uJDM programmer device.

additionally, I changed the default device from ttyS0 to cuaa0
(seems to be the first serial on my 5.4 box, tho my 6 box says
 cuad0)
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-13 21:02:41 UTC
State Changed
From-To: open->closed

Committed, thanks!