Skip to content

Add support to program ATtiny13a #9

Closed
@aaronaverill

Description

@aaronaverill

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions