Это видео недоступно.
Сожалеем об этом.
ATmega8 bootloader, code, Arduino IDE
HTML-код
- Опубликовано: 17 авг 2024
- Best & Fast Prototype ($2 for 10 PCBs): www.jlcpcb.com
Let's start with other AVR microcontrollers from Atmel. This time, the ATmega8. Butn the 16MHz bootlaoder and then upload codes using the FTDI programmer. More micros tutorials soon...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.co...
Canal en Español: / electronoobs en español
-----------------COUPONS-------------------
Oscilloscope: www.gearbest.c...
PRINTERS
-------------------------------------
Ender 3(155€ AMAZING): www.gearbest.c...
SparkMaker SLA: www.gearbest.c...
Crealitu CR10: www.gearbest.c...
Coupon code: "11CR10EU" or "11CR10US"
ANET E10 (219$): www.gearbest.c...
Coupon code: "Anete10us"
TEVO Tarantula (175$): www.gearbest.c...
Coupon code: "Tarantulaus"
Creality CR10 MINI: www.gearbest.c...
COUPON: CR10MINI
Anet A8: www.gearbest.c...
Coupon code: "A8KIDA"
-----------------LINKS-------------------
ATmega8 bootloader burn: www.electronoo...
Bootloader burn schematic: www.electronoo...
FTDI schematic: www.electronoo...
OptiLoader code: www.electronoo...
MiniCore GitHub: github.com/MCU...
ATmega328-p-AU bootlaoder burn video: • Burn bootloader to ATm...
Like share and subscribe to motivate me. Thank you
#electronoobs #arduino #homemade
Want to help my workshop: www.patreon.com/ELECTRONOOBS
Thank you so much!
Yo. You should make a tutorial on how to design a bootloader in the form of an Arduino Shield...
I have one guestion. How about 328P in smd version is it same connections as in your tutoril arduino bare minimum or there is diference.
So far I have bricked 2 of my 10 atmega 8's ..... 8 more to go. Then I can recycle them.
Sir, send your mail id.
Starting program mode failed result
Sir whats is this problem
You just glided over that "if you get an error...." I am always getting an error, no matter how many times I press the reset button or type G.
Awesome video ! For a moment I thought you had forgotten the banana. Quite a relief to see it showing up at 4:30.
While (1)
{
Print("Thank you so much")
}
Oh you are definitely staying awesome!
I cant wait for all of these lessons about the different types of micro controllers you have :D
I was about yeet my chip across the room until your video saved it.
This video is 4 years old, yet is more useful than anything around recently. Thanks man! Exactly what I was searching when hitting a brick wall with my atmega32u chip (this one in particular are the ones Leonardo boards uses)
thank bro.
ESP8266 next tutorial please.
we appreciate your hard work and we are supporting you... *LOVE*
The atmega88 is the newer version of the meg8. It's a better chip having more interrupt lines, and it works up to 20mhz vs 16mhz for the '8'. The mega8 might be cheaper, especially in surplus. BTW you CAN use the USBISP to program the optiloader on the chip. I've done it! (Via the command line with avrdude)
There's definitely a gap in the explanation of configuring the FTDI board to load the chip on the breadboard. I've tried uploading blink to the COM port of my FTDI programmer and I'm seeing "avrdude warning: attempt 1 of 10: not in sync".
I have no idea what the loading baudrate is supposed to be?
Where does that atmega8 vs atmegaxx8 table come from? It would be nice to be able to read it properly, instead of just being shown glimpses of it, or being shown it all but at too low a resolution to read it.
Why do you need to connect all those components to the microcontroller between programming it with Arduino?
Can't wait for PIC microcontrollers.
The ATmega8 vs ATmegaXX8 table you've shown seems to show 2 SPI interfaces, for most of the chips listed, including the 328P. That's wrong, isn't it? The Uno has two sets of pins connected to SPI (the 6 pin ISP and some of the D pins), but they're just wired together, aren't they?
I now realise how difficult it is to get a decent high resolution schematic of the Uno, as an image. I'd saved several, over the years, but they're mostly too blurry to actually read properly.
Is possible do this without the 16Mhz Xtal, using only 8MHz internal oscillator ?
Great video! It was very useful. But I have a question: how did you chose a 10kohm pull up resistor for the reset pin? why that value? I'm trying to learn how to calculate the right size for pull up/down resistors for logic CMOS digital circuits
10k is pretty much the default value for pull-ups and pull-downs. There isn't any precise value or formula to follow, pretty much anything from around 4.7k to 22k, maybe higher, will do. 10k just tends to be a value in that range that most people have on hand most of the time, so it kind of feeds back on itself and everyone just uses them by default and keeps them handy whenever a pull-up is needed. Pretty much the idea is to be a large enough resistance to be easily overridden by a connection to the other rail while being small enough that there will be enough current to maintain the desired input level. In general unless a datasheet specifies a different value, just assume 10k will do.
thank you very much
Too big a resistor can lead to noise problems where the current is so small that the gate can be affected by power supply noise.
Too low a value resistor can lead to latching, where something trying to pull the line high or low cannot overcome the current, because of device limitations. So this is very dependent on what is attached to a gate. in general, anything between 4K7 and 10K should suffice.
@@michaelward402 lol I had forgotten this comment from 3 years ago. But thank you. It's useful information
This channel deserves subs.
Good tutorial. Can you make a video tutorial series about PIC microcontrollers? It would be awesome!
Why you didn't make a video on program to pic Microcontroller easily like you did on Atmega8A or Atmega 328.
Loved that a lot. I would also like to use the Attiny and the Atmega32A..
arduino ide always stuck at uploading while uploading blink to my atmega8
Very good channel with not enough subscriptions :) I watched your watch project and it was amazing, show more microcontrollers and describe them as for an electronoob like me, please :D
I use the Attiny85 a lot because of it's small size which I program from an Uno. Nice video.
Ha merecido la pena escucharte. Gracias
Thanks for using pic microcontroller
Really fantastic work, dude! 😃
And it shouldn't be difficult to make special boards to burn the boot loader and to program it. 😊
Woww awesome bro! I love this kind of videos. What about a similar tutorial with the attiny10?
I want to upload arduino code on atmega2560. Do I follow the same method?.. I tried it but it doesn't work.
Thanks! This also works same with uploading to ATmega328?
hello 👋 bro ,
i follow as you told ,all works good but program is not uploading with usb ttl (cp2102) black colour board , i don't know why usb ttl is not working to upload program to atmega 8 ,its uploading to atmega328p but atmega8 is not supporting... is there any other way to upload program to atmega8
Sir, please Make a video on pic microcontroller
first attempt and immediately works, thanks
Hi, does someone know at witch age you can make a Website?
I bought Atmega8 16pu and I have a question? Can I use another arduino Uno and put this chip in instead of 328 and to burn bootloader that way, using 2 arduino uno's?
pls help.. what to do if i dont have dtr pin?
Buen video, sigue así, siempre está interesante ver cosas nuevas
(good video, cotinue that way, always is interesting see new things)
Thanks dude, this is work perfectly on atmega8
you are the best sir
AtTiny841 is also a really great microcontroller.
nice video thank you verey much.....but what is the board we have use it in opition when burning the bootloader
4:30
how is the atmega8 being powered if it is not connected to any powersource?? how ever in thecircuit diagram it is connected to 5v and gnd of arduino
Thanks, Sir. for sharing your knowledge
can the same procedure apply for ATMega16 bootloader burn?
Nice Video
But litte "fun fact" you could allready use an atmega8 whit the basic board libarry.
Under the "arduino NG" bord you coud choose between a atmega8 oder atmega168. So theoretical you dont have to add new boards to your libarry but still nice to have.
Thanks. I've tried that and for some reason didn't work...
Very informative video
Just a question. Do I have to always use a FTDI chip based programmer to program the ic or can I just replace the ic present on my uno permanently.
I do as you describe and its work but I observe very important thing the "startup delay THE INBUILT LED BLINK 3 TIMES IN A SECOND THEN OFF FOR TWO SECONDS " so total about 3~4 second startup delay and how to get rid of it ?
Nice information sir for atmega 16 bootloader.
thanks bro you permitted actionoise sistem......
Do you have pic microcontroller tutorial?
Plz🙏🙏 can I use atmega8L Instead of atmega8
Can i burn atmeg328p by using the same code???
j'ai la même question que vous mais je pense qu'elle restera sans réponse.
Thank you so much for sharing this video, really very informative to me , please keep the good work
How did you make that banana IC😁
I would like to see an AVR programming troubleshoot video. I have multiple chips that get DID 0x000000 for some reason, preventing from programming them. I simply can't find the right solution
The chips maybe locked. Some cheap suppliers sell pre-burned chips. A high voltage programmer may allow you to reset the fusebits. They could alse be fakes. See the video on my channel for more about that...
What is const alias_t aliases[] in Atmega32
Why not use assembly code rather than arduino code?
please make a video example of a simple tft lcd program using an atmega 16 chip.
Is it possible to display characters with a 16X2 I2C LCD?
Can someone help ! The library doesn´t stay in my IDE ! Everytime I Install anoter library the old one is gone ! Why is that ? How can I make them stay ???
Useful video
Does this still work? Im having some trouble, i dont know if i installed the bootloader correctly... I tried to do that step again and in one of the lines it said "Found "optiboot_atmega8.hex" for atmega8" so im supposing I did that right ?
The problem i was having was when i tried to upload code via the usb to ttl, it said "avrdude error: unable to read signature data for part ATmega8, rc=-1" If anyone could help id be grateful!
Can we use Arduino in place of usb to Serial converter
hi actually I'm facing a problem while uploading the bootloader to atmega8, it's showing (Starting Program Mode - Failed, result = 0xFFFF
)like
Can I do the same for atmega328p-pu?
how can burn the bootloader for internal 8MHZ crystal through arduino ?
If I change the ATMEGA8's bootloader, will it work with ATMEGA8 only codes?
I'm making a battery capacity tester designed by Danyk666 (DiodeGoneWild), and it needs a ATMEGA8 microcontroller
And can you reprogram a ATMEGA328P to work like the ATMEGA8?
Please reply fast
Gracias por el tutorial. Cómo configurar el oscilador interno de 8MHz del Atmega8?
Atmega16? Stepping back. I do recommend to get Atmega168 for projects that don’t need more than 16K of flash and Atmega32A that is more chipper than Atmega328. Try to use STM8S instead Atmega8. You will love it.
Nice and well done illustration steps
hello brother, can you make standalone programmer for arduino without PC. maybe the arduino using SDcard and just like click the push button and flash the atmega
What is thee meaning of banana?
i love this video ! although it only uses arduino NG
is it possible to burn bootloader using usb to ttl converter ?
hello brother ,can we upload code in Atmega8-16
Is the tutorial same for atmel32L Chip ?
This is not working for me at all. I try do this for several days.
I have a broken(temp sensor not working)non-programmable thermostat with atmega8l
Thank you so much for this video.
I tried this at my home but didn't worked.
I have uploaded "OptiLoader" code.
But while uploading the Blink code it was giving me below error.
"Access is denied.
exit status 1
Error compiling for board ATmega8.
"
I tried with same settings as you shown.
Please help me with this issue.
Can I use Arduino as ISP method to program atmega8 ??🤔
Indeed.. good job dude !!
Thank you so much, the tutorial is so useful
Is compatible for Atmega16-A?
Please make a video on PIC microcontroller also...
dear ... i keep getting this error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa0
!!
Good information
Hey friend I like to male my owm version of this can it be done
can we use same optiloader code for atmega328 ic
NICE WORK
I would like to see the Parallax Propeller (P8X32A-D40) a 32-bit 8-core microcontroller capable of running at 80MHz and generating It's own video output if needed
very informative and o the point. Thanks
Hello Friend I Need Big Help From You
Finally i Upload Bootloder in My Atmega8 Today Using This Great Tutorial ...
I Have .hex file and i want to upload in my atmega8 but how for atmega328 i use xloader but not found any solution for atmega8 how to upload .hex using arduino please please guide me i need big help ..
Of course the atmega16 and those pics would be interesting. I can't find any good tutorial about the PIC MCUs.
Great video as always!
But can anyone explain the meaning of the banana? :)
Its used for scale.
Nice! Thank you!
Banana's are awesome fruits.
Simple.
can i use this bootloader,code in Atmega8A-pu
have you ever use the awesome attiny85
pd: also v-usb for avr is really cool
A future video will be on attiny85!
Thank you for sharing. Could you also do a video on stm32?
Awesome! Can you do samd21 next?
How to bootloader atmega328p_pu to atmega328_pu plz help
It is still hard for me why the manufactured not do those stuff and sell it :((((((((((((((((
Thanks a lot for this tutorial
How to upload Hex file atmega8?