Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DIY UPDI USB programmer #72

Closed
pierrotm777 opened this issue Oct 25, 2022 · 2 comments
Closed

Add DIY UPDI USB programmer #72

pierrotm777 opened this issue Oct 25, 2022 · 2 comments

Comments

@pierrotm777
Copy link

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
Copy link

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
Copy link
Author

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants