Adapt script for your configuration
DEVICE = 't402'
COM = 'com5'
dudePath = 'c:/progs/avrdude'
https://github.com/avrdudes/avrdude
https://github.com/ZakKemble/AVRDUDESS
https://github.com/Dlloydev/jtag2updi/wiki/Arduino-Nano-HV-UPDI-Programmer
https://github.com/Dlloydev/jtag2updi
https://www.python.org/
https://code.visualstudio.com/
qrt@qland.de 230203