Skip to content

Could a pre-compiled binary be made available? #4

@AaronD-GH

Description

@AaronD-GH

For those of us that don't want to modify it, but "just drop it in and go", it would be nice to have something that is already known to work with a standalone programmer.

I can export a hex file from the Arduino IDE, but it only includes the Flash, not the Fuses. I guess that's a start, but the Fuses are important too! How to get those? Read the datasheet and build them up manually from the screenshot of the author's (old now) Arduino IDE?

Why I think I need this:

I rearranged the schematic and PCB from here, to make it a hat for a Raspberry Pi that uses the Pi's GPIO UART, driven from pymcuprog with its recommended schematic for UPDI. ( https://pypi.org/project/pymcuprog/ and https://github.com/microchip-pic-avr-tools/pymcuprog/blob/main/help.md and https://community.platformio.org/t/pymcuprog-cant-use-my-uart/40104/6 ) A set of jumpers allows the same UART to program the onboard ATtiny202 instead of an external target. As far as the ATtiny202 is concerned, it does the exact same function with the exact same code.

Of course, HV UPDI isn't available for the onboard chip, so I need to make absolutely sure that I don't brick it while still setting the rest of the Fuses to make the key work. But I don't see a UPDI setting in the Arduino IDE anymore, which makes me nervous. Did it get dropped? And does the new default setting brick it by accidentally requiring HV?

So, with pymcuprog by itself, not the Arduino IDE, how to make the connection between the documentation here and a completely programmed chip? I think a complete set of binary data would do that, and it appears from the middle link above that using pymcuprog by itself to read a working key would produce that data in a single hex file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions