SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upload sketch with SerialUPDI HV Programmer doesn't work

avandalen opened this issue · comments

Hi,
I'm working on a new description of how to burn the bootloader:
https://avdweb.nl/arduino/attiny3217/bootloader-attiny3217

I have a problem with the megaTinyCore version 2.6.10 and the SerialUPDI_HV_Programmer

The used SerialUPDI HV Programmer is this:
https://github.com/wagiminator/AVR-Programmer/tree/master/SerialUPDI_HV_Programmer

This works well: I can upload sketches with the SerialUPDI HV programmer, with the high voltage pulse disabled to an new and unused ATtiny3217.

Problem:
Uploading sketches with the 12V pulse enabled, gives an error message, see below.

Can you try to upload a sketch to a new and unused ATtiny3217 with the 12V HV puls enabled?

Maybe it is necessary to first burn the bootloader (UPDI=UPDI, not reset pin) before being able to upload a sketch with HV pulse? The bootloader is maybe just needed to configures some fuses?

Note that, in the year 2020, I had successfully worked with the megaTinyCore and I was able to upload sketches via UPDI and also via the burned bootloader.

Arduino settings:
Arduino settings

Scope
UPDI with HV

Error messages
without HV pulse OK.txt

with HV12V pulse NOT OK.txt

Maybe, but I cant do anything about it, it is controlled by the megaTinyCore and the Arduino IDE.

I closed this issue because the actual problem was this:
#1077