ZakKemble / AVRDUDESS

A GUI for AVRDUDE
https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
GNU General Public License v3.0
583 stars 127 forks source link

Add DIY UPDI USB programmer #72

Closed pierrotm777 closed 9 months ago

pierrotm777 commented 1 year ago

Hello,

I use and love AVRDUDESS as soon as possible and love it. Can you add this DIY UPDI programmer please ? DIY UPDI USB programmer

Thanks

Pierre

pcfreak1201 commented 1 year ago

jtag2updi already works with AVRDUDESS+avrdude 7.0 (at least with linux):

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
>>>: avrdude -C "/home/stefan/avrdude-7.0/avrdude.conf" -c jtag2updi -p avr32dd14 -P /dev/ttyUSB0 -v -U flash:w:"/home/stefan/pCloudDrive/Arduino/Blink.ino.avr32dd14.hex":a 

avrdude: Version 7.0
         Copyright (c) Brian Dean, http://www.bdmicro.com/
         Copyright (c) Joerg Wunsch

         System wide configuration file is "/home/stefan/avrdude-7.0/avrdude.conf"
         User configuration file is "/home/stefan/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : jtag2updi
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
  boot-loader FW version:        1
  firmware version:              6.00
  hardware version:              1
S_MCU:
  boot-loader FW version:        1
  firmware version:              6.00
  hardware version:              1
Serial number:                   00:00:00:00:00:00
Device ID:                       JTAGICE mkII
         AVR Part                      : AVR32DD14
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         Serial program mode           : yes
         Parallel program mode         : yes
         Memory Detail                 :

                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
           prodsig                 0     0     0    0 no        125  125      0     0     0 0x00 0x00
           tempsense               0     0     0    0 no          2    1      0     0     0 0x00 0x00
           sernum                  0     0     0    0 no         16    1      0     0     0 0x00 0x00
           fuses                   0     0     0    0 no          9   16      0     0     0 0x00 0x00
           fuse0       wdtcfg      0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse1       bodcfg      0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse2       osccfg      0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse4       tcd0cfg     0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse5       syscfg0     0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse6       syscfg1     0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse7       codesize    0     0     0    0 no          1    1      0     0     0 0x00 0x00
           fuse8       bootsize    0     0     0    0 no          1    1      0     0     0 0x00 0x00
           lock                    0     0     0    0 no          4    1      0     0     0 0x00 0x00
           userrow     usersig     0     0     0    0 no         32   32      0     0     0 0x00 0x00
           data                    0     0     0    0 no          0    1      0     0     0 0x00 0x00
           flash                   0     0     0    0 no      32768  512      0     0     0 0x00 0x00
           eeprom                  0     0     0    0 no        256    1      0     0     0 0x00 0x00

         Programmer Type : JTAGMKII_PDI
         Description     : JTAGv2 to UPDI bridge
         M_MCU HW version: 1
         M_MCU FW version: 6.00
         S_MCU HW version: 1
         S_MCU FW version: 6.00
         Serial number   : 00:00:00:00:00:00
         Vtarget         : 5.0 V

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e953b (probably avr32dd14)
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 "/home/stefan/pCloudDrive/Arduino/Blink.ino.avr32dd14.hex"
avrdude: input file /home/stefan/pCloudDrive/Arduino/Blink.ino.avr32dd14.hex auto detected as Intel Hex
avrdude: writing flash (816 bytes):

Writing | ################################################## | 100% 0.17s

avrdude: 816 bytes of flash written
avrdude: verifying flash memory against /home/stefan/pCloudDrive/Arduino/Blink.ino.avr32dd14.hex:
avrdude: input file /home/stefan/pCloudDrive/Arduino/Blink.ino.avr32dd14.hex auto detected as Intel Hex

Reading | ################################################## | 100% 0.16s

avrdude: 816 bytes of flash verified

avrdude done.  Thank you.

You only have to make sure, to use the latest @ElTangas src and select avrdude(+.conf) in avrdude-7.0 ...

pierrotm777 commented 1 year ago

Thanks 👍