Polarisru / updiprog

Pure-C utility for programming AVR devices with UPDI interface using a standard TTL serial port
BSD 2-Clause "Simplified" License
37 stars 21 forks source link

Adding tiny42x support #11

Open gregoiregentil opened 2 years ago

gregoiregentil commented 2 years ago

I think that you could add support for tiny42x by adding at https://github.com/Polarisru/updiprog/blob/master/devices.c#L138

{ "tiny42x", 0x8000, 4 * 1024, 64, 0x0F00, 0x1000, 0x1100, 0x1280, 0x1300, 10 },

taken from https://github.com/microchip-pic-avr-tools/pymcuprog/blob/main/pymcuprog/deviceinfo/devices/attiny424.py

The only difference with attiny41x seems to be 10 fuses instead of 11 (unless I'm mistaken).