AVR Downloader/UploaDEr - Bugs: bug #28611, -i delay not being applied to all...
You are not allowed to post comments on this tracker with your current authentication level.
bug #28611: -i delay not being applied to all serial port bit banging state transitions
Submitter: | None | ||
Submitted: | Fri 15 Jan 2010 02:37:53 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | Soren Jorvang |
Originator Email: | -email is unavailable- | Open/Closed: | Closed |
Release: | None | Programmer hardware: | |
Device type: |
Attached Files
file #19494: avrdude.diff added by None (1KiB - application/octet-stream - Patch to apply -i delay to all serbb state transitions)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-01-15 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2010-01-15 | None | Attached File | - | Added avrdude.diff, #19494 |
Powered by Savane 3.13-4b48.
Corresponding source code
Getting started with AVR's, I wanted to bootstrap myself with a simple serial port bit-banging programmer despite having only USB serial (Prolific 2303) adapters available.
That didn't work, but only because the -i delay wasn't being applied to all pin state transitions.
With this patch and the osx-pl2303 driver (the one from prolific.com.tw doesn't allow bit banging at all), communication starts working at -i 1000 and is reliable at -i 5000.
This gives a flash write rate of no more than 2 bytes/s, but that's acceptable for the occasional initialization of a fancier programmer or a boot loader.