avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61624] [Feature request] Serial/UART UPDI programmers


From: Dawid Buchwald
Subject: [bug #61624] [Feature request] Serial/UART UPDI programmers
Date: Sun, 12 Dec 2021 15:07:30 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36

Follow-up Comment #3, bug #61624 (project avrdude):

Hello, I have some good news for you - I have first alpha version of the
SerialUPDI programmer. I hope you can give it a spin and let me know if it
works for you. I'm using FT232RL chip with a diode between Rx and Tx, 1K
resistor between Tx and Diode and 470 resistor between UPDI pin and the diode,
just like the "ideal" setup described in SerialUPDI documentation.

I will be most grateful if you could test drive it and let me know if you run
into any issues. Should that happen, please run AVRDUDE with -v -v -v flags to
provide full debug trace for me to investigate.

To start playing, you need to fetch it from SVN branch here:

http://svn.savannah.gnu.org/viewvc/avrdude/branches/serialupdi/

Then follow the usual "build from sources" procedure. It should build without
any issues, and then you can:

➜  avrdude ./avrdude -C ./avrdude.conf -p avr128db28 -b 230400 -c serialupdi
-U flash:w:flash.bin:r -U fuse0:w:0x00:m -U fuse1:w:0x00:m -U fuse5:w:0xc9:m
-U fuse6:w:0x14:m -U fuse7:w:0x00:m -U fuse8:w:0x00:m -P
/dev/tty.usbserial-AB0JSZFM

avrdude: UPDI link initialization OK
avrdude: NVM type 2: 24-bit, word oriented write
avrdude: Entering NVM programming mode
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.04s

avrdude: Device signature = 0x1e970e (probably avr128db28)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be
performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "flash.bin"
avrdude: writing flash (928 bytes):

Writing | ################################################## | 100% 0.34s

avrdude: 928 bytes of flash written
avrdude: verifying flash memory against flash.bin:
avrdude: load data flash data from input file flash.bin:
avrdude: input file flash.bin contains 928 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.24s

avrdude: verifying ...
avrdude: 928 bytes of flash verified
avrdude: reading input file "0x00"
avrdude: writing fuse0 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse0 written
avrdude: verifying fuse0 memory against 0x00:
avrdude: load data fuse0 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse0 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse0 verified
avrdude: reading input file "0x00"
avrdude: writing fuse1 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse1 written
avrdude: verifying fuse1 memory against 0x00:
avrdude: load data fuse1 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse1 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse1 verified
avrdude: reading input file "0xc9"
avrdude: writing fuse5 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse5 written
avrdude: verifying fuse5 memory against 0xc9:
avrdude: load data fuse5 data from input file 0xc9:
avrdude: input file 0xc9 contains 1 bytes
avrdude: reading on-chip fuse5 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse5 verified
avrdude: reading input file "0x14"
avrdude: writing fuse6 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse6 written
avrdude: verifying fuse6 memory against 0x14:
avrdude: load data fuse6 data from input file 0x14:
avrdude: input file 0x14 contains 1 bytes
avrdude: reading on-chip fuse6 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse6 verified
avrdude: reading input file "0x00"
avrdude: writing fuse7 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse7 written
avrdude: verifying fuse7 memory against 0x00:
avrdude: load data fuse7 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse7 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse7 verified
avrdude: reading input file "0x00"
avrdude: writing fuse8 (1 bytes):

Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of fuse8 written
avrdude: verifying fuse8 memory against 0x00:
avrdude: load data fuse8 data from input file 0x00:
avrdude: input file 0x00 contains 1 bytes
avrdude: reading on-chip fuse8 data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...
avrdude: 1 bytes of fuse8 verified

avrdude: safemode: Fuses OK (E:FF, H:FF, L:FF)
avrdude: Leaving NVM programming mode

avrdude done.  Thank you.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?61624>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]