Тёмный
Kakushin
Kakushin
Kakushin
Подписаться
UPDI Programming an ATmega4808
13:09
3 года назад
Coilgun powered by Arduino
4:25
3 года назад
Комментарии
@dimitra.d792
@dimitra.d792 20 дней назад
if you connect the programmer on chip direct on pcb with the same way like yours is there problem ? or you must desolder the ic and follow the process that you show us
@rezgaming6078
@rezgaming6078 21 день назад
atmega328pb please
@djruido1
@djruido1 27 дней назад
Could you use arduino nano to burn a bootloader to a chip?
@csabalazar8937
@csabalazar8937 2 месяца назад
Hi, nice project, well done!. Hm seems YT deleted my previous comment..... I woudl iket to add two leds, green, when price increasing green turns on, when decreasing red turns on. Is there any workaround to do this? Also, a wifi management would be nice, so if you want to chnage the wifi data, you wont have to rebuild the whole stuff..
@ethanannane8783
@ethanannane8783 2 месяца назад
Holy moly! That's insane! Incredibly overrated!
@RonaldRosete-ei1vn
@RonaldRosete-ei1vn 2 месяца назад
Can you use this adapter if my microcontroller has no leads?
@tejpalyadav5864
@tejpalyadav5864 3 месяца назад
Atmega 8a program has restart problem in any type sparking in wire they have distrub a program
@samk2630
@samk2630 3 месяца назад
Great video. What's the white PCB you have connected to the breadboard with Vin and USB?
@KakushinAU
@KakushinAU 3 месяца назад
Thanks. It’s a 3v/5v breadboard power supply. a.aliexpress.com/_mtGlRrg
@IndianTrust1
@IndianTrust1 5 месяцев назад
If i were to recreate your schematic with 6 stages, each using 1 capacitor of the same statistics as the ones you used, what would the results look like?
@neeravdesai3940
@neeravdesai3940 5 месяцев назад
I have made a a PCB using this chip and for reset i have already put a switch between ground and 10K resistor with 5V supply so do i need to press it while uploading
@prodsefv
@prodsefv 5 месяцев назад
thank u for the video it really helped
@839Bender
@839Bender 6 месяцев назад
Very cool video. Too bad you stopped long time ago making them.
@Shadobanned4life
@Shadobanned4life 6 месяцев назад
Thank you for an impressive, well-made video Sir!🌞
@ilyakrylov3827
@ilyakrylov3827 7 месяцев назад
Is overbuilding, dude
@sandhayagupta4948
@sandhayagupta4948 7 месяцев назад
How?
@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?
@antoniodias2776
@antoniodias2776 8 месяцев назад
Excelente.
@pavelkoryakin5750
@pavelkoryakin5750 8 месяцев назад
Thank you sir! You heldped me a lot!
@adammorley8402
@adammorley8402 8 месяцев назад
I've never been so excited to see a flashing LED before, thank you.
9 месяцев назад
Hi where did you buy steel ball ? Maybe do you have a link? I can not find a pure steel ball.
@KakushinAU
@KakushinAU 8 месяцев назад
Here is a link to a vendor www.ebay.com.au/itm/175562756342. Or you could find an old GEOMAG toy set. They are full of ferrous steel balls.
@mvssarma3387
@mvssarma3387 9 месяцев назад
Nice video. Thanks. I have a spl scenario. On my usb asp the main chip is damaged and i gavevspare atmega8a . I can solder it . But i wascunable to load the ubadp firmware into it wuthbusb access . Ppeadecsuggestva practicabe way. Thanks Regards Sarma vu3zmv
@SebastianHernandez-cb6ry
@SebastianHernandez-cb6ry 10 месяцев назад
This is the best video I could have found
@garymazzataz9350
@garymazzataz9350 10 месяцев назад
is there a smaller micro that can be used for the UPDI Programmer?
@abcdefGaming38
@abcdefGaming38 10 месяцев назад
Thank you, this worked very well and the newest version of the usbASP driver works great too. This was the only video I watched and yet it was the only one I needed. Thank you again, this shit was epic.
@seloameEAlorvi
@seloameEAlorvi 11 месяцев назад
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
@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.
@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.
@resitusta8556
@resitusta8556 Год назад
Çok iyi , mükemmel.
@chuckwilcox6997
@chuckwilcox6997 Год назад
Great, clear concise, well explained and easy to follow. Thanks for taking the time and effort to produce the video :)
@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 :)
@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 :) :)
@raulguevara1944
@raulguevara1944 Год назад
Thank you for this very informative video!!!!!!
@AlejandroEspinel
@AlejandroEspinel Год назад
kakushin, buenas noches, quiero agradecerle por la informacion suministrada, me sirvio muchisimo, excelente video. Saludos.
@abdulghaniabdulaziz9679
@abdulghaniabdulaziz9679 Год назад
thank you for this video ☺
@user-yv2ug1qn4z
@user-yv2ug1qn4z Год назад
Hi. This is a very good video, however i`m not sure which chips i can use. I`ve got a lot on my Mini and Migthy Core boards but none with the PU or AU at the end. Just ATMega328 etc. Will any of these work in my project?
@KakushinAU
@KakushinAU Год назад
P stands for the low power version and might not always be printed on the chip. Mini-Core boards and Arduino Nano''s both use Atmega328 chips in the QFN32 format. If the chip is already soldered into the Mini-Core board then I'd recommend using online tutorials for that board.
@user-yv2ug1qn4z
@user-yv2ug1qn4z Год назад
@@KakushinAU Thanks a lot!!!
@pietronaccarato675
@pietronaccarato675 Год назад
Are you powering the atmega and the programmer from the power supply? Or are you setting the programmer to output current?
@KakushinAU
@KakushinAU Год назад
Both the Atmega and the Programmer are powered from the breadboard power supply. Pin VCC on Pololu AVR programmers are set as an input by default. (This is different from video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VVK0aYcrnQc.html where the programmer powers the circuit).
@pietronaccarato675
@pietronaccarato675 Год назад
@@KakushinAU Thank you for your response. I was having issues on my end and I suspected it was because I needed an external power supply.
@KakushinAU
@KakushinAU Год назад
Good point. The video should have been more clear that the breadboard should be powered with 5VDC.
@henogduplessis8968
@henogduplessis8968 Год назад
Can you use serial to upload code to it after bootloader is burned?
@KakushinAU
@KakushinAU Год назад
Yes, the MOSI and MISO connections are a type of serial interface. However, I don't think you can program the Atmega directly to the serial pins without a programmer.
@nemea78
@nemea78 Год назад
Thank you for this informative Video. Well explained. Merci!
@SilvanSpani
@SilvanSpani Год назад
Great video! It helps a lot and ist well done. Thank you very much!
@jackevans2386
@jackevans2386 Год назад
No bootloader is required if using an ISP programmer ! A bootloader is only needed if using a TTL to USB serial board.
@deathsgaze5826
@deathsgaze5826 Год назад
Get a thin wire, solder it on the pins needed, solder the thin wire onto some female or male jumpers, no need to pay 20 dollars for something you will only use once.
@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)
@JohnyRodri
@JohnyRodri Год назад
LOVED IT DUDE! If you ever want to build projects with someone, feel free to reach out ☺️
@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 🤩
@metamud8686
@metamud8686 Год назад
awful background music choice.
@MUhammadWaqas-kc4jz
@MUhammadWaqas-kc4jz Год назад
may you have a great day Sir, Sir please let me know that this circuit using 16Mhz Crystal Oscillator and 22PF capacitor will work with Bluetooth as well. because my circuit with same programing is working with Arduino UNO but when i try to use atmega328, oscillator and Capacitor it not accept any command.
@ta5lvc
@ta5lvc Год назад
Nice