avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #37768] Poll usbtiny 100 times at init time to handle


From: Keith Packard
Subject: [avrdude-dev] [bug #37768] Poll usbtiny 100 times at init time to handle low-clock devices
Date: Sun, 18 Nov 2012 19:21:18 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.9) Gecko/20100101 Firefox/10.0.9 Iceweasel/10.0.9

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

                 Summary: Poll usbtiny 100 times at init time to handle
low-clock devices
                 Project: AVR Downloader/UploaDEr
            Submitted by: keithp
            Submitted on: Sun 18 Nov 2012 07:21:16 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: keithp
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I've got an ATtiny85 project that clocks the CPU down to 250kHz at boot time.
That's too slow for programming. To fix this, I need to hold RESET low when
first powering up the device.

Here's a patch which polls the programmer 100 times at init time instead of
polling only twice. As reset is held low while polling, this allows me to
start avrdude and then power up the device. As soon as the power switch is
flipped, programming starts.

Devices which aren't broken like this won't see any changes.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 18 Nov 2012 07:21:16 PM GMT  Name:
0001-Poll-usbtiny-100-times-at-init-time-instead-of-twice.patch  Size: 2kB  
By: keithp
Patch adding polling loop
<http://savannah.nongnu.org/bugs/download.php?file_id=26926>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]