Hi,

On 21/02/2023 20:40, Klaus wrote:
Hi Konrad,
1) Get a cheap USB-serial-TTL dongle from your online electronics
discounter of choice. The TTL part is important. (There are plenty of
CP210x, FTsomething, and CH340 based designs out there. And they are
really cheap.)

I found a project with hardware including gerber files here:

https://www.electronics-lab.com/usb-updi-programmer-pcb-for-avr-micrcontrollers/

Maybe that helps a bit :-)

Exactly the same design, just on one PCB. It uses a slightly different resistor (4.7k instead of 1k).

If there is interest I can post my own KiCad files for a similar design and a short tutorial in the evening.


5) Tell AVRdude to use a "serialupdi" progger (because that's what you
just hacked together).

Which one is a "serialupdi" progger?

In my config I found the following updi named proggers, but which one
can be used for that simple usb2-5v-serial-1k prog hardware?

I think you meant to list a few progger names?

The "serialupdi" only appeared around avrdude 7.0 - so check you have a current version. It is spelled exactly as I wrote it in this mail:

bash> avrdude -c \? 2>&1 | grep -i updi
 atmelice_updi      = Atmel-ICE (ARM/AVR) in UPDI mode
 jtag2updi          = JTAGv2 to UPDI bridge
 jtag3updi          = Atmel AVR JTAGICE3 in UPDI mode
 pickit4_updi       = MPLAB(R) PICkit 4 in UPDI mode
 pkobn_updi         = Curiosity nano (nEDBG) in UPDI mode
 powerdebugger_updi = Atmel PowerDebugger (ARM/AVR) in UPDI mode

_* serialupdi         = SerialUPDI    <<<<===== THAT'S THE ONE*_

 snap_updi          = MPLAB(R) SNAP in UPDI mode
 xplainedmini_updi  = Atmel AVR XplainedMini in UPDI mode
 xplainedpro_updi   = Atmel AVR XplainedPro in UPDI mode

If you don't have that: simply download AVRdude sources from GitHub and compile it yourself. It's really easy.

    Konrad

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to