Paid Job: Help me get Adafruit_AVRProg working

Trying to use the Adafruit_AVRProg library working. Want to use a mega 2560 to flash attiny1606 but am doing something wrong somewhere. I asked for help over on their forum but they just said it's unsupported. Heres the thread Help Using AVRProg - adafruit industries

Been trying to figure this out for months, I'm a hardware person not a coder

Why don't you use ArduinoISP? https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP

Because the chip uses UPDI for programming

Follow the breadcrumbs:
https://microchipdeveloper.com/atmelice:updi

This library is designed to be used standalone so not attached to a pc like most of the other programmers, I have already used jtagtoupdi and serialupdi.

Anyway figured it out AVR is unsupported in that library, switched to a different platform and all is fine

That's a bit vague. Can you post a schematic showing how you have things connected, including which pins on the Mega you are using?

You have some sort of ATtiny1606 custom board for your target? Never been programmed before (ie couldn't possibly have LV UPDI disabled?)

Figured it out AVR is unsupported, switched to esp32 and its good

Huh. My impression was it's not "supported" at all (more of an Adafruit internal tool.)
But it's a bit mysterious that it doesn't "work" on AVR; A quick glance fails to reveal anything obvious :frowning:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.