IMPORTANT NOTICE: After watching this video so many of you asked. how to do this with uno as the programmer and the mega as the target , mega as the programmer and the mega as the target. and many of you guys requested the wiring diagram for that again and again and i helped many of you around the world through email. You know, answering tons of emails is so hard but that's not the case there is a probability to miss some of them. I don’t want that to happen like that. So I updated the video description. You can download those digram's from there. Even if in any case I miss your mail. Have a great day. Thank you . Regars. Aneeshmurali.N
@MR.NiLanka2 жыл бұрын
You did great job. Can you help me to get hex file from STM32F030K6T6 microcontroller and write it to new one.
@MR.NiLanka2 жыл бұрын
I tried this method and it detected MCU as ATmega328p and Fuses & lock bits still remains same as 0x00 but it says SUCCESS: Read high fuse SUCCESS: Read low fuse SUCCESS: Read extended fuse also SUCCESS: Read lock bits I'm waiting for your advise. Thank you. 😊
@abpccpba3 жыл бұрын
I did not think would ever find a way to read/copy a hex file but here you are. Such a great help to me. I burned up my 3D printer board can still talk to it so thanks to you saved me a lot of work. : = }}
@Ciiads3 жыл бұрын
You are welcome. 😊🤝❤️.
@CerealKiller187 Жыл бұрын
I would like to also say thank you for taking the time to create, edit, and explain every detail step by step. You must have spent DAYS putting this together. Thank you again, sir. It has been a tremendously big help.
@Ciiads Жыл бұрын
👊☺️
@calvinwong81158 ай бұрын
Hi, I really appreciate your video, detailed guides and attached resources. You have no idea how much it helped me. Although I couldn't make it work with 2 MEGA's as programmer and target, I repeated the steps using an UNO as the programmer instead, and it worked! Thank you once again!
@gehirnenterprises2 жыл бұрын
This was so helpful. I can verify it works with Ardunio Leonardo, but the ICSP header must be used as the pins are different. It also works with Arduino Micro. Much easier than using Microchip studio in professional mode. Thank you Aneeshmurali !!!
@Ciiads2 жыл бұрын
Good to see you ❤️🤝
@احمدعبدالله-س8ظ9م14 күн бұрын
You are the best in the world, it worked ! thanks indeed
@Ciiads13 күн бұрын
That's fantastic! I'm so happy to hear that the tutorial was helpful.
@DanielStingBR Жыл бұрын
Hi! How can I know what to put on the fuses, I only have the files. An error appears ....
@abuomardontadd2865 Жыл бұрын
hi thanks a lot i tried so many ways to load a boat loader and it fails but when i used your way in avrdudess it succeed and it is much easier than aurdino thanks again
@Ciiads Жыл бұрын
😊🤝
@Khujandiho3 жыл бұрын
You're the best. Unfortunately youtube allow put only 1 like, but you deserve 100k likes. Thank you
@Ciiads3 жыл бұрын
Thank you ❤️😊.
@davidkinuthia1052 Жыл бұрын
hallo first is to thankyou for good explanation I'm glad i understood you very clear and was able to program using .hex its very nice of you thanks man
@AGodwin Жыл бұрын
Hey would anyone know if this could be used on a motorcycle ECU for saving and writing bin files through CAN bus?
@theDaftman3 жыл бұрын
to do what you have in this video is very simple one just need a rs232 port and PonyProg (free downloadable software) on your computer and a simple diy adapter that plugs onto the Arduino's icsp , one can then copy any code (hex file) from a Arduino in seconds. one can also load a hex the same way. even read/write the fuse setting.
@Ciiads3 жыл бұрын
There is so many ways to reach the destination but the choice is ours which way we want to go. This is just one of them.😊🤝
@patvickers81892 жыл бұрын
I wish there were more videos on serial port i/o projects. We've had the world at our fingertips all along. Great video and great comment! Daft if you have the time and know of any serial links to explain your process, I'd love to learn. I'm learning avrdude from the terminal today on a pi to see if my arduino is bricked.
@theDaftman2 жыл бұрын
@@patvickers8189 this is a video of how i demonstrated it for some i consider a friend, kzbin.info/www/bejne/qIDFhadmds6efMU Sorry about the poor video quality, it was just a quick and dirty overview. As you can see it's not on my usual channel and it's not in the public domain, one can only be seen video by using the link. The DM (UK)
@Ciiads2 жыл бұрын
😊🤝
@Ciiads2 жыл бұрын
😊🤝❤️
@nwellinghoff2 ай бұрын
Hi, this does not seem to work for me. I hooked everything up and AVRDUDE says its reading the flash and writes a file. But no matter what program I load on the target the hex is always the same file. Even if I disconnect the target board and do the read operation it completes successfully and just writes the same file. How is this possible? What am I missing.
@Ciiads2 ай бұрын
It's difficult to answer because I can't see what's going on.
@VishallWagghade3 жыл бұрын
What will be the procedure for locking 🔒arduino uno code permanently,,so no one will think about cloning or coping code from atmega 328p ic or arduino uno ic,,,,,please help sir
@TheTechnicalTraders3 жыл бұрын
What if my no name brand of UNO board is not listed on the Arduino software under "Board/type"? I get this error: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xfd
@Ciiads3 жыл бұрын
Do selection manually. Make sure the port selection was right. Keep the programmer type to usbasp. Then upload if everything is normal it will work without any issues. If you getting any issues again try to reinstall Arduino ide. The clone version of arduino's are made with usb to TTL chip it doesn't has any firmware on it. So if you connect this kind of board to the computer it will show only the port number of the connected serial chip. Sometimes with the name of the serial chip like ch340g Ftdi etc. But the original version of arduino's has a dedicated microcontroller with firmware on it. which is doing the same job as the serial chip. and the name of the usb device is embedded on it . That's why we can see the name Arduino Uno , etc like that.👍 If you are interested swap a usb to TTL serial chip with atmega 328p having bootloader then you can make your own Arduino at home just by yourself.😊🤞👍
@TheTechnicalTraders3 жыл бұрын
@@Ciiads thank you, but how do I reinstall Arduino ide?
@Ciiads3 жыл бұрын
Just uninstall and go to the Arduino official website and download and install it again. Pretty simple
@Buddhas_Wisdom Жыл бұрын
Amazing content sir it really helps me thanks 😊
@elodiecemoi3057 Жыл бұрын
Does the method explained in you other video "How to Stop Cloning Your Arduino Atmega328p Programs, Do This" prevents the ".HEX "file to be read by the method explained here ??? If not, then the protection agains cloning would not be efficient... Thank you for your reply,
@Ciiads Жыл бұрын
Normally Arduino doesn't have any protection so you can read the hex file back like this but if you want to prevent that then that's the way to do it, it will bit lock the chip.
@elodiecemoi3057 Жыл бұрын
@@Ciiads OK, so if we set the "Lock bits" and "Fuse bits" as described in your video "How to Stop Cloning Your Arduino Atmega328P Programs, Do This", it should be impossible to read the ".hex" file, even with the method explained in the video on this page. So you have answered to 2 different problems: how to stop reading .hex file (if we want to prevent reading) and how to read .hex file if the programmer has not specifically used the lock bits. Congratulation and thank you.
@Thekillertastic2 жыл бұрын
Pretty nice video! Worked like a charm. Greetings from México.
@Ciiads2 жыл бұрын
Glad to hear the good news 🤝😊👍❤️
@allyali81392 жыл бұрын
Can I use this same method to read/program an IC chip?. I been using pickit3 it's giving a lot of errors this might solve it.
@Ciiads2 жыл бұрын
Pickit3 is a pic programmer it's build for pic microcontroller it's not gonna support any other variants of mcus.
@hamzaazizi3052 жыл бұрын
plz how to do this with uno as the programmer and the nano as the target or nano as the programmer and the nano as the target
@Ciiads2 жыл бұрын
Same steps same wiring Except the board selection Because the mcu is the same.
@quantumtechnology71302 жыл бұрын
how to know which code upload in atmega8 and how to get it back /COPY but i dont hex file etc..
@Melodymentr3 жыл бұрын
Hi, bro I have questions like how c code or any code are stored in arduino? Can we save c code without using arduino ide for PC or Android?
@Ciiads3 жыл бұрын
I will do a video about it
@patvickers81892 жыл бұрын
In a few comments above, theDaftman explains that we could use an old serial port to do the same thing. He didn't post any methods.
@gowthamkarupusamy32823 жыл бұрын
Can u send how to read node mcu program
@marylittleajiesh86423 жыл бұрын
i flashed my arduino uno board using flip and now i cant find it in the device manager or ine the ide software(COM number) i want to reprogram the board what should i do thanks
@Ciiads3 жыл бұрын
In the device manager you can definitely see the com port of the connected device. If it's not showing the connected device. Then that might be a cabling issue or the connected device may be faulty or may be your arduino board is based on some serial chips like FTDI or ch340g etc. If they are based on serial chip like this. then , on the device manager show's the name of the serial chip with appropriate port number not the name "arduino uno". literally arduino clown's are based on serial chip's. May be the flip erased firmware of your primary microcontroller (mega16u2) on the arduino board which is acting as a usb to serial converter for the main chip atmega328p. With out that it will not communicate to the pc and back to back. So Reflash that chip if the firmware is available. or replace that mega16u2 MCU with a serial chip like FTDI or ch340g etc that will do the job fine. For about Reflashing firmware of mega16u2 check this blog that may be helpful for you www.instructables.com/How-to-Restore-the-Arduino-UNO-R3-ATmega16U2-Firmw/ Thank you 😊.
@educhannel56783 жыл бұрын
Hey, can i use this progy to my esp8266 nodemcu? how to make it run
@Ciiads3 жыл бұрын
What you mean progy. Whatever, it's not gonna work with esp8266. ESP is not AVR.
@TravelDost3 жыл бұрын
It's Possible to extract program from 89c51? if not lock. any video on that? please provide me information link.
@Ciiads2 жыл бұрын
The steps are the same for every avr mcus but the difference is. you have to browse the programmer , port ,and chip according to what exactly you connected. you can always follow the same circuit diagram that you used to write the hex file to read the hex file back. 😊🤝👍.
@TravelDost2 жыл бұрын
@@Ciiads Thanks for information.
@Ciiads2 жыл бұрын
@@TravelDost always welcome 🤝😊❤️
@2112user3 жыл бұрын
Thank you for explaining this. I tried this using 2 Arduino Mega boards and failed identify the MCU)-p). I selected ATmega2560 in MCU and also in Presets without success. I wonder, is there a difference and if so, what? Asking as I lost the libraries that made a TFT screen work, but was hoping to grab the info off a working project..... Hate TFT's listed as X but not X,Y or even Z :/
@Ciiads3 жыл бұрын
Arduino mega have some pinout difference. That's the problem. So the wiring diagram is also different.more over that we need a different Arduino isp sketch for Arduino mega's. You just DO NOT erase the Arduino mega having your valuable program. We can take that back from it. Don't worry about it. but you never get your library and source code back. The compiled executable file (.HEX) is the only thing we can get back from it. Although if you got that file it is impossible to get the source code, but you can make many copies of your project. Do you have any Arduino uno board ? Then we can make a try without changing the Arduino isp sketch. and i will forward you the wiring diagram.❤️🤝😊
@2112user3 жыл бұрын
@@Ciiads Thank you for the reply. Having a copy of this program I can load onto a new Mega is the most important part, at least then I can replace one that's bad while I try to find a library/model number combination that works with the Arduino sketch I have. I do have an Uno as well as a a couple of new-blank Megas, so which ever combination is best or easiest. And thank you, I've been going nuts trying different things to get this going again, so I'll be awaiting the wiring :)
@Ciiads3 жыл бұрын
@@2112user okay fine, i don't have any Arduino mega right now but you have it. That's enough . Then we can go with the way it goes (plan b). We can talk about it. of course we can try with two Mega's. Just contact me through mail. Then i will contact you and we can figure it out. I will forward the steps you want to follow.👍
@2112user3 жыл бұрын
@@Ciiads email sent :)
@Ciiads3 жыл бұрын
@@2112user okay, got it🤝
@VishallWagghade3 жыл бұрын
Can we use arduino uno ic atmega 328p in profession industry for real time sensors and for industry innovation like arm,,,,,,with no issue ,,,,because many industrial professionals saying that arduino uno is not for industry use,,,,it's just for kids projects and will not suffer well In professional industries at all,,,,,please help me on this sir,,,,,
@Ciiads3 жыл бұрын
I agree with this. That's true. Arduino Uno was not for industry but there is nothing wrong with atmega 328p. Nobody use development board for commercial purposes right. But you can use the chip 328p for commercial designs but use proper toolchain for the embedded system development. Like atmel studio it is the official ide for avr mcu development. it's not easy as you did in arduino ide. you need to write you'r own library and code for your project. and the project is yours you can market that. arduino ide and the library's that came for arduino and the hardware it self is opensource. Because of this reason it's not well optimised and not Bugg free more over it's opensource too.
@VishallWagghade3 жыл бұрын
@@Ciiads Thank you for your time ⏲️🙏❤You are genius
@martinest94583 жыл бұрын
Man you are a Legend ! Thank You !
@kyeole32343 жыл бұрын
Hi Aneesh bro I need some help!!! I have PIC18F452 controller with protected fuse code.I am extract hex but it contains fuse checksums code protection any idea remove parity bits. Thanks
@Ciiads3 жыл бұрын
did you know the meaning of protection. I'm just kidding . No brother no way. if you do anything with the locked chip or if you try to change the config word it will erase the chip. but there are techniques of reading protected chip which require high end equipment like electron microscope, etc which is way beyond the reach of enthusiasts. and that is illegal. The methode is like decapping the chip and read it out with an electron microscope, or selectively resetting the security bits with UV light by somehow masking out the rest of the die but I'm not sure about the success rate and nobody will attempt to do that because it is impossible to do. if i were you i will write a new firmware my self. which is far more easier and better than attempting to copy a protected chip and wasting valuable time. if you are curious in embedded electronics then work on your skills. I wish one day you can write your own firmware your self. the learning curve is about miles long but the time you drive on the road will worth it. Regards, Aneeshmurali.N.
@kyeole32343 жыл бұрын
@@Ciiads Thanks for Valuable Reply.Best way Learn yourself Instead of Shortcut.I am ask just for curiosity as you mention Reverse Engineering Expensive process but some Chinese site provides cloning service .👍
@Ciiads3 жыл бұрын
@@kyeole3234 they do , but probably there is a way that rewrite everything from scratch as per the original design that is also called clone right.😉👍
@VishallWagghade3 жыл бұрын
What will be the procedure for locking 🔒arduino uno code permanently,,so no one will think about cloning or coping code from atmega 328p ic or arduino uno ic,,,,,please help
@_paw3l_pl1432 жыл бұрын
Hey! Do the Hex file telling computer what device is connected?
@Ciiads2 жыл бұрын
No
@_paw3l_pl1432 жыл бұрын
@@Ciiads so, how to tell computer that the arduino is a joystick or mouse
@Ciiads2 жыл бұрын
How a computer run windows , Linux and Mac on the same processor? how a computer run many applications? you can do many things in a computer only you need to do install the software for your specific task. right. Microcontroller is just a single chip computer. Depending on the software you do, you can run verious applications. Steering wheel is just a one of them.
@syeduzairiftikhar89662 жыл бұрын
Hi, informative video. Been wanting to send HEX data (Register values and address) from one Arduino uno to another via Serial Communication. Not to forget trying to not convert the HEX data into Char, as would be needing the HEX data in the slave Arduino to perform some functions. Could you please make a video on it? Regards
@VishallWagghade3 жыл бұрын
Thank you for replying so quickly ❤
@Ciiads3 жыл бұрын
It's just because I'm online now. Working on the upcoming video. Checking comments. That's it. See you next time if you are there GNt 👍.
@VishallWagghade3 жыл бұрын
@@Ciiads your efforts are priceless,,,,,God will fulfill all your dreams,.....❤💙💜
@sulesharad Жыл бұрын
Good morning And Good day, In this video you have uploaded blink file in arduino first then extract the same with the help of averdude. If program is already installed in arduino then how to extract the same. With great request make video for the same.
@Ciiads Жыл бұрын
I didn't get your question, this video shows how to get the program (HEX file) from a programmed Arduino, after getting that file you can burn that to another Arduino having the same MCU and clock speed, here I showed an example like copying a blik program but the procedure is the same for any kind of program that uploaded to the chip. In summary In this way you can copy the program ( executable HEX file) from an Arduino you can flash that to another board and make a copy of it, however, it's not possible to convert the executable file back to the source code like what have you wrote on the sketch. Thank you.😊👊
@sulesharad Жыл бұрын
Thank you very much taking immediate response to my comment .
@Ciiads Жыл бұрын
@sulesharad 😊👊
@sulesharad Жыл бұрын
Good morning And Good day When write blink.hex file from programmer arduino to target arduino and target arduino start blinking. Then programmer became empty or loaded with blink.hex file. With great regards Sharad
@Ciiads Жыл бұрын
Here we are using one of the Arduino as a programmer after burning the Arduino as an ISP sketch, and then we are using that programmer to read or write hex files to or from the chip(target Arduino) so we are using the programmer Arduino to read from the chip or write to the chip so it's not gonna do anything to the programmer if your programmer selection was right. Please watch the video carefully it's not for entertainment it's serious stuff so everything is there thank you.🤝
@AMULYASHARMAIN_PA_2 жыл бұрын
Hi can we see/get Arduino program also from hex fix
@kithuatvasangtao1213 жыл бұрын
please for me ask you,can you get program from boar arduino nano,can you show for me?
@Ciiads3 жыл бұрын
Yes you can. Through the same method. You will get the hex file of the program. and you can make multiple copies with that. But there is no way to decompile the hex to the c++ source code.😊🤞👍
@shubhamghotkar92132 жыл бұрын
How to wire a uno as programer and Arduino pro mini as target? Please help
@Ciiads2 жыл бұрын
Same as Uno
@shubhamghotkar92132 жыл бұрын
@@Ciiads bro are we using aArduino SPI ? This task
@Ciiads2 жыл бұрын
Arduino as ISP is fine.
@shubhamghotkar92132 жыл бұрын
Will This method work on 8051 microcontroller?
@Ciiads2 жыл бұрын
Yeah you can use avrdudess to program 8051 variants but settings and wiring diagram might be different
@techmcu2 жыл бұрын
Ardiuno mega 2560 not working this process please 🥺 reply how to fix problem cheapest not deducted
@Ciiads2 жыл бұрын
Because it's not for 2560. But it will work for 2560 when you did everything right. I just added the wiring diagram for Arduino Uno as programmer and mega as target check that out. link is in the description. and Watch the tutorial with out a missing information. This video contains important things only. 😊🤝❤️✌️
@twinkle121763 жыл бұрын
Hello sir thank you for this video.. Sir I want to copy hex file from my 8051 microcontroller what it can be possible please guide me. It is very helpful for me thanks again..
@Ciiads3 жыл бұрын
Which kind of programmer are you using ? Is the chip is locked or not ? Exact name of the chip ? Like 89c51 89c52.
@twinkle121763 жыл бұрын
@@Ciiads thanks for your visit
@shubhamghotkar92132 жыл бұрын
@@Ciiads 89c51
@mradulbhardwaj31472 жыл бұрын
How to convert that hex file to .ino ?? I want to make changes in it.
@Ciiads2 жыл бұрын
It's not possible, for instance, you wrote some alphabet on a glass piece and then powdered it to make glass powder but you can't ever make the exact glass piece having the alphabets from that glass powder.
@VishallWagghade3 жыл бұрын
After locking the hex code can we copy that code again by any procedure like yours in this video or by reverse engineering. Please answer sir....
@Ciiads3 жыл бұрын
Look for K Yeole in comments I answered this question already. Regards Aneeshmurali.
@VishallWagghade3 жыл бұрын
@@Ciiads thank you sir
@VishallWagghade3 жыл бұрын
@@Ciiads What will be the procedure for locking 🔒arduino uno code permanently,,so no one will think about cloning or coping code from atmega 328p ic or arduino uno ic,,,,,please help sir
@Ciiads3 жыл бұрын
@@VishallWagghade that was a good deal. While flashing firmware keep the lock bit like this 0xC0 and don't touch the fuse bits. Make sure that the firmware doesn't have any bootloader. It will totally isolate the atmega328p chip from further programming and verification.
@VishallWagghade3 жыл бұрын
@@Ciiads but arduino uno having its own bootloader,,,so how can we flash code without bootloader ...or this is only for hex file and not for c code or hex file with bootloader......... I am sorry for asking lot of questions but I m newbie to this.....so please excuse me sir.....
@techandroid35653 жыл бұрын
Brother I need your help!!! I have a 8pin SMD Microcontroller which controls my pixel led belt and yes it is from China so no marking on the IC and also no datasheet to look for. As I physically inspected and found that pin 1 is (+)voltage ,pin 5 is (-) negative and pin 8 is data out others ar Not connected anywhere on the pixel belt!! Now I researched and found Pic12F675 closest to it as the pinouts match.Now the help I want is that pixel belt is almost destroyed but the 8 pin SMD Microcontroller chip is still good and functional,so I want to Copy That Chips Programme so that I can use it on Arduino to controll my WS2812 pixel belt which is better and has more led!!Is there any way so that I can hook up the Data Out pin from the Microcontroller to Arduino and copy it's effects and create same effects code on Arduino and use it with other pixel belts??? Hope You can Understand and help me;
@Ciiads3 жыл бұрын
If you truly believe it is pic 12f675 and the chip is not locked then you can copy the program using a programmer called pic kit. but the program is not portable to other mcu's. because of the architecture and the instruction set, registers, memory mapping,io peripherals, address, are different in mcu's to mcu's. But it is possible to the same chip. its not like the way we are installing apps on our phone pc etc that will work phone to phone or pc to pc because of the instruction set's are the same. and it is not possible to create the same effect on Arduino by the copied program. But it is possible to write a new program like the way you want to create the same effect. and the last thing you mentioned probably have a chance to success. If you accurately copy the timing of data signal. then you can regenerate that using Arduino or any microcontroller but it is hard to copy the fast square wave like that. a percent of error will affect the system badly.
@kavtech_midi2 жыл бұрын
can we read file hex from arduino that has been lock bit?
@Ciiads2 жыл бұрын
It's complicated. 99% no chance but 1% there is a chance when you erase and reset the lock bit with out erasing the chip that is not possible but if you can it's possible. Somebody already asked the same question and the answer for your question is there. Check the reply of K yeole's comment. 🤝❤️ Regards. Aneeshmurali.
@kavtech_midi2 жыл бұрын
@@Ciiads thx for the reply, i have a project with arduino and sell it, its allready use lock bit, i'm just woried if my project arduino get to clone..
@adeshinaajibola5114 Жыл бұрын
Pls how can I burn hex file and eprom to attmega328..I need your great azsistance
@Ciiads Жыл бұрын
This how it is ☺️👊
@vinaypraba27412 жыл бұрын
Please tell how to install AVRDUDE. Please i need it urgently for my project work
@Ciiads2 жыл бұрын
Just download it and run it
@abdullahsavas9 Жыл бұрын
Dear wouldnt it be much better if you have chosen one of arduinos as, say arduino nano or others ?
@tannerbuschman12 жыл бұрын
amazing, Worked perfectly.
@Ciiads2 жыл бұрын
😊👍🤝
@sophesteban973 жыл бұрын
Hi! I am new to working with microcontrollers and was wondering if doing this is possible with different models such as using an GENUINO MEGA2560 EVAL BRD GBX00067 to an ARDUINO MEGA 2560 REV3 A000067. Thanks!
@Ciiads3 жыл бұрын
Yes possible but different chips have different fuse and lock bit configurations.
@abhinandpalayat46282 жыл бұрын
Broo Written code kananum edit akanum pattumo
@Ciiads2 жыл бұрын
No because inside mcu everything is binary you can read back and generate hex file. The executable/compiled file. But not the source code. In case If you get any decompiler still you can't convert that into the original source code that you wrote before. But you can make the equivalent source code that actually works and it is really different than the actual source code.👍🤝❤️
@AmanPatel-rv2it3 жыл бұрын
How to do the same for node mcu esp8266 board
@Ciiads3 жыл бұрын
Just look around for the flash tools for esp then you will get there.😊👍 and I'm sure it's possible too unless if the chip wasn't protected. I didn't tried to copy anything from esps or any mcus because I would love to code and develop everything myself and I'm more comfortable with that, that's my style and the way of doing it . I did this video because it's a request from one of my viewer. Thanks for asking valueable question . I prefer to do some research about esp8266 flash tools. On the flash tool of esp8266 you might will get all the options that you needed to read as well as write the chip. Good luck . Have a great day.😊👍❤️
@AmanPatel-rv2it3 жыл бұрын
@@Ciiads I do have the bin file but unable to read by any app neither by changing extension nor by using third party app
@AmanPatel-rv2it3 жыл бұрын
Here is the drive link you can try it for your own
@Ciiads3 жыл бұрын
@@AmanPatel-rv2it the bin file is the standard compiled file format for the esp so you don't wanna play with the extension that will may corrupt the file. Just look around do some research and find a firmware flash tool (programming software) for the esp and just burn the stuff. That's it. That's all.😊
@AmanPatel-rv2it3 жыл бұрын
@@Ciiads the file is working properly I just want to see the code in order to improve and modfiy it according to my use
@btomas225 Жыл бұрын
This is exactly why I ALWAYS protect my code from cloning by using the fuse bits....
@Ciiads Жыл бұрын
Lock bits ☺👊
@keyodcar Жыл бұрын
Thank you very much for the explication!!
@Ciiads Жыл бұрын
You are welcome!
@stayjuveneil20663 жыл бұрын
Thnx for your detailed explanation..
@Ciiads3 жыл бұрын
I promised you 😊❤️👍
@stayjuveneil20663 жыл бұрын
@@Ciiads one more doubt. If fuse bits are set in mcu how can we know that ln avrdudess that this mcu is protected.
@stayjuveneil20663 жыл бұрын
I tried to read a mcu which is found in a pcb ie attiny88 but i received an empty hex file. What does it mean? Its protected or anything wrong with my connections or settings in avrdudess. Please help
@stayjuveneil20663 жыл бұрын
I just follwed the instructions in video no changes done like baud rate and everything kept as per ur video. Do i need to change anything as the mcu changes.?
@Ciiads3 жыл бұрын
Wow another amazing question ,fuse bit's are not the villen here. mcu code protection is based on lock bit. Okay came back to the question , if you want to check the chip is locked or not you just read the lock bit value. Then you can identify its locked or not and one more thing in case if the chip is locked then you think you are going to change the lock bit and read the hex its not possible if you change lock bit it will erase the memmory. So you didn't get any thing. Ok in order to know which is the locked and unlocked lock bit value i prefer refer the chip datasheet or just look around avr fuse calculator its an online calculator for avr. Ok in the case of Arduino's which is not locked in any mean ? Have a great day
@mohitbansal93152 жыл бұрын
How to get data from ic from arduino uno
@xurshidsodiqov93233 жыл бұрын
Good job! i've subscribed
@Ciiads3 жыл бұрын
Thank you , appreciate that.
@vishaldhawan07223 жыл бұрын
Hi Thanks for the video I wanted to know that can i protect my arduino code i dont want anyone to clone my project.
@Ciiads3 жыл бұрын
Glad to hear that. Yes you can. only thing you want to do is just bit lock the chip. keep all the fuse bit and extended fuse bit values to arduino default except the lock bit. you can set the lock bit value to disable the read from the chip. Do you want to know about the lock bit values and their purpose. Just refer atmega328p mcu datasheet or use avr fuse calculator it's an online tool. Just google it you will get there. i prefer to remove the bootloader from the chip that will permanently disable the read/right function through uart serial port of the chip. and bit lock it to disable the read through isp,icsp method then your software is protected.
@vishaldhawan07223 жыл бұрын
@@Ciiads thank you so much
@Ciiads3 жыл бұрын
Have a nice day 😊❤️👍
@bisdakhydroponics27322 жыл бұрын
@@Ciiads hello sir please make a tutorials for this
@Ciiads2 жыл бұрын
@@bisdakhydroponics2732 Yes I will. It's always in my do list now I'm currently working on a project for the upcoming video. Regards. Aneeshmurali.
@mkarakon3 жыл бұрын
Can you please sent me the wiring Mega with Uno to get the HEX file?
@Ciiads3 жыл бұрын
Of course say hai to my mail I will contact you we can talk about that.
@syamsihanif59852 жыл бұрын
Hello, does this works with arduino nano?
@Ciiads2 жыл бұрын
Yes it does.☺️
@kithuatvasangtao1213 жыл бұрын
i used two arduino uno or how to conected write thank very much
@Ciiads3 жыл бұрын
Sorry I can't understand, could you clarify your question please?. 😊❤️👍
@kithuatvasangtao1213 жыл бұрын
sorry i want to get the program of arduino nano,can you show me how connect wire betwen two arduino nano,thank very much
@Ciiads3 жыл бұрын
@@kithuatvasangtao121 for nano wiring is same as uno. Keep the same pin name . That's it. 😊👍.
@kithuatvasangtao1213 жыл бұрын
thank you very much
@kithuatvasangtao1213 жыл бұрын
plase help me,i had to get program arduino nano by sofware avrdude but when i write a program from ide arduino upload to board arduino nano again is error ,thank you
@kunalvairat26412 жыл бұрын
How can we convert hex file into arduino code? I want read hex files to understand the arduino code.. How can i do that...
@Ciiads2 жыл бұрын
You can't. Even if you find any decompiler to do that still you can't convert that into the original source code but you will get the decompiled source code that works but not the same as human written original source code because it is computer generated right.👍
@muralidhargs6082 жыл бұрын
how to read and extract in ardino mega 2560 board
@Ciiads2 жыл бұрын
Read description and pinned comment And watch the video throughout the end carefully then you can do that.😊
@muralidhargs6082 жыл бұрын
Ok sir
@djassyrian66602 жыл бұрын
how do program micro PIC ??
@Ciiads2 жыл бұрын
What you mean exactly Writing program or flashing firmware. However Mplab is the official ide to develop software for pic microcontrollers. And pickit is the programmer/debugger.
@codebluelsj9 ай бұрын
anyone getting this error: avrdude: stk500_getsync(): not in sync: resp=0x00 ?
@codebluelsj9 ай бұрын
I had success with UNO as programmer and mega 2560 as a target. Thanks for this great video.
@Ciiads9 ай бұрын
🤝You're welcome!🤗
@muralidhargs6082 жыл бұрын
can tell me ardino mega 2560 board
@Ciiads2 жыл бұрын
Read the description and pinned comment and watch the video carefully throughout the end then you can do that
@blabberbytes99679 ай бұрын
Getting "WARNING: Unable to detect MCU" Any suggestions?
@Ciiads4 ай бұрын
Maybe settings wrong or connection wrong and there is tons of reasons.
@ginshanks5613 Жыл бұрын
how to translate hex file into arduino program? thats the question
@Ciiads Жыл бұрын
Actually, the hex file is the program Anything you wrote on the Arduino ide or any ide is called source code Here, the source code is based on embedded c or c++ At the time of the compilation of the source code, the compiler translates that into the machine code like instruction by instructions according to the specified MCU Like we wrote the program in assembly (opcode and mnemonics) remember. So if you want to translate that hex file code back to the source code is possible by a decompiler program if it is available but it is a machine-generated source code it works but it will not be the same as the original source code. I mean the variable names constants and function names and everything is different in there because it's a machine generated source code. So it's very hard to edit and debug. and always if you are skill full guy You can transcribe the hex code back to opcode and mnemonics (assembly code) Manually by referring the instruction set and the architecture of the mcu but it's a time-consuming and a painful process If I were you I will write a new code for my application because that's very easy for me. Thank you for your question Regards Aneeshmurali.
@ginshanks5613 Жыл бұрын
@@Ciiads thanks, i hope someone make this convert tool very soon
@Ciiads Жыл бұрын
Anyway, decompiling a hex file will not give you the exact same source code that you originally wrote, as the decompilation process is not perfect and can introduce errors or inaccuracies. There are several reasons why the decompiled code may differ from the original source code. One reason is that the compiler optimizes the code during the compilation process, which can result in changes to the machine code. Additionally, some compilers include code obfuscation techniques, which can make the decompiled code more difficult to read or understand. Another reason could be that the libraries used in the project could have been modified by the developer and the original code is not available anymore. In general, it is not recommended to rely on decompiled code, as the results may not be reliable or accurate. If you need to make changes to your Arduino project, it is best to start with the original source code.
@satyamkumar-wg8di2 жыл бұрын
How to copy eawcode from arduino ino file
@mihhailiviu3 жыл бұрын
key, thanks for your video. But this is working and for arduino nano? thanks
@Ciiads3 жыл бұрын
yes of course it will works for arduino nano
@ocangalanocang87583 жыл бұрын
hi,nice video..can upload ASM file too?
@Ciiads3 жыл бұрын
First you wanna compile that asm file to hex.😊👍
@ocangalanocang87583 жыл бұрын
@@Ciiads asm to hex,can use avrdude or xloader?
@Ciiads3 жыл бұрын
@ocang alan ocang asm is just a source code. Just compile the source code then you will get the hex file and it is the compiled file that is understandable for every programming softwares that build for. I don't know about how or where did you wrote the source code but there will be always have an option for compiling your source code on the same ide that where do you wrote the code.
@ocangalanocang87582 жыл бұрын
@@Ciiads how to convert? im sorry,im newbie
@Ciiads2 жыл бұрын
@@ocangalanocang8758 just compile the asm file bro. That's the one and only way
@EasyOne3 жыл бұрын
Very well explained
@Ciiads3 жыл бұрын
I appreciate that.
@PradipKumar-kf1sc5 ай бұрын
avrdude error: invalid -P value: 'COM4' use -P usb:bus:device avrdude error: unable to open port COM4 for programmer arduinoisporg
Yes if it is not protected but you need a different tool called STM32 Flash loader demonstrator / stm32 cube programmer. Check this link you will get there www.st.com/en/development-tools/flasher-stm32.html
@dhanush20602 жыл бұрын
Very useful 🙏
@mohammedkharroubi002 Жыл бұрын
how to convert hex to c++
@Ciiads Жыл бұрын
It's not possible but it will when you find a decompiler for it, and i didn't find any, even when you find and decompile the decompiled source code is very different than the original source code and it's very hard to understand. If I were you i will write a new firmware for the particular application myself. Regards, AMN 😊
@JesTheii3 жыл бұрын
you got good voice
@Ciiads3 жыл бұрын
I appreciate that , Thank you.
@ZasaSaza343 жыл бұрын
Very useful sharing
@Ciiads3 жыл бұрын
🤝👍 thanks for those kind of words
@ZasaSaza343 жыл бұрын
@@Ciiads Hi, I upgraded the atmega328p LCR Test Meter Firmware same as your tutorial but it doesn't work. I've tried different hex and eep files but unfortunately it doesn't work. like an empty device now how can i fix have you any idea ? Thnks
@Ciiads3 жыл бұрын
@Zasa Saza Sorry for your situation but No way. this is the way to program avr chips and read back hex file,setting fuse and lock bits etc . reading the chip that is only possible when the chip wasn't protected , Arduino's are not protected . Make sure, first of all,make an arduino as an isp programmer by uploading arduino isp sketch to it and wire this board to the target arduino 10 to reset, 11 to 11,12 to 12, 13 to 13, 5v to vin, gnd to gnd Where is your problem happens? reading hex file from arduino or writing hex file to arduino? did you configured the fuse and lock bit configuration right? What is the message showing on the black window of avrdude when programming? Can you forward the circuit diagram and hex file that you having trouble, let me check and i will figure it out don't worry i will help you and reply you the solution. My contact madebyaneeshmurali@gmail.com If you want to just burn hex file to arduino the program called xloader will do the job. Which is very easy just select board type and connected port then just browse hex file click upload that's it. Few Simple steps. Download xloader : mega.nz/file/37AWwCgb#GIPCwiRaSYPW6kNxVA10p77ufQeL40tuPJ6fGJjcOjU If you want to know why are you struggling with avrdude and my tutorial. i have no idea about what you done there please forward the hex file with circuit diagram to my contact . Let me check and verify and i will reply you the solution don't worry I'm with you we can fix that 👍
@Ciiads3 жыл бұрын
I got your screen shot in my mail in my observation you didn't selected the currect programmer type select programmer type to arduino. And follow the video with out a single seeking because everything is important. If your lcr meter running at 16mhz then keep my same fuse and lock bit configuration and don't forgot to check the box next to it while programming Please check my reply on your mail 👍 I'm waiting for your successful message❤️❤️😊🤝👍
@ZasaSaza343 жыл бұрын
@@Ciiads 👍 Thx
@BiryaniBowlBablu6 ай бұрын
nice wallpaper
@Ciiads6 ай бұрын
I know you are kidding, but thank you for noticing. I appreciate your time. Regards, AMN ♥️
@hitenrojasara1112 жыл бұрын
Arduino mega to another Arduino mega program copy 😘
@SHZChannel3 жыл бұрын
Usefull Tip
@Ciiads3 жыл бұрын
Glad you liked it
@ghanimati2 жыл бұрын
when you say arduino it sounds like you saying " I Don't know" :-D but you do know !§!
@Ciiads2 жыл бұрын
Well, you get the point that's the whole point 😊👍🤝. I will keep that in mind and improve next time. Thank you.
@AmarMohanty3 жыл бұрын
Please make a video about how to lock the hex code inthe arduino chip, thanks
@AmarMohanty3 жыл бұрын
Please because this is very important for me. thanks
@Ciiads3 жыл бұрын
Of course I will
@Ciiads3 жыл бұрын
Which arduino board now you are working with ?
@AmarMohanty3 жыл бұрын
Arduino nano atmega328p au Also include the pro mini (same chip)