No video

The ultimate way to program a microcontroller! - High-Voltage/Parallel ATmega Programming

  Рет қаралды 11,907

Sine Lab

Sine Lab

Күн бұрын

Пікірлер: 45
@Psykorr
@Psykorr 4 ай бұрын
YES! this is exactly the kind of thing I wanted! Finally. I was getting pretty tired of the whole config-hell and aimless hacking about. Thanks a million!
@SineLab
@SineLab 4 ай бұрын
Glad I could help!
@xzddakfdmiug5832
@xzddakfdmiug5832 Жыл бұрын
I like how you automated the unlocking process. Adding an LED for success/failure is definitely helpful.
@SineLab
@SineLab Жыл бұрын
Automation makes everything a whole lot easier.
@MadrasDSF
@MadrasDSF 2 күн бұрын
It helped me! Unbricked my Atmega 328. Thank you!
@olegb155
@olegb155 4 ай бұрын
Thank you very much! With this technique I managed to revive 4 of 5 atmega88s bought on aliexpress. Absolutely happy now! :)
@orozcoapaza1660
@orozcoapaza1660 28 күн бұрын
Really amazing content very interesting :), takes away the fear of touching the fuses, thanks 😊
@hgbugalou
@hgbugalou Жыл бұрын
Your channel is criminally undersubscibed . Lots of great info and projects!
@SineLab
@SineLab Жыл бұрын
Thank you!
@YanickT
@YanickT Жыл бұрын
I never had a defective atmega, it's always a fuse bit problem. I saved a lot of atmega128 back then and atmega328 now with my stk500 in parallel mode. Sometime it's the isp disabled but can also be the clock became external instead of internal when no external clock is provided. Great Idea to do a device to fix this. Good work.
@stefancich
@stefancich Жыл бұрын
Great project, I made your programmer, it works perfectly, thanks.
@SineLab
@SineLab Жыл бұрын
Thanks, it's good to hear that somebody is getting something from these videos. :)
@GregCoonrod
@GregCoonrod Жыл бұрын
Great video! I am sure that I will be revisiting it when I eventually brick one of my AVRs :)
@SineLab
@SineLab Жыл бұрын
It happens to even the best of us. :)
@btg5975
@btg5975 Жыл бұрын
Good work. Will be very useful. Regards, Engineer from India.
@SineLab
@SineLab Жыл бұрын
I'm glad you found it helpful!
@alicewyan
@alicewyan 7 ай бұрын
Fuses are such a pain! :) I normally use a TL866II to program these little guys, but I'm not sure if it can do the parallel algorithm
@patuxenthistory6410
@patuxenthistory6410 4 ай бұрын
The last time I saw a battery like that was more than 50 years ago.
@arashabdi4052
@arashabdi4052 Жыл бұрын
Hi, thank you so much for your helpful tutorial. I have two mega328p, not applicable anymore because of the wrong configuration that I have done. So, I tried to follow your instructions, but it did not help me. indeed, when I try to connect them with avrdude I always get signature 0x0000 which is extremely weird. I hope I can use your guide in this case. Should I forget those or is there any way to rescue them?
@SineLab
@SineLab Жыл бұрын
This video was centered around the mega8A, but the mega328p mostly has the same process? Did you try to reset it by hand, or try the automated method?
@arashabdi4052
@arashabdi4052 Жыл бұрын
Actually no, I will do it and in case of success, I will share it here.
@gbulamrasool1610
@gbulamrasool1610 8 ай бұрын
Excellant❤❤❤❤❤
@SineLab
@SineLab 7 ай бұрын
Thank you!
@giantkherva2141
@giantkherva2141 Жыл бұрын
If atmega328 mcu lock with lock bits high voltage programmer can reset lock bits without code or programe loosing?
@SineLab
@SineLab Жыл бұрын
You are forced to erase the program if you reset the lock bits.
@giantkherva2141
@giantkherva2141 Жыл бұрын
@@SineLab without loosing program possible lock bits unlock by high voltage programmer or other device?
@giantkherva2141
@giantkherva2141 Жыл бұрын
Any other way for save program
@SineLab
@SineLab Жыл бұрын
@@giantkherva2141 There is no official way to recover your program. There are probably other very expensive and difficult methods to recover it. Unless you have a really good reason, it's not worth the effort.
@JaenEngineering
@JaenEngineering Жыл бұрын
This seems more like a "I have a locked mcu with proprietary code on it and I want to steal it" kind of comment.
@gio0042
@gio0042 Жыл бұрын
Oh man i should've gone for a walk or something else instead of playing with those fuse bits... Now my atmega328p is expecting an external clock source. Should i attempt this project or is there any simpler way to put together a clock generator or maybe i could use the clock from some other device? If anyone has some suggestions i would greatly appreciate it...
@SineLab
@SineLab 11 ай бұрын
If you're willing to put in the time, this project will let you quickly save yourself anytime you mess up the fuses. It's very convenient and I have used it several times off-camera. Otherwise, you can use something like a 555 timer or even another atmega328p as a clock source.
@gio0042
@gio0042 11 ай бұрын
​@@SineLabhey man, i tried the manual method on a breadboard but the ready led isn't coming on, only the third bit light comes on and as soon as i apply the +12v the led turns off... 100% i must have wired something wrong or i didn't understand the procedure...could you please upload a schematic on your website for the manual method? I'm sorry if i'm asking too much but i have to admit i'm a total noob (as you may have noticed from my screw up), i'm having an hard time following the wiring on the video... I think i shouldn't have killed the chip, i applied the 12v only to the reset line, nothing else.
@gio0042
@gio0042 11 ай бұрын
​@@SineLabwhoa wait, i poked at the resistor and the led on the ready line and after power up the led came on, i will now try to program it, maybe i can pull this off
@gio0042
@gio0042 11 ай бұрын
@@SineLab nevermind, as soon as i pull down the OE pin to read the first signature bytes, they're wrong...this thing is driving me crazy, i spent the entire evening putting it together
@gio0042
@gio0042 11 ай бұрын
Also on the atmega328 the programming mode sequence is a bit different, i did it like this: 1. Apply +5v while RESET is tied to ground 2. Disconnect RESET from ground and connect it to +12v, and the ready led turns on..
@PainterVierax
@PainterVierax Жыл бұрын
deleting my comment is not very wise. RescueAVR is a better solution, no need to reinvent the wheel.
@atoomnet
@atoomnet Жыл бұрын
Well... reinventing something is a great way to learn and better understand a subject.
@PainterVierax
@PainterVierax Жыл бұрын
@@atoomnet I don't deny that. Just no need to put that part in an "educational" video. Though modifying and contributing to an existing project is a great way to learn as well. Especially when the other HV prog project is way more versatile for the entire range of AVR MCUs. The datasheet is useful for programming registers, functions, fuses and be aware of the chip limitations, but reading it just to unbrick some specific chip is a waste of time when automated tools already exists to allow us to restore the usual ISP or JTAG port. And as I said under a previous video we barely even need HV prog to reset external clock settings as some advanced ISP programs also provides a configurable clock signal to feed on the cristal pin.
@Psykorr
@Psykorr 4 ай бұрын
​@@PainterVieraxyou are confusing the invention "the wheel" and one implementation of "the wheel". Using a wheel as an example, a tractor wheel is not a reinvention of the chariot wheel. It is only another implementation of the same principles. Some people, me for example, find this kind of demonstration of the principles of "the wheel" extremely useful because it enables us to make better decisions when time comes to select a commercial product. I do not really understand why this kind of demonstration provokes a lot of people, if you have a better solution that you prefer then fine go and use it, why even watch this video then?
@PainterVierax
@PainterVierax 4 ай бұрын
​@@Psykorr I'm not. As I said, I had a more elaborated comment.
Are PIC Microcontrollers Any Good? - Beyond Arduino #4
21:07
Sine Lab
Рет қаралды 42 М.
V-USB on an ATmega328! - V-USB and HID Explained
14:08
Sine Lab
Рет қаралды 48 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 40 МЛН
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 15 МЛН
477 Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Рет қаралды 206 М.
How to Burn a Bootloader and Upload code to a ATMega328P-AU
8:45
Pretty much flawless
Рет қаралды 4,9 М.
10 steps to start AVR microcontrollers
28:53
Electronic Wizard
Рет қаралды 12 М.
Making 500,000 VOLT ARC with Marx Generator
12:41
ElectroBOOM
Рет қаралды 9 МЛН
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 891 М.
Make a UPDI Programmer for the Arduino ATTiny
14:50
element14 presents
Рет қаралды 23 М.
Microcontroller Showdown: Which One Wins for Your Project?
17:21
Predictable Designs
Рет қаралды 15 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 40 МЛН