Bug 83174 - [Maintainer Update] devel/picprog "Werner Almesberger" patch, dev fix
Summary: [Maintainer Update] devel/picprog "Werner Almesberger" patch, dev fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-09 03:10 UTC by Erik Greenwald
Modified: 2005-07-13 21:02 UTC (History)
1 user (show)

See Also:


Attachments
devel-picprog.patch (6.08 KB, patch)
2005-07-09 03:10 UTC, Erik Greenwald
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!