Тёмный

UPDI Programming an ATmega4808 

Kakushin
Подписаться 949
Просмотров 14 тыс.
50% 1

Create a UPDI programmer and quickly upload an Arduino IDE sketch to a Atmega 4808-AU TQFP32 pin microcontroller. We’ll convert an Arduino Nano into our UPDI programmer, and create a simple circuit with an LED and an OLED Display.
Schematic & code: github.com/kakushinAU/Atmega4808

Наука

Опубликовано:

 

7 июн 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@ChrisFredriksson
@ChrisFredriksson 2 года назад
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! 😀
@chuckwilcox6997
@chuckwilcox6997 Год назад
Great, clear concise, well explained and easy to follow. Thanks for taking the time and effort to produce the video :)
@atihrot755
@atihrot755 Год назад
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.
@darkphotons101
@darkphotons101 2 года назад
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.
@DiyintheGhetto
@DiyintheGhetto 2 года назад
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.
@FreddyBNL
@FreddyBNL 2 года назад
Very informative and obviously, thanks to your video, easier then expected.
@biotechfordummies6591
@biotechfordummies6591 2 года назад
Just what I was hoping to find. Thank you!
@vladislavfateev7528
@vladislavfateev7528 3 года назад
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
@KakushinAU
@KakushinAU 3 года назад
Thanks for the comment. We’ll keep creating content and hopefully support will grow.
@AAdnaanmtl
@AAdnaanmtl 3 года назад
Excellent explaination sir
@Greebstreebling
@Greebstreebling Год назад
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 :) :)
@nemea78
@nemea78 Год назад
Thank you for this informative Video. Well explained. Merci!
@marceloxxx
@marceloxxx 2 года назад
Thanks for your time
@ColeHajek
@ColeHajek Год назад
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)
@Greebstreebling
@Greebstreebling Год назад
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
@Greebstreebling
@Greebstreebling 8 месяцев назад
the value of the capacitor is not critical :)
@btomas225
@btomas225 Год назад
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.
@DiyintheGhetto
@DiyintheGhetto 2 года назад
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?
@darkphotons101
@darkphotons101 2 года назад
Both the AVDD and VDD go to the same positive input supply, and both GND pins go to the same ground.
@abdulaziza
@abdulaziza Год назад
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
@toaster_oven.
@toaster_oven. Год назад
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?
@KakushinAU
@KakushinAU Год назад
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
@toaster_oven.
@toaster_oven. Год назад
@@KakushinAU that you sooo much I just ordered them. True lifesaver 🤩
@garymazzataz9350
@garymazzataz9350 10 месяцев назад
is there a smaller micro that can be used for the UPDI Programmer?
@Mario-yv7dc
@Mario-yv7dc 7 месяцев назад
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?
@Zhaymoor
@Zhaymoor 2 года назад
amazing !! where can I buy the testing adapter please ?
@KakushinAU
@KakushinAU 2 года назад
Here is where I bought my TQFP32 test adapter www.aliexpress.com/item/32811311116.html
@Zhaymoor
@Zhaymoor 2 года назад
@@KakushinAU Thank you so much again. you really helped me alot.
@colinsk2
@colinsk2 Год назад
@@KakushinAU Thank you.
@johanjoju3801
@johanjoju3801 11 месяцев назад
@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
Далее
Thinary Nano Every ATmega4808
7:44
Просмотров 36 тыс.
Bare-Metal MCU #4 - Bootloaders and Programmers
18:24
Programming ATtiny85/84 with Arduino Uno (ATTinyCore)
18:32
10 steps to start AVR microcontrollers
28:53
Просмотров 10 тыс.
Мои любимые Android смартфоны
0:55
Сложная распаковка iPhone 15
1:01
Просмотров 12 тыс.