UPDI Programming an ATmega4808
13:09
3 жыл бұрын
Coilgun powered by Arduino
4:25
4 жыл бұрын
Пікірлер
@walterhynson2898
@walterhynson2898 5 күн бұрын
could the projectile be replaced with magnetic fluid in a circular tube?
@cristipanaintescu605
@cristipanaintescu605 11 күн бұрын
when I open ardino IDE, it says that no port was found. Although, I installed the driver libusbK for the programmer. By the way, my programmer has one more jumper, one is for swapping between 3,3 and 5 V (JP21), and the other one - I have no idea what it does (jp1). Also, I have two more holes for another jumper, jp3. PLUS: I once burned a bootloader on the smd chip using an arduino nano. The bootloader remains on the chip? When I try to upload the blink code, an error occurs (Failed chip erase: uploading error: exit status 1) + "Double check connections and try again, or use -F to override this check."
@astrojo2316
@astrojo2316 19 күн бұрын
Finally i've made a functional PCB for isp programming my core stock, thank you !
@Kendinureeet
@Kendinureeet Ай бұрын
Great project , can you share your email address?
@poxyping7420
@poxyping7420 Ай бұрын
Hey, nice job coming from an Aussie maker in the midst of a similar project! Of course I stumble across this video after I finish designing my circuit 🙃. I have two questions: how did you find was the easiest way to wind the coils and connect them to the circuit, and did you ever measure their inductance? Yours are very neat and compact compared to the jumbled mess I'm currently working with...
@InterplainMusic
@InterplainMusic Ай бұрын
You have very few videos but what you have are very good. One such video that i am sire you could add woul be the wiring of a Oled screen and a ATMEGA328P-AU in SPI mode. I have been trying to get this done. But my main issue is that the pins to use are different from the likes of a Arduino Nano. I would really like you to cover this topic.
@jeanchery7246
@jeanchery7246 2 ай бұрын
Great 👍
@heechanmoon5096
@heechanmoon5096 3 ай бұрын
Is it possible to work on ATmega uno?
@Romello_Pietersz
@Romello_Pietersz 3 ай бұрын
Why burn the bootloader? You're wasting 1.5 seconds of boot time that the bootloader takes to boot the chip. Instead burn the HEX file directly to the chip, your chip will start the firmware immediately super fast.
@zwtsch
@zwtsch 3 ай бұрын
thank you, sir. it's working perfectly.
@XTomsenX
@XTomsenX 4 ай бұрын
Very useful video, thank you. Do u have another one, how to make a board with the Atmega328 chip - i mean what it needs to standalone?
@dimitra.d792
@dimitra.d792 5 ай бұрын
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 5 ай бұрын
atmega328pb please
@djruido1
@djruido1 5 ай бұрын
Could you use arduino nano to burn a bootloader to a chip?
@csabalazar8937
@csabalazar8937 6 ай бұрын
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..
@RonaldRosete-ei1vn
@RonaldRosete-ei1vn 7 ай бұрын
Can you use this adapter if my microcontroller has no leads?
@tejpalyadav5864
@tejpalyadav5864 8 ай бұрын
Atmega 8a program has restart problem in any type sparking in wire they have distrub a program
@samk2630
@samk2630 8 ай бұрын
Great video. What's the white PCB you have connected to the breadboard with Vin and USB?
@KakushinAU
@KakushinAU 8 ай бұрын
Thanks. It’s a 3v/5v breadboard power supply. a.aliexpress.com/_mtGlRrg
@scrootus
@scrootus 9 ай бұрын
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 9 ай бұрын
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 10 ай бұрын
thank u for the video it really helped
@839Bender
@839Bender 10 ай бұрын
Very cool video. Too bad you stopped long time ago making them.
@Shadobanned4life
@Shadobanned4life 11 ай бұрын
Thank you for an impressive, well-made video Sir!🌞
@ilyakrylov3827
@ilyakrylov3827 Жыл бұрын
Is overbuilding, dude
@sandhayagupta4948
@sandhayagupta4948 Жыл бұрын
How?
@Mario-yv7dc
@Mario-yv7dc Жыл бұрын
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 Жыл бұрын
Excelente.
@pavelkoryakin5750
@pavelkoryakin5750 Жыл бұрын
Thank you sir! You heldped me a lot!
@adammorley8402
@adammorley8402 Жыл бұрын
I've never been so excited to see a flashing LED before, thank you.
Жыл бұрын
Hi where did you buy steel ball ? Maybe do you have a link? I can not find a pure steel ball.
@KakushinAU
@KakushinAU Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
This is the best video I could have found
@garymazzataz9350
@garymazzataz9350 Жыл бұрын
is there a smaller micro that can be used for the UPDI Programmer?
@abcdefGaming38
@abcdefGaming38 Жыл бұрын
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 Жыл бұрын
Thank you.
@johanjoju3801
@johanjoju3801 Жыл бұрын
@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 Жыл бұрын
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 ☺
@JohnnyStamboel
@JohnnyStamboel Жыл бұрын
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.
@JohnnyStamboel
@JohnnyStamboel Жыл бұрын
@@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 kzbin.info/www/bejne/jIeuYZSPmNehh8U 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!