I have this ATtiny1616 breakout board, and I'm attempting to upload an Arduino sketch to it following this documentation, but I'm getting the error "A programmer is required to upload" upon uploading a simple blink sketch. I have the following parameters set in the IDE:
- Board: ATtiny
- Chip: Attiny1616
- Programmer: Serial UPDI: Slow 57600 baud
I am using this USB-Serial adapter and it is connected to the ATtiny like so:
USB Vcc -> Vin
USB GND -> GND
USB RX -> 1k OHM
USB TX -> 1k OHM
1k OHM -> UPDI
And I have an LED connected to pin 5 of the ATtiny:
- PIN 5 -> LED -> 220 OHM -> GND
Below is the circuit. I also thought that maybe I had RX and TX mixed up, so I tried switching those connections but that didn't work either.
Using Arduino IDE 1.8.19 I get this error:
pymcuprog.pymcuprog_errors.PymcuprogError: UPDI initialisation failed