ElTangas / jtag2updi

UPDI programmer software for Arduino (targets Tiny AVR-0/1/2, Mega AVR-0 and AVR-DA/DB MCUs)
MIT License
318 stars 91 forks source link

Supported chips to use as programmer? #42

Open sideswiper22 opened 3 years ago

sideswiper22 commented 3 years ago

Hi! Aside from the atmega328p and 2560, what other similar avr chips are supported as a programmer? Will this work with attinies as well?

ElTangas commented 3 years ago

Sorry, the documentation really needs an update... Anyway, you can find a list of supported parts on this file: https://github.com/ElTangas/jtag2updi/blob/master/source/parts.h

Probably other chips can be added. The most important requirement is at least 512 bytes of SRAM.

sideswiper22 commented 3 years ago

Thank you! There seems to be no list of what pin is used for the programming line. Where can I find the pin assignment and how can they be reassigned?

ElTangas commented 3 years ago

The configuration is mostly done in this file: https://github.com/ElTangas/jtag2updi/blob/master/source/sys.h

sideswiper22 commented 3 years ago

Any chance for the old ATtiny parts to be supported?

ElTangas commented 3 years ago

Any chance for the old ATtiny parts to be supported?

It's not likely, because those parts usually have small amounts of RAM, and jtag2updi requires at least 300 bytes. This means only chips with 512 bytes of RAM or more can run it.

token47 commented 1 year ago

I have a lot of small boards with ATtiny85 and a USB port on them (with the size of a usb flash drive). It would be very nice to be able to run jtag2updi on them (the attiny85 does have 512 bytes of ram and 8k of flash). I think the main issue is that this board (and many other boards with the tiny series) do not have any USB-to-Serial chip, and would require the integration with V-USB, which although probably possible, is not necessarily easy. The ease with the arduino boards is that they come with the serial part ready to use.