bugAVR Downloader/UploaDEr - Bugs: bug #37768, Poll usbtiny 100 times at init...

 
 
Show feedback again

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

bug #37768: Poll usbtiny 100 times at init time to handle low-clock devices

Submitted by:  Keith Packard <keithp>
Submitted on:  Sun 18 Nov 2012 07:21:16 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: keithp
Open/Closed: Open

Sun 18 Nov 2012 07:21:16 PM UTC, original submission:

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.

Keith Packard <keithp>

 

Attached Files
file #26926:  0001-Poll-usbtiny-100-times-at-init-time-instead-of-twice.patch added by keithp (2kB - text/x-diff - Patch adding polling loop)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by keithp (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
    Sun 18 Nov 2012 07:21:16 PM UTCkeithpAttached File-=>Added 0001-Poll-usbtiny-100-times-at-init-time-instead-of-twice.patch, #26926
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup