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!
@SineLab4 ай бұрын
Glad I could help!
@xzddakfdmiug5832 Жыл бұрын
I like how you automated the unlocking process. Adding an LED for success/failure is definitely helpful.
@SineLab Жыл бұрын
Automation makes everything a whole lot easier.
@MadrasDSF2 күн бұрын
It helped me! Unbricked my Atmega 328. Thank you!
@olegb1554 ай бұрын
Thank you very much! With this technique I managed to revive 4 of 5 atmega88s bought on aliexpress. Absolutely happy now! :)
@orozcoapaza166028 күн бұрын
Really amazing content very interesting :), takes away the fear of touching the fuses, thanks 😊
@hgbugalou Жыл бұрын
Your channel is criminally undersubscibed . Lots of great info and projects!
@SineLab Жыл бұрын
Thank you!
@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 Жыл бұрын
Great project, I made your programmer, it works perfectly, thanks.
@SineLab Жыл бұрын
Thanks, it's good to hear that somebody is getting something from these videos. :)
@GregCoonrod Жыл бұрын
Great video! I am sure that I will be revisiting it when I eventually brick one of my AVRs :)
@SineLab Жыл бұрын
It happens to even the best of us. :)
@btg5975 Жыл бұрын
Good work. Will be very useful. Regards, Engineer from India.
@SineLab Жыл бұрын
I'm glad you found it helpful!
@alicewyan7 ай бұрын
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
@patuxenthistory64104 ай бұрын
The last time I saw a battery like that was more than 50 years ago.
@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 Жыл бұрын
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 Жыл бұрын
Actually no, I will do it and in case of success, I will share it here.
@gbulamrasool16108 ай бұрын
Excellant❤❤❤❤❤
@SineLab7 ай бұрын
Thank you!
@giantkherva2141 Жыл бұрын
If atmega328 mcu lock with lock bits high voltage programmer can reset lock bits without code or programe loosing?
@SineLab Жыл бұрын
You are forced to erase the program if you reset the lock bits.
@giantkherva2141 Жыл бұрын
@@SineLab without loosing program possible lock bits unlock by high voltage programmer or other device?
@giantkherva2141 Жыл бұрын
Any other way for save program
@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 Жыл бұрын
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 Жыл бұрын
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...
@SineLab11 ай бұрын
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.
@gio004211 ай бұрын
@@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.
@gio004211 ай бұрын
@@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
@gio004211 ай бұрын
@@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
@gio004211 ай бұрын
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 Жыл бұрын
deleting my comment is not very wise. RescueAVR is a better solution, no need to reinvent the wheel.
@atoomnet Жыл бұрын
Well... reinventing something is a great way to learn and better understand a subject.
@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.
@Psykorr4 ай бұрын
@@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?
@PainterVierax4 ай бұрын
@@Psykorr I'm not. As I said, I had a more elaborated comment.