How to Read and Extract HEX File from Arduino Board And Upload the HEX File to Another Arduino

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 283

  • @Ciiads
    @Ciiads  3 роки тому +9

    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.NiLanka
      @MR.NiLanka 2 роки тому

      You did great job. Can you help me to get hex file from STM32F030K6T6 microcontroller and write it to new one.

    • @MR.NiLanka
      @MR.NiLanka 2 роки тому

      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. 😊

  • @abpccpba
    @abpccpba 3 роки тому +6

    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. : = }}

    • @Ciiads
      @Ciiads  3 роки тому +1

      You are welcome. 😊🤝❤️.

  • @CerealKiller187
    @CerealKiller187 Рік тому +2

    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.

  • @calvinwong8115
    @calvinwong8115 8 місяців тому +1

    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!

  • @gehirnenterprises
    @gehirnenterprises 2 роки тому +4

    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 !!!

    • @Ciiads
      @Ciiads  2 роки тому +2

      Good to see you ❤️🤝

  • @DanielStingBR
    @DanielStingBR Рік тому +1

    Hi! How can I know what to put on the fuses, I only have the files. An error appears ....

  • @AGodwin
    @AGodwin Рік тому +1

    Hey would anyone know if this could be used on a motorcycle ECU for saving and writing bin files through CAN bus?

  • @TheTechnicalTraders
    @TheTechnicalTraders 3 роки тому +1

    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

    • @Ciiads
      @Ciiads  3 роки тому +1

      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.😊🤞👍

    • @TheTechnicalTraders
      @TheTechnicalTraders 3 роки тому +1

      @@Ciiads thank you, but how do I reinstall Arduino ide?

    • @Ciiads
      @Ciiads  3 роки тому +1

      Just uninstall and go to the Arduino official website and download and install it again. Pretty simple

  • @Khujandiho
    @Khujandiho 3 роки тому +1

    You're the best. Unfortunately youtube allow put only 1 like, but you deserve 100k likes. Thank you

    • @Ciiads
      @Ciiads  3 роки тому +1

      Thank you ❤️😊.

  • @nwellinghoff
    @nwellinghoff 3 місяці тому +1

    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.

    • @Ciiads
      @Ciiads  3 місяці тому +1

      It's difficult to answer because I can't see what's going on.

  • @allyali8139
    @allyali8139 2 роки тому +1

    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.

    • @Ciiads
      @Ciiads  2 роки тому +1

      Pickit3 is a pic programmer it's build for pic microcontroller it's not gonna support any other variants of mcus.

  • @elodiecemoi3057
    @elodiecemoi3057 Рік тому +1

    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
      @Ciiads  Рік тому +1

      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
      @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.

  • @quantumtechnology7130
    @quantumtechnology7130 2 роки тому

    how to know which code upload in atmega8 and how to get it back /COPY
    but i dont hex file etc..

  • @davidkinuthia1052
    @davidkinuthia1052 Рік тому +1

    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

  • @kavtech_midi
    @kavtech_midi 2 роки тому +1

    can we read file hex from arduino that has been lock bit?

    • @Ciiads
      @Ciiads  2 роки тому +2

      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_midi
      @kavtech_midi 2 роки тому +1

      @@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..

  • @_paw3l_pl143
    @_paw3l_pl143 2 роки тому +1

    Hey! Do the Hex file telling computer what device is connected?

    • @Ciiads
      @Ciiads  2 роки тому +1

      No

    • @_paw3l_pl143
      @_paw3l_pl143 2 роки тому +1

      @@Ciiads so, how to tell computer that the arduino is a joystick or mouse

    • @Ciiads
      @Ciiads  2 роки тому +1

      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.

  • @TravelDost
    @TravelDost 3 роки тому +1

    It's Possible to extract program from 89c51? if not lock. any video on that? please provide me information link.

    • @Ciiads
      @Ciiads  3 роки тому +1

      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.
      😊🤝👍.

    • @TravelDost
      @TravelDost 3 роки тому +1

      @@Ciiads Thanks for information.

    • @Ciiads
      @Ciiads  3 роки тому +1

      @@TravelDost always welcome 🤝😊❤️

  • @educhannel5678
    @educhannel5678 3 роки тому +1

    Hey, can i use this progy to my esp8266 nodemcu? how to make it run

    • @Ciiads
      @Ciiads  3 роки тому +1

      What you mean progy. Whatever, it's not gonna work with esp8266. ESP is not AVR.

  • @kyeole3234
    @kyeole3234 3 роки тому +1

    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

    • @Ciiads
      @Ciiads  3 роки тому +2

      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.

    • @kyeole3234
      @kyeole3234 3 роки тому +1

      @@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 .👍

    • @Ciiads
      @Ciiads  3 роки тому +1

      @@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.😉👍

    • @VishallWagghade
      @VishallWagghade 3 роки тому

      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

  • @احمدعبدالله-س8ظ9م
    @احمدعبدالله-س8ظ9م Місяць тому +1

    You are the best in the world, it worked !
    thanks indeed

    • @Ciiads
      @Ciiads  Місяць тому +1

      That's fantastic! I'm so happy to hear that the tutorial was helpful.

  • @marylittleajiesh8642
    @marylittleajiesh8642 3 роки тому +1

    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

    • @Ciiads
      @Ciiads  3 роки тому +1

      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 😊.

  • @VishallWagghade
    @VishallWagghade 3 роки тому +1

    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

  • @shubhamghotkar9213
    @shubhamghotkar9213 2 роки тому +1

    How to wire a uno as programer and Arduino pro mini as target? Please help

    • @Ciiads
      @Ciiads  2 роки тому +1

      Same as Uno

    • @shubhamghotkar9213
      @shubhamghotkar9213 2 роки тому +1

      @@Ciiads bro are we using aArduino SPI ? This task

    • @Ciiads
      @Ciiads  2 роки тому +2

      Arduino as ISP is fine.

  • @Buddhas_Wisdom
    @Buddhas_Wisdom Рік тому +2

    Amazing content sir it really helps me thanks 😊

  • @Melodymentr
    @Melodymentr 3 роки тому +2

    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?

    • @Ciiads
      @Ciiads  3 роки тому +2

      I will do a video about it

    • @patvickers8189
      @patvickers8189 2 роки тому

      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.

  • @shubhamghotkar9213
    @shubhamghotkar9213 2 роки тому +1

    Will This method work on 8051 microcontroller?

    • @Ciiads
      @Ciiads  2 роки тому +1

      Yeah you can use avrdudess to program 8051 variants but settings and wiring diagram might be different

  • @Thekillertastic
    @Thekillertastic 3 роки тому +1

    Pretty nice video! Worked like a charm. Greetings from México.

    • @Ciiads
      @Ciiads  3 роки тому +1

      Glad to hear the good news 🤝😊👍❤️

  • @martinest9458
    @martinest9458 3 роки тому +2

    Man you are a Legend ! Thank You !

  • @techmcu
    @techmcu 2 роки тому +1

    Ardiuno mega 2560 not working this process please 🥺 reply how to fix problem cheapest not deducted

    • @Ciiads
      @Ciiads  2 роки тому +1

      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. 😊🤝❤️✌️

  • @AMULYASHARMAIN_PA_
    @AMULYASHARMAIN_PA_ 2 роки тому

    Hi can we see/get Arduino program also from hex fix

  • @kithuatvasangtao121
    @kithuatvasangtao121 3 роки тому +1

    please for me ask you,can you get program from boar arduino nano,can you show for me?

    • @Ciiads
      @Ciiads  3 роки тому +2

      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.😊🤞👍

  • @VishallWagghade
    @VishallWagghade 3 роки тому +1

    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,,,,,

    • @Ciiads
      @Ciiads  3 роки тому +3

      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.

    • @VishallWagghade
      @VishallWagghade 3 роки тому +1

      @@Ciiads Thank you for your time ⏲️🙏❤You are genius

  • @theDaftman
    @theDaftman 3 роки тому +1

    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.

    • @Ciiads
      @Ciiads  3 роки тому +2

      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.😊🤝

    • @patvickers8189
      @patvickers8189 2 роки тому +1

      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.

    • @theDaftman
      @theDaftman 2 роки тому +2

      @@patvickers8189 this is a video of how i demonstrated it for some i consider a friend, ua-cam.com/video/rObTt0AikFc/v-deo.html
      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)

    • @Ciiads
      @Ciiads  2 роки тому +1

      😊🤝

    • @Ciiads
      @Ciiads  2 роки тому +2

      😊🤝❤️

  • @gowthamkarupusamy3282
    @gowthamkarupusamy3282 3 роки тому +1

    Can u send how to read node mcu program

  • @2112user
    @2112user 3 роки тому +3

    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 :/

    • @Ciiads
      @Ciiads  3 роки тому +2

      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.❤️🤝😊

    • @2112user
      @2112user 3 роки тому +1

      @@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 :)

    • @Ciiads
      @Ciiads  3 роки тому +2

      @@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.👍

    • @2112user
      @2112user 3 роки тому +1

      @@Ciiads email sent :)

    • @Ciiads
      @Ciiads  3 роки тому +2

      @@2112user okay, got it🤝

  • @VishallWagghade
    @VishallWagghade 3 роки тому +1

    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....

    • @Ciiads
      @Ciiads  3 роки тому +2

      Look for
      K Yeole in comments
      I answered this question already.
      Regards
      Aneeshmurali.

    • @VishallWagghade
      @VishallWagghade 3 роки тому +2

      @@Ciiads thank you sir

    • @VishallWagghade
      @VishallWagghade 3 роки тому +2

      @@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

    • @Ciiads
      @Ciiads  3 роки тому +2

      @@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.

    • @VishallWagghade
      @VishallWagghade 3 роки тому +2

      @@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.....

  • @abhinandpalayat4628
    @abhinandpalayat4628 2 роки тому +1

    Broo
    Written code kananum edit akanum pattumo

    • @Ciiads
      @Ciiads  2 роки тому +2

      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.👍🤝❤️

  • @techandroid3565
    @techandroid3565 3 роки тому +1

    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;

    • @Ciiads
      @Ciiads  3 роки тому +2

      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.

  • @abuomardontadd2865
    @abuomardontadd2865 Рік тому +1

    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

  • @hamzaazizi305
    @hamzaazizi305 2 роки тому +1

    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

    • @Ciiads
      @Ciiads  2 роки тому +1

      Same steps same wiring
      Except the board selection
      Because the mcu is the same.

  • @adeshinaajibola5114
    @adeshinaajibola5114 Рік тому +1

    Pls how can I burn hex file and eprom to attmega328..I need your great azsistance

    • @Ciiads
      @Ciiads  Рік тому +1

      This how it is ☺️👊

  • @mradulbhardwaj3147
    @mradulbhardwaj3147 2 роки тому +1

    How to convert that hex file to .ino ??
    I want to make changes in it.

    • @Ciiads
      @Ciiads  2 роки тому +1

      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.

  • @AmanPatel-rv2it
    @AmanPatel-rv2it 3 роки тому +1

    How to do the same for node mcu esp8266 board

    • @Ciiads
      @Ciiads  3 роки тому +1

      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-rv2it
      @AmanPatel-rv2it 3 роки тому +2

      @@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-rv2it
      @AmanPatel-rv2it 3 роки тому +1

      Here is the drive link you can try it for your own

    • @Ciiads
      @Ciiads  3 роки тому +1

      @@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-rv2it
      @AmanPatel-rv2it 3 роки тому +2

      @@Ciiads the file is working properly I just want to see the code in order to improve and modfiy it according to my use

  • @VishallWagghade
    @VishallWagghade 3 роки тому +2

    Thank you for replying so quickly ❤

    • @Ciiads
      @Ciiads  3 роки тому +2

      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 👍.

    • @VishallWagghade
      @VishallWagghade 3 роки тому

      @@Ciiads your efforts are priceless,,,,,God will fulfill all your dreams,.....❤💙💜

  • @syamsihanif5985
    @syamsihanif5985 2 роки тому +1

    Hello, does this works with arduino nano?

    • @Ciiads
      @Ciiads  2 роки тому +1

      Yes it does.☺️

  • @sophesteban97
    @sophesteban97 3 роки тому +1

    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!

    • @Ciiads
      @Ciiads  3 роки тому +1

      Yes possible but different chips have different fuse and lock bit configurations.

  • @blabberbytes9967
    @blabberbytes9967 9 місяців тому +1

    Getting "WARNING: Unable to detect MCU" Any suggestions?

    • @Ciiads
      @Ciiads  4 місяці тому +1

      Maybe settings wrong or connection wrong and there is tons of reasons.

  • @xurshidsodiqov9323
    @xurshidsodiqov9323 3 роки тому +2

    Good job! i've subscribed

    • @Ciiads
      @Ciiads  3 роки тому +1

      Thank you , appreciate that.

  • @codebluelsj
    @codebluelsj 10 місяців тому +1

    anyone getting this error: avrdude: stk500_getsync(): not in sync: resp=0x00 ?

    • @codebluelsj
      @codebluelsj 9 місяців тому +1

      I had success with UNO as programmer and mega 2560 as a target. Thanks for this great video.

    • @Ciiads
      @Ciiads  9 місяців тому +1

      🤝You're welcome!🤗

  • @tannerbuschman1
    @tannerbuschman1 2 роки тому +1

    amazing, Worked perfectly.

    • @Ciiads
      @Ciiads  2 роки тому +1

      😊👍🤝

  • @mkarakon
    @mkarakon 3 роки тому +1

    Can you please sent me the wiring Mega with Uno to get the HEX file?

    • @Ciiads
      @Ciiads  3 роки тому +1

      Of course say hai to my mail I will contact you we can talk about that.

  • @djassyrian6660
    @djassyrian6660 2 роки тому +1

    how do program micro PIC ??

    • @Ciiads
      @Ciiads  2 роки тому +1

      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.

  • @muralidhargs608
    @muralidhargs608 2 роки тому +1

    how to read and extract in ardino mega 2560 board

    • @Ciiads
      @Ciiads  2 роки тому +1

      Read description and pinned comment
      And watch the video throughout the end carefully then you can do that.😊

    • @muralidhargs608
      @muralidhargs608 2 роки тому +1

      Ok sir

  • @abdullahsavas9
    @abdullahsavas9 2 роки тому

    Dear wouldnt it be much better if you have chosen one of arduinos as, say arduino nano or others ?

  • @muralidhargs608
    @muralidhargs608 2 роки тому +1

    can tell me ardino mega 2560 board

    • @Ciiads
      @Ciiads  2 роки тому +1

      Read the description and pinned comment and watch the video carefully throughout the end then you can do that

  • @vinaypraba2741
    @vinaypraba2741 2 роки тому +1

    Please tell how to install AVRDUDE.
    Please i need it urgently for my project work

    • @Ciiads
      @Ciiads  2 роки тому +1

      Just download it and run it

  • @ykmteknoloji
    @ykmteknoloji 3 роки тому +1

    merhaba, stm32 kartını kopyalayabiliyor muyuz acaba

    • @Ciiads
      @Ciiads  3 роки тому +1

      Sorry....
      English please......😊

    • @ykmteknoloji
      @ykmteknoloji 3 роки тому +1

      @@Ciiads
      Can we copy the stm32 card?

    • @Ciiads
      @Ciiads  3 роки тому +1

      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

  • @twinkle12176
    @twinkle12176 3 роки тому +1

    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..

    • @Ciiads
      @Ciiads  3 роки тому +1

      Which kind of programmer are you using ?
      Is the chip is locked or not ?
      Exact name of the chip ? Like 89c51 89c52.

    • @twinkle12176
      @twinkle12176 3 роки тому +1

      @@Ciiads thanks for your visit

    • @shubhamghotkar9213
      @shubhamghotkar9213 2 роки тому

      @@Ciiads 89c51

  • @EasyOne
    @EasyOne 3 роки тому +1

    Very well explained

    • @Ciiads
      @Ciiads  3 роки тому +1

      I appreciate that.

  • @kunalvairat2641
    @kunalvairat2641 2 роки тому +1

    How can we convert hex file into arduino code? I want read hex files to understand the arduino code.. How can i do that...

    • @Ciiads
      @Ciiads  2 роки тому +1

      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.👍

  • @keyodcar
    @keyodcar Рік тому +1

    Thank you very much for the explication!!

    • @Ciiads
      @Ciiads  Рік тому +1

      You are welcome!

  • @syeduzairiftikhar8966
    @syeduzairiftikhar8966 2 роки тому

    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

  • @mohitbansal9315
    @mohitbansal9315 2 роки тому +1

    How to get data from ic from arduino uno

  • @dhanush2060
    @dhanush2060 2 роки тому +1

    Very useful 🙏

  • @ramadanazab8120
    @ramadanazab8120 3 роки тому +1

    Very useful . Very thanks

  • @stayjuveneil2066
    @stayjuveneil2066 3 роки тому +2

    Thnx for your detailed explanation..

    • @Ciiads
      @Ciiads  3 роки тому +3

      I promised you 😊❤️👍

    • @stayjuveneil2066
      @stayjuveneil2066 3 роки тому +1

      @@Ciiads one more doubt. If fuse bits are set in mcu how can we know that ln avrdudess that this mcu is protected.

    • @stayjuveneil2066
      @stayjuveneil2066 3 роки тому +1

      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

    • @stayjuveneil2066
      @stayjuveneil2066 3 роки тому +1

      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.?

    • @Ciiads
      @Ciiads  3 роки тому +2

      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

  • @satyamkumar-wg8di
    @satyamkumar-wg8di 2 роки тому

    How to copy eawcode from arduino ino file

  • @kithuatvasangtao121
    @kithuatvasangtao121 3 роки тому +1

    i used two arduino uno or how to conected write thank very much

    • @Ciiads
      @Ciiads  3 роки тому +1

      Sorry I can't understand, could you clarify your question please?. 😊❤️👍

    • @kithuatvasangtao121
      @kithuatvasangtao121 3 роки тому +1

      sorry i want to get the program of arduino nano,can you show me how connect wire betwen two arduino nano,thank very much

    • @Ciiads
      @Ciiads  3 роки тому +2

      @@kithuatvasangtao121 for nano wiring is same as uno. Keep the same pin name . That's it. 😊👍.

    • @kithuatvasangtao121
      @kithuatvasangtao121 3 роки тому +1

      thank you very much

    • @kithuatvasangtao121
      @kithuatvasangtao121 3 роки тому +1

      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

  • @vishaldhawan0722
    @vishaldhawan0722 3 роки тому +1

    Hi
    Thanks for the video
    I wanted to know that can i protect my arduino code i dont want anyone to clone my project.

    • @Ciiads
      @Ciiads  3 роки тому +1

      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.

    • @vishaldhawan0722
      @vishaldhawan0722 3 роки тому +1

      @@Ciiads thank you so much

    • @Ciiads
      @Ciiads  3 роки тому +1

      Have a nice day 😊❤️👍

    • @bisdakhydroponics2732
      @bisdakhydroponics2732 3 роки тому +1

      @@Ciiads hello sir please make a tutorials for this

    • @Ciiads
      @Ciiads  3 роки тому +2

      @@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.

  • @danielyordanov8216
    @danielyordanov8216 2 роки тому +1

    Pro mini programer =>Pro mini target?

    • @Ciiads
      @Ciiads  2 роки тому +1

      🤝👍

  • @PradipKumar-kf1sc
    @PradipKumar-kf1sc 6 місяців тому +1

    avrdude error: invalid -P value: 'COM4'
    use -P usb:bus:device
    avrdude error: unable to open port COM4 for programmer arduinoisporg

    • @Ciiads
      @Ciiads  4 місяці тому +1

      Check the connected port was right.

  • @ginshanks5613
    @ginshanks5613 Рік тому +1

    how to translate hex file into arduino program? thats the question

    • @Ciiads
      @Ciiads  Рік тому +1

      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
      @ginshanks5613 Рік тому +1

      @@Ciiads thanks, i hope someone make this convert tool very soon

    • @Ciiads
      @Ciiads  Рік тому +1

      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.

  • @JesTheii
    @JesTheii 3 роки тому +1

    you got good voice

    • @Ciiads
      @Ciiads  3 роки тому +1

      I appreciate that , Thank you.

  • @vinayakgham3391
    @vinayakgham3391 10 днів тому +1

    How To Read Chip If It Has Security Key's 😢😢😢😢😢😢
    Please Tell Fast ...
    Getting Blank On Reading...
    😢😢😢
    How To Get The Firmware...?
    Please Reply Fast...

  • @btomas225
    @btomas225 2 роки тому +1

    This is exactly why I ALWAYS protect my code from cloning by using the fuse bits....

    • @Ciiads
      @Ciiads  2 роки тому +1

      Lock bits ☺👊

  • @sulesharad
    @sulesharad Рік тому +1

    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
      @Ciiads  Рік тому +1

      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
      @sulesharad Рік тому +1

      Thank you very much taking immediate response to my comment .

    • @Ciiads
      @Ciiads  Рік тому +1

      @sulesharad 😊👊

    • @sulesharad
      @sulesharad Рік тому +1

      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
      @Ciiads  Рік тому +1

      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.🤝

  • @mihhailiviu
    @mihhailiviu 3 роки тому +1

    key, thanks for your video. But this is working and for arduino nano? thanks

    • @Ciiads
      @Ciiads  3 роки тому +1

      yes of course it will works for arduino nano

  • @mohammedkharroubi002
    @mohammedkharroubi002 Рік тому +1

    how to convert hex to c++

    • @Ciiads
      @Ciiads  Рік тому +1

      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 😊

  • @ocangalanocang8758
    @ocangalanocang8758 3 роки тому +1

    hi,nice video..can upload ASM file too?

    • @Ciiads
      @Ciiads  3 роки тому +1

      First you wanna compile that asm file to hex.😊👍

    • @ocangalanocang8758
      @ocangalanocang8758 3 роки тому +1

      @@Ciiads asm to hex,can use avrdude or xloader?

    • @Ciiads
      @Ciiads  3 роки тому +1

      @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.

    • @ocangalanocang8758
      @ocangalanocang8758 3 роки тому +1

      @@Ciiads how to convert? im sorry,im newbie

    • @Ciiads
      @Ciiads  3 роки тому +1

      @@ocangalanocang8758 just compile the asm file bro. That's the one and only way

  • @lejojoel1463
    @lejojoel1463 3 роки тому +1

    Very useful

    • @Ciiads
      @Ciiads  3 роки тому +1

      I appreciate that thank you🤝

  • @SHZChannel
    @SHZChannel 3 роки тому +1

    Usefull Tip

    • @Ciiads
      @Ciiads  3 роки тому +1

      Glad you liked it

  • @ZasaSaza34
    @ZasaSaza34 3 роки тому +1

    Very useful sharing

    • @Ciiads
      @Ciiads  3 роки тому +1

      🤝👍 thanks for those kind of words

    • @ZasaSaza34
      @ZasaSaza34 3 роки тому +1

      @@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

    • @Ciiads
      @Ciiads  3 роки тому +1

      @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 👍

    • @Ciiads
      @Ciiads  3 роки тому +1

      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❤️❤️😊🤝👍

    • @ZasaSaza34
      @ZasaSaza34 3 роки тому +1

      @@Ciiads 👍 Thx

  • @BiryaniBowlBablu
    @BiryaniBowlBablu 7 місяців тому +2

    nice wallpaper

    • @Ciiads
      @Ciiads  7 місяців тому +1

      I know you are kidding, but thank you for noticing. I appreciate your time. Regards, AMN ♥️

  • @arifmartoyo
    @arifmartoyo 8 місяців тому +1

    Thank you

    • @Ciiads
      @Ciiads  6 місяців тому +1

      You are welcome 🤝😊

  • @Simcadepro
    @Simcadepro 3 роки тому +1

    life saver

    • @Ciiads
      @Ciiads  3 роки тому +1

      Welcome 😊❤️❤️❤️

  • @hitenrojasara111
    @hitenrojasara111 2 роки тому +1

    Arduino mega to another Arduino mega program copy 😘

  • @happdreams
    @happdreams Рік тому +1

    good

  • @prakashharash8380
    @prakashharash8380 Рік тому

    thanks

  • @ghanimati
    @ghanimati 2 роки тому +1

    when you say arduino it sounds like you saying " I Don't know" :-D but you do know !§!

    • @Ciiads
      @Ciiads  2 роки тому +2

      Well, you get the point that's the whole point 😊👍🤝.
      I will keep that in mind and improve next time.
      Thank you.

  • @sinatamoei2174
    @sinatamoei2174 2 роки тому +1

    ❤❤

  • @AmarMohanty
    @AmarMohanty 3 роки тому +1

    Please make a video about how to lock the hex code inthe arduino chip, thanks

    • @AmarMohanty
      @AmarMohanty 3 роки тому +1

      Please because this is very important for me. thanks

    • @Ciiads
      @Ciiads  3 роки тому +1

      Of course I will

    • @Ciiads
      @Ciiads  3 роки тому +1

      Which arduino board now you are working with ?

    • @AmarMohanty
      @AmarMohanty 3 роки тому +1

      Arduino nano atmega328p au
      Also include the pro mini (same chip)

    • @AmarMohanty
      @AmarMohanty 3 роки тому +1

      Please make the video thanks