Beautiful explanation. Thank you sir for the great tutorial. It worked the first time. It's fantastic. I didn't know what to do until I found your video. I have an Atmega 4809, but it's actually the same. Keep going.
Really nice video! Thank you for showing how easy it is! Hope you can make a video on the micro updi programmer board as well. Feels like it should be easy with that one also. You got another subscriber! 😀
Great tutorial, thanks for added all the necessary inks to the description. I have been looking for a cheap 328P replacement due to the chip shortage, this seems to fit the bill.
Thank you for sharing with us how to make a UPDI programmer. I’m getting into some of the new attiny lineup models.but now seeing this chip. I might have a go at the 4808 in time.
Thanks for a clear explanation of this. I used the microupdi board you mention towards the end of your vid, and whilst it worked initially, my pro micro board is no longer recognised by the Arduino IDE, so can't upload the firmware. More research req'd :) :)
Oh, why is there so little activity on such a good channel? Seems like youtube didn't recommend your videos even to me, although it suits my interests and searches perfectly
Beyond loading sketches, can this UPDI Programmer be used to set fuses and Lock bits? I have a need to lock an Arduino Nano Every but don't have access via AVRDUDESS.
Fixed my issue, just had to use avrdude. This all gets a little confusing because most people use this for the ATTINY processors and assume an unlocked state or download a bootloader. It just wasn't clear to me initially that avrdude was included in arduino or how to access it initially. Also the pins dont match up for the 40 pin 4809? idk im looking into it (probably just missed a paragraph somewhere again)
Hey, I am working on a small project that requires this chip, but I can't find it anywhere would you be able to provide a link to where you bought it? If not, would all the libraries and devices you used work to program an ATmega328P?
Yes, all chips seem be be hard to find these days. Unfortunately the UPDI programming method doesn't work with the Atmega328P, but I see there are currently 5 Atmega4808's available at Mouser for $1.68 each. You might want to buy 1 or 2. Looks like there will be more available in February. www.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATMEGA4808-AU?qs=P1JMDcb91o4OSr3c6aXxLg%3D%3D
Really nice, is it possible to program AVR128DB64 in the same way? Plz, Only issue is i cannot find AVR128DB64 in Megacorex List, Please support. Thanks
Beautiful explanation. Thank you sir for the great tutorial. It worked the first time. It's fantastic. I didn't know what to do until I found your video. I have an Atmega 4809, but it's actually the same. Keep going.
Great, clear concise, well explained and easy to follow. Thanks for taking the time and effort to produce the video :)
Really nice video! Thank you for showing how easy it is! Hope you can make a video on the micro updi programmer board as well. Feels like it should be easy with that one also. You got another subscriber! 😀
Great tutorial, thanks for added all the necessary inks to the description.
I have been looking for a cheap 328P replacement due to the chip shortage, this seems to fit the bill.
Thank you for sharing with us how to make a UPDI programmer. I’m getting into some of the new attiny lineup models.but now seeing this chip. I might have a go at the 4808 in time.
Very informative and obviously, thanks to your video, easier then expected.
Just what I was hoping to find. Thank you!
Thanks for a clear explanation of this. I used the microupdi board you mention towards the end of your vid, and whilst it worked initially, my pro micro board is no longer recognised by the Arduino IDE, so can't upload the firmware. More research req'd :) :)
Oh, why is there so little activity on such a good channel? Seems like youtube didn't recommend your videos even to me, although it suits my interests and searches perfectly
Thanks for the comment. We’ll keep creating content and hopefully support will grow.
Thank you for this informative Video. Well explained. Merci!
Excellent explaination sir
Beyond loading sketches, can this UPDI Programmer be used to set fuses and Lock bits? I have a need to lock an Arduino Nano Every but don't have access via AVRDUDESS.
Is it possible to program any ".hex" file using this? I don't know about Arduino, is it possible to load a hex file and then upload it?
is the 19uf capcitor's value critical? If it's much larger say 100uF (which I have) will that work? Thanks for a great vid
the value of the capacitor is not critical :)
Fixed my issue, just had to use avrdude. This all gets a little confusing because most people use this for the ATTINY processors and assume an unlocked state or download a bootloader. It just wasn't clear to me initially that avrdude was included in arduino or how to access it initially.
Also the pins dont match up for the 40 pin 4809? idk im looking into it (probably just missed a paragraph somewhere again)
is there a smaller micro that can be used for the UPDI Programmer?
Is it possible to work on ATmega uno?
Hey, I am working on a small project that requires this chip, but I can't find it anywhere would you be able to provide a link to where you bought it? If not, would all the libraries and devices you used work to program an ATmega328P?
Yes, all chips seem be be hard to find these days. Unfortunately the UPDI programming method doesn't work with the Atmega328P, but I see there are currently 5 Atmega4808's available at Mouser for $1.68 each. You might want to buy 1 or 2. Looks like there will be more available in February. www.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATMEGA4808-AU?qs=P1JMDcb91o4OSr3c6aXxLg%3D%3D
@@KakushinAU that you sooo much I just ordered them. True lifesaver 🤩
Really nice, is it possible to program AVR128DB64 in the same way? Plz, Only issue is i cannot find AVR128DB64 in Megacorex List, Please support. Thanks
Hello I havwe a question does the AVDD goes to 3.3v and ground to ground for that one pair same as the VDD and ground?
Both the AVDD and VDD go to the same positive input supply, and both GND pins go to the same ground.
amazing !! where can I buy the testing adapter please ?
Here is where I bought my TQFP32 test adapter www.aliexpress.com/item/32811311116.html
@@KakushinAU Thank you so much again. you really helped me alot.
@@KakushinAU Thank you.
@KakushinAU , in the same way I tried using Arduino Uno for ATtiuny402 but I got following errors, kindly help.
Sketch uses 382 bytes (9%) of program storage space. Maximum is 4096 bytes.
Global variables use 10 bytes (3%) of dynamic memory, leaving 246 bytes for local variables. Maximum is 256 bytes.
"C:\Users\EMBEDDED\AppData\Local\Arduino15\packages\DxCore\tools\avrdude\6.3.0-arduino17or18/bin/avrdude" "-CC:\Users\EMBEDDED\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\2.6.8/avrdude.conf" -v -pattiny402 -cjtag2updi -PCOM11 -b115200 "-Ufuse0:w:0b00000000:m" "-Ufuse2:w:0x01:m" "-Ufuse5:w:0b11000101:m" "-Ufuse6:w:0x04:m" "-Ufuse7:w:0x00:m" "-Ufuse8:w:0x00:m" "-Uflash:w:C:\Users\EMBEDDED\AppData\Local\Temp\arduino\sketches\FF2CC76A97946CAB7A2A0FEA86428253/sketch_jul12a.ino.hex:i"
avrdude: Version 6.3-20201216
Copyright (c) 2000-2005 Brian Dean, www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\EMBEDDED\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\2.6.8/avrdude.conf"
Using Port : COM11
Using Programmer : jtag2updi
Overriding Baud Rate : 115200
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 : ATtiny402
Chip Erase delay : 0 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 0
StabDelay : 0
CmdexeDelay : 0
SyncLoops : 0
ByteDelay : 0
PollIndex : 0
PollValue : 0x00
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00
fuses 0 0 0 0 no 9 10 0 0 0 0x00 0x00
fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00
fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00
data 0 0 0 0 no 0 0 0 0 0 0x00 0x00
usersig 0 0 0 0 no 32 32 0 0 0 0x00 0x00
flash 0 0 0 0 no 4096 64 0 0 0 0x00 0x00
eeprom 0 0 0 0 no 128 32 0 0 0 0x00 0x00
Programmer Type : JTAGMKII_PDI
Description : JTAGv2 to UPDI bridge
M_MCU hardware version: 1
M_MCU firmware version: 6.00
S_MCU hardware version: 1
S_MCU firmware version: 6.00
Serial number: 00:00:00:00:00:00
Vtarget : 5.0 V
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description
avrdude: AVR device initialized and ready to accept instructions
Reading | avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_NO_TARGET_POWER
avrdude: jtagmkII_program_enable(): bad response to enter progmode command: RSP_NO_TARGET_POWER
avrdude: jtagmkII_read_byte(): bad response to read memory command: RSP_ILLEGAL_MCU_STATE
avr_read(): error reading address 0x0000
read operation not supported for memory "signature"
avrdude: error reading signature data for part "ATtiny402", rc=-2
avrdude: error reading signature data, rc=-2
avrdude: jtagmkII_program_disable(): bad response to leave progmode command: RSP_NO_TARGET_POWER
avrdude done. Thank you.
Failed programming: uploading error: exit status 1
Thanks for your time