For those that cannot get it working: I had no output in Microchip Studio (that's what Atmel Studio is called now), so I went to avrdude directory and clicked on it. Apparently I had no admin rights to execute it. So I copied the whole bin folder with avrdude to desktop, adjusted the path to point to this folder and now it works like a charm! Great tutorial, I enjoyed it.
@mhassaankhalid1369
2 жыл бұрын
Bro how were you able to adjust the path
@suyashrai3199
5 жыл бұрын
Great video. Thanks! :) .. for those whose current arguments show error, here's the updated one: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:"$(TargetDir)$(TargetName).hex":i Change the com port accordingly.
@houseofelectronics5869
5 жыл бұрын
Thanks man. Wouldn't have worked without your tip :)
@TheMusterionOfRock
4 жыл бұрын
You saved me, thanks.
@yavuzerbas875
3 жыл бұрын
thanks!
@incxxxx
2 жыл бұрын
Has no sense all that way.
@jhlsol
5 жыл бұрын
Exactly what I was looking for. Wanted to use my arduino nano, but didn't want to use arduino IDE. Most other tutorial only use the atmega chip in a breadboard; also not what I was looking for. Thank you.
@MrSponberg
6 жыл бұрын
For new beginners that are just copying and paste the parameter values into External tools, remember to add a space between the parameter and the parameter values Eg. -b value etc.
@theLoo7791
7 жыл бұрын
Nice Tutorial - works fine with my cheap Arduino Nano clone. Now programming like a pro for only 2 bucks. Brilliant!
@DailyWalk365
5 жыл бұрын
Well, I am almost 51 and you have done me a great service. I have been looking for a couple days on how to set up my Arduino projects in either AmtelStudio or PlatformIO, both of which does not give error free ways of getting it to work with a basic Uno board. This video was indeed the answer with AmtelStudio the winner for me (thanks to you). I am now a subscriber as well. Thank you sir. I wish you great success.
@marathonman3095
Жыл бұрын
You have accomplished what Atmel refuses to do, Give a precise tutorial on how to get Studio 7 to work with Arduino environment. I deleted Studio 7 a long time ago because of their complete blunder with Arduino but because of your precise tutorial I just might have to give another crack at it. Thank you and YES!, you deserve a thumbs up for filling a gape which Atmel refused to do in the first place.
@phprofYT
4 жыл бұрын
Your video saved my situation. Several websites and forums didn't don the trick but this detailed yet concise video is all I needed.
@kannansr
7 жыл бұрын
Thank you very much for a very simple overview of using Atmel Studio 7 with Uno 3. ' It greatly helps to both have the Arduino IDE and Atmel Studio 7 when you want to teach simple stuff to kids/beginners and switch to Atmel Studio when you want to develop / troubleshoot new code / time critical code for later library use which needs advanced debugging features.
@MrPnew1
8 жыл бұрын
Joop thank you for showing us how one might start to use the Atmel Studio to upload programs into the Uno. You explain things very clearly
@urbanrider8038
Жыл бұрын
Excellent! The tutorial still works end 2022, with the newest version of Atmel Studio
@RamonWilliams
2 жыл бұрын
Very well done, it worked as per your video with no problems (if anyone is reading this its called Microchip Studios now). thank you
@PeterMedvesek
7 жыл бұрын
Nice tutorial. I also tested STK500 programmer (this is loaded on arduino if you choose: ArduinoISP sketch) with atmel studio in the same maner. This way you do not need bootloader.
@andymouse
4 жыл бұрын
I think this is something ATMEL should be SHOUTING about as it promotes there IDE but thankfully you have, and very well done ...cheers!
@dhruvkhullar6153
7 жыл бұрын
you're genius bro… Totally god sent.. keep it up
@klcbsoft
6 жыл бұрын
Excellent stuff, thanks for sharing that! @Command-Parameters: Haven't read all the comments, so in case it wasn't mentioned yet: In your command parameters _$(ProjectDir)Debug_ adds the release-target-directory as a constant. You can also use the _$(TargetDir)_ macro which adds the full project path *including* the selected Target-path. The flash-portion of the tool-parameters would then read ... -Uflash:w:"$(TargetDir)$(TargetName).hex":i
@sadatrafi8762
3 жыл бұрын
Thanks to you and Google AI. Last night I've wasted a lot of time as atmel studio wasn't recognizing my programmer.
@theslvrbullt
8 жыл бұрын
Man, you make this look easy... For some reason, despite learning how to program a Freescale MCU using Codewarrior in college, the thought of using Atmel Studio on an Arduino worried me. Might have to dip my toes in the water if it is this easy to do.
@BernhardHofmann
8 жыл бұрын
Just one request: use the lowest screen resolution you can for code so that people watching this on phones can read the text. There's a huge area of white background in most of this video. Thank you for the very clear and informative tutorials though.
@vladimirastrelin1719
7 ай бұрын
Thank you, Sir! Your tutorial saved a lot of time. It's very informative and useful.
@michaelj3971
8 жыл бұрын
Great video. There is more to Arduino than just the Arduino IDE. Thank you for uploading this.
@misterx4326
5 жыл бұрын
Hi. I recently wanted to do the same trick on my own, but decided to first look for a ready solution and immediately found your video. The solution works, thank you. Permit me a small correction -- you suggest the Debug subdir in the command line parameters, but this won't work for Release builds (and this is probably why some readers weren't able to do the trick). Instead I suggest the following path: -Uflash:w:"$(TargetDir)$(TargetName).hex":i It works for both Debug and Release builds -- tested. Thanks again.
@Paulhenri80
7 жыл бұрын
Thank you for this bunch of tutorials about atmel studio.
@doublebrown3613
6 жыл бұрын
A great walk-through guide. Cheers for sharing your knowledge!
@bensmith6518
6 жыл бұрын
Thank you so much! This video is very helpful, as Atmel Studio is my go-to IDE.
@amarug
7 жыл бұрын
i see that the arduino IDE is somewhat spartan, but so are most of our everyday arduino projects. so i think the efficiency gain from using the atmel studio with all its learning curve and missing high level libraries only comes for some seriously badass projects. personally i prefer to use atom editor with the platformIO plugin to get a somewhat nicer and more sophisticated environment, while still keeping the high level programming features up and running. however for people who are intrinsically interested in embedded systems, i totally see the magic pull of wanting to explore lower and lower levels to really get the best understand of what is going on :) i just need some control loops and shuffling some sensor data from here to there, so i guess i will keep my system for now.
@mratlas3364
7 жыл бұрын
Using Atmel and register manipulation is more about ACTUAL embedded firmware programming as opposed to plebe level building of toys....
@jorgegerardoaragonvillarre2973
8 жыл бұрын
Great Video, you are a very good teacher, I am using your videos to make make a similar drone like yours, and this tutorials in Arduino are awesome, I bought a book on the topic. Programming AVR, some of the stuff said there is similar to what you say in your own videos. Thanks a lot ! Greetings from Monterrey, Mexico !
@Joop_Brokking
8 жыл бұрын
That is good to hear. Enjoy building / programming.
@autotuneengineering
6 жыл бұрын
Thank you very much for taking the time to document this procedure. Very good video.
@chandragupta2828
Жыл бұрын
Great Explanation, I will suggest to make a playlist explaing startup code, ISR etc
@leonardk.1684
2 жыл бұрын
Very nice The first one that explained it pretty well. Thanks.
@jonasdefrancisco6217
6 жыл бұрын
Sir you are a gem! Please...keep doing what you do!
@digitART30
6 жыл бұрын
What can I say , just wonderful and perfectly explained, thank you very much
@pfsmith007
7 жыл бұрын
Joop, you are crazy smart. I really enjoy watching your videos, however it's kind of discouraging because I don't know if I will ever be as skilled as you. Much respect and thanks for sharing, Peter
@Joop_Brokking
7 жыл бұрын
Don't let yourself be discouraged. A couple of years ago I started completely blank with the Arduino boards. But I was really eager to try and learn new stuff. And after years of failure I can now help and motivate others :-)
@pfsmith007
7 жыл бұрын
I really enjoy watching your videos and I'm grateful for the motivation you provide. I went to your website and wanted to donate because I'm building the balancing robot now. I found your statement about donating the amount that I want to donate to a worthy charity. I think that is very cool and quite generous. Thanks for all of your efforts, you are a cool guy!
@RogerKeulen
7 жыл бұрын
Waw... Very clear and wel spoken. I hope it works, it's still downloaden and installing. I like the fact that it's just Microsoft Visual Studio. Using that for years.... lol
@samdharma350
7 жыл бұрын
Thank you. Your instructions are very good. I most certainly learned a lot. Best
@CXensation
7 жыл бұрын
Very informative video ! I installed the Atmel Studio 7 on my PC, to follow your tutorial here, as I want to try out a more efficient code IDE. My version of Arduino IDE is the latest ver : 1.8.2 (@ date of writing), and it works absolutely fine and I got the same result as in your tutorial. Please note, that when you show the start of the Atmel Studio project, you dont mention to select the second option "GCC C Executable Project". This option is however shadowed indicating you selceted it. By "logic" I first selected the Arduino sketch option, and ran into deep trouble ...
@elmerv1934
7 жыл бұрын
MUCHAS GRACIAS!!!!!!!!!!!!!!!1 DESDE PERU-AREQUIPA!!!!!!!!1
@pesho9971
6 жыл бұрын
Looking at the GUI(even the name gives it out :D) it's a "rebranded" Visual Studio with Atmel's toolchain. Since I'm very familiar with VS i might switch
@fatherboard1252
6 жыл бұрын
Thank you for the awesome tutorial. Really informative and very easy to understand. Keep going, thanks a lot.
@WhatsACreel
7 жыл бұрын
This is extremely useful!
@dabasalomon4764
2 жыл бұрын
Everything works as intended. Thanks
@13Bulbasaurpc
5 жыл бұрын
Thank you very much sir didn't found a better tutorial :)
@MrStevensarns
7 жыл бұрын
Thank you - very clean, concise and clear
@asmi06
7 жыл бұрын
This is interesting, but I still think that buying Atmel-ICE is totally worth it as you can use any Atmel MCU with it, including their ARM-based MCUs when you need more horsepower than 328p can provide.
@sidharthap
8 жыл бұрын
Thanks for showing how to do this. It really helps. 1 small request. when making videos where you show code/programming, please zoom in to the code so these videos can also be seen on a mobile device. thanks again mate.
@caroman6761
8 жыл бұрын
Your arguments to switch to the AMTEL Studio are very convincingly. Please let me ask you and other youtubers about experience in AMTEL Studio in a Virtual Machine (Oralcle VM VirtualBox). I believe to have a pretty quick notebook, but to compile and transfer Programs from the Notebook to the Arduino takes a very long time just Blink program may takes 5 Mins), anything seams to goes wrong. Thats the reason to check, if maybe to use a virtual machine, just with windows and the Studio software will work faster and better. Any Idea?
@drulli1
7 жыл бұрын
goedendag Joop,, very nice video. Because I have an arduino mega I tried to do this exercise based on the ATmega2560 device, which is used for the Arduino Mega - and, It works! Excellent!
@Joop_Brokking
7 жыл бұрын
Goed om te horen Axel.
@alula_fpv
7 жыл бұрын
Thanks Joop!! You make my life so much easier.
@robertparenton7470
4 жыл бұрын
Thank You! This video is of great help to the lab!
@whins
4 жыл бұрын
Great thanks! It helps me to upload sketch to Attiny13 over Arduino as ISP
@nullpointerworks4036
4 жыл бұрын
Dude, excellent video! Well done.
@basitimran3368
6 жыл бұрын
Extremely usefull and beautifully explained :-)
@osamaafridi5
4 жыл бұрын
Worked 100%, you made my day, thanks alot😊
@kevinchahine7553
7 жыл бұрын
now I have a bootloader for the arduino uno and arduino mega yeah!!!
@anaritadinizdacruz7768
3 жыл бұрын
Thanks! Your tutorial helped me a lot (and my english is not so good)!
@TheBATeam
6 жыл бұрын
Nice accent and way of explaining things... Waiting for more tut. related to Arduino and 328p Microcontrollers. :)
@wgus
6 жыл бұрын
Excellent tutorial, very clear and objective! One question: Does this method allow us to use breakpoints as well? Thank you!
@samuelholm3622
7 жыл бұрын
Thanks so much for this! :) Absolute life saver.
@dawid4190
6 жыл бұрын
Great explanation! Now, let me try it.
@dawid4190
6 жыл бұрын
Works perfectly. Thank you!
@pirateman1966
6 жыл бұрын
It helped me set it up and get it working. mucho Thanks
@kevinchahine7553
7 жыл бұрын
This tutorial is really great
@Keys_9914
Жыл бұрын
Thank you man this helped alot
@milton174
8 жыл бұрын
Gracias fue de gran ayuda esta configuración
@chuckykillerLEB
4 жыл бұрын
Im having trouble in the last step. When I select the Tool (the comand lines are ok) nothing happened, and some arguments look different
@minhmocmeo8385
7 жыл бұрын
Very nice tutorial!!! Thank you very much! ^^
@adochshanov
3 жыл бұрын
Pretty clear! Thank you very much!
@slap_my_hand
7 жыл бұрын
You should use bit shifting for setting and clearing bits in registers.
@Joop_Brokking
7 жыл бұрын
That's the beauty of programming these things, there are several ways to achieve the same goal. Where one method is not necessary better than the other.
@joseleonardonatalicio2596
6 жыл бұрын
That's extremely useful, thank you!
@jameskalenga7546
5 жыл бұрын
Great job. Found it useful
@mestaantonio5775
7 жыл бұрын
thank you to share, very useful but very difficult to follow instructions in your video because video very low definition, but excellent explanation congratulations
@mestaantonio5775
7 жыл бұрын
thank you for your help, regards
@BernhardHofmann
8 жыл бұрын
Great videos dude. Subscribed.
@davidan1822
4 жыл бұрын
Nice and clean.
@danieloctavio2111
6 жыл бұрын
My Arduino resets when i boot the program on it with Atmel Studio, but the program doesn't works insted my arduino keeps the last program (programed by Arduito IDE) after the reset. Any help? (Sorry for my english)
@123davetheking
5 жыл бұрын
Same. Were you able to find the solution to that issue?
@PraveenMax
7 жыл бұрын
Thanks. Nice solution provided
@ahmadmaihreze9492
6 жыл бұрын
thanks a lot it was so clear so useful
@goffylukusjgs2498
4 жыл бұрын
I have a problem . So when i do build solution and go to tools to run arduino everything goes well even with the code but when I upload it to the Arduino uno it only blinks for a while and after nothing happens .Any suggest?
@tempusFugit1337
2 жыл бұрын
Hi i had the following question, Can the Arduino Due be programmed in the same way in Microchip/Atmel Studio by following the same instructions like in this video ? Or another process has to be chosen in this case ? Greetings
@sewid
7 жыл бұрын
Thanks man, helped me a lot!!!
@JW-sz5ik
3 жыл бұрын
Outstanding! Thank you!
@Ecki107
6 жыл бұрын
This was soooooo helpful
@GianlucaRoccaGian
3 жыл бұрын
Thanks Master! i just start microcontroller for the course Microcontroller at 3 semester; i manage everything but the led does not blink, only light up, hope in the practice i am gonna fix that but thanks so much i really wanted to do the course with an arduino buy programming in avr c! :D
@GianlucaRoccaGian
3 жыл бұрын
haha i forgot to go to build - build solution
@rodlopez57
3 жыл бұрын
Error trying to upload compile code .... System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" Using Port : COM10 Using Programmer : arduino Overriding Baud Rate : 57600 avrdude.exe: ser_open(): can't open device "\\.\COM10": The system cannot find the file specified. Any idea?? my second line on the Argument is like this : -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -carduino -PCOM10 -b57600 -D -Uflash:w:"$(TargetDir)$(TargetName).hex":i.... Thanks....
@noweare1
7 жыл бұрын
Thank you for figuring that out
@flexchannel1
8 жыл бұрын
Very nice video! Thank you!
@giostechnologygiovannyv.ri489
5 ай бұрын
2:22 I have no option like 'Arduino bootloader' XD wth, Tools go directly to Customize and Options 5:02 :( I have no "External Tools" option on my side ://
@stevethackery9853
7 жыл бұрын
Very helpful - thank you.
@VeraRegensburg
5 жыл бұрын
Thank you very much! It works nice!
@thierry9592
5 жыл бұрын
bedankt man! goede video
@Electronieks
8 жыл бұрын
Bedankt We leren bij
@rochdimaria
4 жыл бұрын
Thaaanks it worked !
@ThemeParkTeslaCamping360
5 жыл бұрын
@joop Brokking: thank you so much i was able to do that for my Arduino Uno via Keil uvision 5. I would really appreciate if you can help me same with my STM32F411RE nucleo board and Freedom frdm-kl25z board. Please advise., Also how did you get an information regarding PORTB on arduino that 0B00100000 is high and 0B11011111 is low? also what does DDRB 0B00100000 does?
@eb2615
7 жыл бұрын
Loved the video, If your on a tight budget you can buy the ice pcb from Farnell for well under half price
@Joop_Brokking
7 жыл бұрын
That is true. But the cable is not included. So prepare to make a cable yourself or buy the spare one.
@hexadec
7 жыл бұрын
I've just bought the full kit from Farnell UK for £57.66 inc. VAT and delivery!!!! all cables and connectors included. Great videos BTW keep 'em coming. :-)
@hexadec
7 жыл бұрын
Further to the above...it seems their website threw a wobbly and I should have been charged £130!!! Good luck with that as it's already been dispatched LOL
@kaischaabane6978
7 жыл бұрын
Thank you so much very helpful
@bmbm2901
7 жыл бұрын
Everything is going more efficient with the Arduino_Studio_7_plugin
@nathancordos9150
3 жыл бұрын
Thank you very much.
@aliismail1031
5 жыл бұрын
it works dude , that 's cool
@MilanKarakas
8 жыл бұрын
Bulding options works great. Upload to the board is fast. Only problem, no matter what I put into the program, it just lit PB5 (onboard LED on pin 13), and nothing more.
@MilanKarakas
8 жыл бұрын
Ah, okay... now it works... after I close "solution", and start over again. Probably I did something wrong and Atmel studio remembered it. Thanks for nice tutorial - without it can't even start anything. BTW, sketch for blink in Atmel studio (Arduino nano): #define F_CPU 16000000UL #include #include int main(void) { DDRB |= (1
@Joop_Brokking
8 жыл бұрын
After each change you need to rebuilt the solution. Otherwise the old program is used for the upload.
@tptabputab6831
4 жыл бұрын
Super Video ... Thanks
@andymouse
5 жыл бұрын
great stuff! I just followed your instructions and all went fine cheers!!!...are all studio's functions now available please?...also they don't seem to keen on telling you this do they? maybe they would like you to buy ICE.
@schichlemrompel2412
5 жыл бұрын
i try right now to follow the step but it is not working, on the ouput i am getting: "avrdude.exe: can't open input file Debug\GPIO_AVR.hex': No such file or directory" and can read from file 'Debug\GPIO_AVR.hex' failed
@misterx4326
5 жыл бұрын
Hi, Steve. Maybe you used the Release build? Try changing it to the Debug build. You can also try this different path in the Arguments line: -Uflash:w:"$(TargetDir)$(TargetName).hex":i Hope it helps.
Пікірлер: 270