URL:
  <http://savannah.nongnu.org/bugs/?41631>

                 Summary: TPI bitbang for preprogrammed ATtinys can fail
(Patch attached)
                 Project: AVR Downloader/UploaDEr
            Submitted by: microtherion
            Submitted on: Tue 18 Feb 2014 01:13:56 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Matthias Neeracher
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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).





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 18 Feb 2014 01:13:56 PM GMT  Name: bitbang,patch  Size: 554B   By:
microtherion

<http://savannah.nongnu.org/bugs/download.php?file_id=30594>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41631>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to