Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support to program ATtiny13a #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aaronaverill opened this issue Aug 19, 2019 · 4 comments
Closed

Add support to program ATtiny13a #9

aaronaverill opened this issue Aug 19, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@aaronaverill
Copy link
Contributor

I love this piece of code to program my attiny85 and atmega328 with my feather. On a lark I got some attiny13a from the maker space in a DIP-8 - same pinout as tiny85, plugged it into a breadboard to see what it could do. Found the page size, flash size, signature ect, no problem.

I was able to read the signature and set fuses but not program the chip. I traced it to program_file() calling begin() with the default cock=FAST_CLOCK. When I tweaked this to use the SLOW_CLOCK value everything works great.

Suggestion: Add a parameter to the chip array that allows the caller to set the clock to fast or slow for programming. Check the chip['clock_speed'] option, if it's not empty, use that for programming the chip thru SPI.

Voila, now you will support ATtiny13a

@ladyada
Copy link
Member

ladyada commented Aug 19, 2019

ya that sounds good. wanna add such a thing as a PR? :)

@ladyada ladyada added the enhancement New feature or request label Aug 19, 2019
@aaronaverill
Copy link
Contributor Author

bwahaha. squeaky wheel. lol... do I want to? meh. will I? absolutely I can do this, and I've got all the chips for testing. thanks for consideration. i'll cook it up tonite <3

@ladyada
Copy link
Member

ladyada commented Aug 19, 2019

awesome! can't wait :)

@aaronaverill
Copy link
Contributor Author

#10

@ladyada ladyada closed this as completed Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants