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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Matthias Neeracher
Open/Closed: Open

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
  • -unavailable- added by microtherion (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Feb 2014 01:13:56 PM UTCmicrotherionAttached File-=>Added bitbang,patch, #30594

    Back to the top


    Powered by Savane 3.1-cleanup