bugAVR Downloader/UploaDEr - Bugs: bug #41631, TPI bitbang for preprogrammed...


You are not allowed to post comments on this tracker with your current authentication level.

bug #41631: TPI bitbang for preprogrammed ATtinys can fail (Patch attached)

Submitted by:  Matthias Neeracher <microtherion>
Submitted on:  Tue 18 Feb 2014 01:13:56 PM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Matthias Neeracher
Open/Closed:  Open Release:  None
Programmer hardware:  Device type: 

Tue 18 Feb 2014 01:13:56 PM UTC, original submission:

If an ATtiny4/5/9/10 has been programmed with software that sets PB0 (a.k.a TPIDATA) as an output, this will interfere with the MOSI -> MISO connectivity test when avrdude tries to reprogram the MCU.

The simplest solution, it seems to me, is to hold RESET low during the MOSI->MISO test. I’ve attached a patch implementing this, which works for me (Using a Buspirate as the programmer).

Matthias Neeracher <microtherion>


Attached Files
file #30594:  bitbang,patch added by microtherion (554B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by microtherion (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-18 microtherion Attached File- => Added bitbang,patch, #30594

    Back to the top

    Powered by Savane 3.4