This method stopped working with the latest megaTinyCore versions. Installing v.1.x like in this video works though. good luck!
@Mrf.7213Ай бұрын
I would be interested in an updated tutorial as these chips are becoming more popular nowadays,
@MarcusAshleyLowDBs4 жыл бұрын
Amazing work. Thank you for your in-depth, no assumptions, every step is shown work. People should use your videos as a standard for electronic tutorials.
@Nono-hk3is5 жыл бұрын
Spence Kinds is my hero. I've been using his attiny core for years. I'm glad he's working on the new tiny's.
@michatroschka5 жыл бұрын
yeah it works pretty fine for the 85
@StephenBrown853 жыл бұрын
This tutorial was great! There are so many confusing guides to get this chip working but yours was crystal clear and worked perfectly first time!
@saultigh410325 күн бұрын
This is the only tutorial that worked for me. Thanks a lot
@pwal84682 ай бұрын
Thank you. Using this and Wolfgang Ewald description got it working. Good video.
@Lyndon_K10 ай бұрын
Wow, what a great video! All of your explanations were super clear and the editing was superb. 👍 Thank you very much! 🙂
@cashewmilkfan Жыл бұрын
YAY! I got my attiny402 working thank you so much for the clear and professional tutorial
@Vimerum5 жыл бұрын
Your videos are always awesome and that end song it's amazing as well
@seferideveloper69333 жыл бұрын
I always feel myself like a silly when i try to search how to program new tinys and megas. Finally i could understand. Thanks a lot.
@johnconnolly5123 жыл бұрын
Brilliant! A very concise, elegant tutorial. A little humour always helps, too. Thank you.
@spaceengineersmods5 жыл бұрын
Eeeendlich auf das Video hab ich ewig gewartet. DANKE
@jparky19725 жыл бұрын
Brilliant! I've only just become aware of the new attiny chips. Looking into programming them looked to be a bit of a nightmare. As well as expensive if you use the official AVR package. So thanks for putting this tutorial together.
@DRSDavidSoft5 жыл бұрын
Me neither! I knew about Microchip acquiring Atmel, but didn't think they would "refresh" the ATTiny line-up. This is an excellent guide, and very informative! I
@DRSDavidSoft5 жыл бұрын
Great style of explanation, I praise your ability to go into the fundamental details.
@avejst5 жыл бұрын
Great walkthrough Thanks for sharing this new approach for programming the ATtinyminis :-)
@dl8cy5 жыл бұрын
Bitluni's videos are always awesome!
@deathshaker00265 жыл бұрын
Yep watching this video makes me feel more like a nerd then ever! Thanks Luni! ;) Don't forget the cap... ok I have breakout boards.... ok I have adapter socket and the CMOS clip ok I just need a some ICs and a projects.
@BernhardHofmann5 жыл бұрын
I just watched this on my TV where I can't comment. This video is so well packed with information and humour I just had to get my phone out and let you know I loved this. I laughed out loud when I heard the crickets. 🤣 You've gained another subscriber!
@bitluni5 жыл бұрын
Thanks Bernhard!
@arnauddurand1275 жыл бұрын
A quick extension of this tutorial to illustrate how to send a 12V pulse to RESET to put the ATtiny back in UPDI mode would be awesome! This is very useful for the low pin count variants.
@regal_78774 жыл бұрын
Hey your comment piqued my interest and also raised my anxiety. What is this about putting the chip BACK into updi mode? Does that mean that the new attiny chips are one time programmable or something? Sorry if this is a stupid question but I’m very new to this
@arnauddurand1274 жыл бұрын
@@regal_7877 If you use all of the GPIO pins for your applications, it means that none of the pins will be dedicated to programming anymore. In that case, you have to force the ATtiny to go back into programming/UDPI mode by sending a 12V pulse to RESET in order to reprogram it.
@regal_78774 жыл бұрын
@@arnauddurand127 Oh alright I understand. That's whyh most of the tutorials I find only use 5 GPIO when actually the RESET pin can somehow be used as a GPIO too. The digispark version has 6 GPIO (the old series attiny85). Thanks for the explanation
@GnuReligion5 жыл бұрын
Very glad to find your video about this. Have avoided buying any of the new AVR chips for the uncertainty of being able to program them without an expensive, proprietary device. I made a PDI programmer a couple years back for some Xmega chips ... it was a 2-wire affair though, that uses a special patched USBASP. It is nice that STM32 and ESP chips ship with the ability to program through ordinary serial ... though 57600/8E1 is a bit weird.
@onebreh2 жыл бұрын
Thank for this!
@pandarojodronero29194 жыл бұрын
i didn't have any idea about the new atinys and this new interface, and the SWD with only to pins seem nice before... and using the reset pin! genius!
@thenoisyelectron4 жыл бұрын
Flawless tutorial, thank you! My old Attiny85's hate this video!
@OliNorwell5 жыл бұрын
Great video - has motivated me to try this myself
@djrrmml75144 жыл бұрын
Thanks! this really helped me getting started, once you go updi you want nothing else for those attiny's
@pauldusa4 жыл бұрын
I built a 3 wire UPDI interface out of a USB Ftdi and a arduino pro mini for my Attiny 3217. Very small and handy. Works well..
@opsahle25 жыл бұрын
Great video, Bitluni!
@tjwatts10011 ай бұрын
Really useful - thanks mate :)
@bardenegri215 жыл бұрын
Great stuff. I have to read up on these new gems.
@matheusisrael41213 жыл бұрын
Man, this channel is amazing! I would love see a video about how to use a processor and memories to build video on a TFT LCD of a laptop or more... in the bitluni style of course haha
@thenoisyelectron8 ай бұрын
I keep coming back to this video when I reformat my PC and forget how to set everything up to program these little brains :)
@dawnless8525 жыл бұрын
"use a zocket to" love ur german accent :D
@andymouse5 жыл бұрын
Great info!...cheers.
@Digithalis5 жыл бұрын
very cool! you are able to make so much more great tutorials that must be seen ;-)
@coxsj3 жыл бұрын
Brilliant, thank you so much for sharing this!! ;-)
@saysphilippe5 жыл бұрын
Great work man! I got my Attiny1604 to work based on your video today! I noticed one thing people should be aware of. I'm using an Arduino Nano with an Atmega168, and in Arduino IDE it reports that it has 16k programming memory. And since the Attiny1604 only have 8k you can be fooled to think that you have more memory than you actually do. Make sure you stick to the limit on the actual Attiny and not the device you use to program it with.
@Evgen-Evgen-Evgen2 жыл бұрын
Thanks, works with tinyAVR 2 Family, specificly with ATtiny1626 and 1624
@power-max5 жыл бұрын
I implemented a small 30W LED driver (boost converter) and used an ATtiny1616 MCU because it had a DAC that I could use to set the brightness without PWM, but was halted by the fact I had to development environment in Linux or a programmer for it. Guess I need to dig that project out of the failed projects bin!
@Ed196015 жыл бұрын
Very informative, thanks. I will try one of the new ones, just to see if I can, if I can get it cheaply: Delivery charges at mouser turn these into expensive (30 dollar) chips
@Leif_YT5 жыл бұрын
Usually above 50€ the shipping is free. I order a lot of stuff from China, but there are always some things you can only get from Mouser or similar sources. I usually add them up in the basket until i'm above the 50€ limit and then i order. Or try to find some people nearby and order together. Mouser should start selling Amtech Flux ...then it would be much easier to get above the 50€ on a regular basis :)
@Ed196015 жыл бұрын
@@Leif_YT yes, but currently I do not need 50 euro from mouser. They are literally around the corner from me, so charging me 20euro shipping is a complete nono
@bitluni5 жыл бұрын
just get them from ebay or a local electronic dealer. mouser is not affiliated here. I just liked it so you have a starting point
@Ed196015 жыл бұрын
@@bitluni cheapest I found d them is 1.12 euro plus 4.95 shipping. Ordered some out of interest, but realistically it is cheaper to get a pro mini from china. Ironically Mouser IS local. They are 10 minutes away from me
@Evgen-Evgen-Evgen3 жыл бұрын
i hope to see atTiny AVR 2 Family in future
@paulbehrens58425 жыл бұрын
Didn't know Microchip bought Atmel. PIC and Atmel fans must love this fact.
@akj75 жыл бұрын
Man, this was common knowledge for the longest of time. Microchip had always been trying to acquire Atmel.
@DRSDavidSoft5 жыл бұрын
I recall the day it was introduce, and as someone who works with both AVR and PIC, I was excited about the news!
@donprefontaine32374 жыл бұрын
4.7K or 470 ohms? Your resistor is 470 (seen at 3:43/7:58) but the diagram prescribes 4.7k...
@johnacsyen4 ай бұрын
4.7k works for me
@michatroschka5 жыл бұрын
thank you/danke for this tutorial and the notice on the release of new attinys!! theyre not really easy to get, as mouser charges a lot for shipping to germany.. so with the price of around 80 cents, theyre very cheap. but the smd component require a breakout for breadboard use, thats plus 2 euro. then i can get a nano for 3.. whats the benefit of the new attinys, compare to for example the nano, with the 328 chip, or the old attiny 85, which is Dil8, so directly usable without breakout. is there also an updated version of the Attiny 85 with dil and 8 pins? thanks!
5 жыл бұрын
Wow that's cool! How about making a board to program this attiny? Also please make a video on the new Arduino IDE Pro!
@andymouse5 жыл бұрын
There is a new IDE sir?
5 жыл бұрын
@@andymouse yep! It's on public alpha now though. I'm used to code esp and Arduinos in vscode and it is so much better than the default Arduino IDE. I'm super excited about this shift towards eclipse theia.
@andymouse5 жыл бұрын
@ Thanks gonna try it now!
@andymouse5 жыл бұрын
There's a bit of work to do!..I had errors and could not select a board so I'm gonna wait a bit, after all it's an Alpha release...cheers!
@Leif_YT5 жыл бұрын
The new little 412 is similar priced to the old chinese Attiny 13 ones. It's very tempting to try them out.
@retrozvoc61895 жыл бұрын
Amazing! I've been looking all over for this UPDI thing! However, I wish there was an actual XMEGA microcontroller programmable the same way with enough memory and performance to be able to send a stable video signal to a display with a retro game resolution like at least 240x224 with beautiful Pico-8 pallette consisted of 16 most desirable colors. Do you know if there is any such?
@tomasz95175 жыл бұрын
why bother with arduino, whan you have na FLIP programmer nested in nearly all xmegas as bootloader? you need only hook up the usb connector directly to the pins of uC, shorted one pin to ground (propably one of J pin) and use the flip interface to upload hex. maybe someone already combine flip and arduino?
@bitluni5 жыл бұрын
not really, but even the attiny is also interesting. 20Mhz could be enough for a pong game
@Beredro5 жыл бұрын
Nice to know. Now I can throw out my adapter board I made for a Nano->Attiny Adapter and make a new one. Unfortunately I do have the tendency to use the 328p for nearly everything. I still got no idea for my next PCB Art project for Christmas.
@bitluni5 жыл бұрын
Legit. Do you know how much current it takes clocked down? Cr2032 needs to last long
@peterkrause7700 Жыл бұрын
Great Video! Will this work if the part is already mounted on a PCB circuit with a 4k7 resitor and pin. ie I am creating a circuit to use it as a simple program to set TWI (I2C) on power on to another part requiring I2C comms to set its paramenters. Thnaks Peter
@voncky99993 жыл бұрын
Hello, great material, will use it in my activity. Just a weird question is on my mind. Is there any chance of using this UPDI link as normal serial (UART) port? It means after programming, can I use to communicate with ATtiny from PC terminal? Or do I have to use Rx and Tx pins for serial communication?
@DiyintheGhetto3 жыл бұрын
Does it matter what size of capacitor is needed between reset and ground?
@RA4FOC3 жыл бұрын
Hi! Can I connect several microcontrollers to one UPDI pin at the same time and program them one by one?
@gkeepleft Жыл бұрын
Hey bitlini, how did you open that .zip file in the arduino ide? I tried everything and no luck.
@godzalli442 жыл бұрын
1:05 i got your finger print
@MinecraftLPAlex5 жыл бұрын
Do these common arduino libraries work with the attiny?
@benjocrostar Жыл бұрын
The board package URL is no longer working
@pavelsan19543 жыл бұрын
I have problems with UPDI on tiny412. How do I reset UPDI to factory settings?
@TajuSingh4 жыл бұрын
how much power it consume in sleep mode
@Beatleman914 жыл бұрын
How can I upload binaries generated by other compilers, e.g. Atmel Stuido?
@muhammadzahid26534 жыл бұрын
Can you use Serial Monitor with this UPDI method? It doesn't work in my case. Ofcourse it does not use the UART but still if we are able to upload a program to it then we may be able to get some serial output out of it. Anyone has a clue?
@atihrot755 Жыл бұрын
Hello, I can't load the jtag2updi program. Please as a total cod. I downloaded it from github and I can't upload it. Please help.
@MiniRobotShop5 жыл бұрын
Hey man, where do you throw your garbage?
@wanabeasailor3 жыл бұрын
Thanks for the tutorial. Do you know if there is something about the ATTINY404 except for selecting that chip from the menu? I followed the steps and can't get it to work.
@wanabeasailor3 жыл бұрын
After checking all the wiring and everything several times and still no luck, I tried another chip and it worked! Something in my first attempts must have bricked the first chip.
@SinescuMarius10 ай бұрын
Hello can you read an atmel 85 for example with arduino you can make a video please thank you
@rahuls70397 ай бұрын
Does the ATTINY(816, let's say) microcontroller have to be at 5V(powering) for programming using Arduino(as UPDI)? What if the ATTINY uC is powered separately by a 3.3V power supply? Will a level shifter do the work in coding it?
@atihrot755 Жыл бұрын
Cheers. Everything is perfectly explained. I can't load the jtag2updi program. He keeps throwing chiba at me. pls help me.
@GelectronicsTv5 жыл бұрын
Schönes Video ;D Kennst du mich noch von mer Maker Fair Hannover?
@bitluni5 жыл бұрын
Klar, wir hatten ja schließlich ein rennen. Ich will noch eine Revanche. Übrigens hab ich deine nachricht beim makercast gelesen, aber irgendwie seh ich da nix auf insta.. bin zu alt dafür :-D
@GelectronicsTv5 жыл бұрын
@@bitluni ;D alles gut kein thema wie kann ich dich noch gut erreichen? Schönen abend noch ;D Achso villeicht weil ich bei Insta GliffLP heiße ;D
@azyfloof5 жыл бұрын
Did a double take when you said "Dr Azy" hahaha :D
@bitluni5 жыл бұрын
I probably butchered your name. that line was at least 3 takes :-D
@azyfloof5 жыл бұрын
@@bitluni No my name's pronounced exactly the same 😜 Despite the single Z 😆
@CNCPRINTBLOGSPOT2 ай бұрын
Hi thx for video. The library von drazzy has actual SSL-certificate problems. Copy the ...JSON file manually to C:\Users\[YOUR USERNAME]\AppData\Local\Arduino15Then the bib should appear in Arduino IDE
@nrdesign19915 жыл бұрын
Was für ein Flux-Gel ist das eigentlich? Könnte ich auf der Arbeit extrem gut gebrauchen... muss QFN leadless löten
@bitluni5 жыл бұрын
das ist no-clean von reichelt.. ich mag aber den geruch nicht so sehr und die färbung lässt meine US-Cleaner füllung schnell gelb werden. ist aber einfach aufzutragen und zu entfernen.
@nrdesign19915 жыл бұрын
@@bitluni Vielen Dank für die Info
@advpareshmhatre4 жыл бұрын
I was quite upset when there was not expected view s you got for ping pong ball screen project, You have taken to much efforts for that video i seen. You must have to make such video in long series and must include a to z detail not just 2 or three part. You deserve more, explore your video as much as possible.
@xumatyt5 жыл бұрын
But what about D in UPDI? How can you debug attinys?
@gudimetlakowshik36173 жыл бұрын
Hi, I'm actually working on a similar project. I have a very simple question,can an esp32 be used to program the attiny instead of a nano?? I'm very very interested to know if this is is possible, if not whats the exact reason ESP32 cannot be used? Please help me understand this...thanks in advance bitluni
@mikelespinosa7963 жыл бұрын
Dear friend. The first of all, thanks for this video which learn us to use the new attiny family. But I have a small problem when I try to upload the code. I need 10 or 20 times to upload the code correctly. Always appear an error and suddenly it upload correctly. At the beginning I thought that it was a problem of the protoboard and soldered the resistor, the capacitor and the power directly. After that I thought that maybe it was a problem of the version of the library or the IDE version and I installed the same that you use. But nothing works. Do you know what it can be happened? Thanks in advance
@angelioto0075 жыл бұрын
omg, i need to know what's that background song at the installation timelapse called
@bitluni5 жыл бұрын
Hold On a Minute - Silent Partner It's from the youtube media library
@pandarojodronero29194 жыл бұрын
Arduino its turning into a huge project. every day i learn it support a new board, a new chip or core inside other chips... but the IDE needs a rewriting. and the language an update
@WaldemarHeimann5 жыл бұрын
Whats the difference to debugWire? For me its the same?!
@edgarskulinics5540 Жыл бұрын
Hi! You can plz help - I cant upload a code to Attiny414 with arduino Nano. I cant find any information how to do that. Please help. I have UPDI, but it dont work. Anything from internet dont work.
@Beatleman914 жыл бұрын
How to debug it?
@ChristianDeutinger5 жыл бұрын
does it work with ATTINY10?
@watersoundsmx5 жыл бұрын
Candle light please tutorial
@edgarskulinics5540 Жыл бұрын
Please help! SOS! Dont work - is error avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding
@jendull46823 жыл бұрын
can i program ATtiny20 XU with this way?
@danielcichon20875 жыл бұрын
Was ist updi - gibts das auf deutsch auch? :-)
@hansdietrich835 жыл бұрын
Nö
@dave-in-nj93935 жыл бұрын
do a vid that shows how to play music while a sketch is being uploaded. that save us watching the monitor.
@safakozer46873 жыл бұрын
how can i connet nrf2401 to attiny1604 (via spi)? does anyone know how to do?
@TheRaduRek3 жыл бұрын
Hello. I'm Radu from Romania. I really appreciate your work and videos. I can't load the programmer code into Nano. I tried several versions, it gives me all kinds of errors. What's wrong? what's the secret. I mention that I want to program an Attiny 402... Thanks for any information. All the Best !
@dumle295 жыл бұрын
The comparison of pin requirement is kind of weird. It's not a 6 -> 1 pin shrink. It's a 4 -> 1 pin shrink, which is still impressive. No need to dress it up any further :)
@martinx83489 ай бұрын
All great until you selet the arduino IDE options, I get to see what you select for about 100ms . Nearly impossible to see what you do.
@goury Жыл бұрын
Good. Except jtag2updi is long deprecated.
@xExPiRedLaRdx5 жыл бұрын
IC is backordered from every vendor...
@cedrichirschi80365 жыл бұрын
Dont search for the link written on Lunis UNO-Board. JUST DONT
@nopparuj5 жыл бұрын
Wow it literally lag my phone, incognito mode for sure...