Hi i'm trying to fix my leonardo bootloader but it disconnects me after couple of seconds of being in the bootloader mode my belief it is corrupted , I'm trying to revive this leonardo board via arduino uno I followed this video:
I get this error when i'm trying to upload the sketch from the uno to the leonardo
a bit more context Before I used Atmel flip on this leonardo and I flashed the wrong hex file into this and since it is bricked and i can't repair it , no matter what I tried doing it doesn't seem to change from that hex file that I first flashed into it and on top of it can't go into bootloader mode for longer than 2 seconds
the hexfile that i flashed was a keyboard uno hex file but the problem is that i flashed it into my leonardo and it's pretty much bricked right now
I tried it didn't work to me , abit of context Before I used Atmel flip on this leonardo and I flashed the wrong hex into this and since it is bricked and i can't repair it I tried doing this method but it doesn't seem to change from that hex file it is stuck like that
"It's normal that the bootloader times out after about 8 seconds. Is that what you are observing?"
No when I short the 2 pins instead of remaining in bootloader dfu mode it just reverts back into "Arduino keyboard" I flashed this chip with wrong hex and now I think i bricked with
It doesn't really react light up the dfu mode leds
When you tried to burn the bootloader using the UNO, did you put a capacitor between RESET and GND on the UNO? Something around 10uF, but the value is not critical, is sometimes needed to prevent the UNO from resetting during the bootload process.
I need to revert the Board back to being Arduino Leonardo and not Leonardo Keyboard and also what about the fact that it just ejects me from bootloader dfu mode? it is needed in order to burn the proper hex file back into this chip and fix the bootloader
Just to verify, you are connecting to the ICSP header pins on the Leonardo, and not pins 11/12/13. Unlike the UNO, the ISP pins on a Leonardo are not the same as 11/12/13.
No insult intended, but you have loaded the ArduinoISP sketch onto the UNO? (although I can clearly see that sketch is shown on your screenshot)
This bootloader mode you see is temporary it crashes the moment it gets into this mode back to Leonardo keyboard , This matters since I flashed the wrong hex file into this Leonardo board and i can't revert this back to proper hex file until i can get this to be in bootloader mode stable without crashing back to Leonardo Keyboard (Atmel flip requires the chip to be in dfu mode to be flashed)
Another thing you can try, if there is still actually a bootloader on the board. Double-tap the reset button on the leonardo as the IDE gets to the point of uploading a sketch (use something short like the blink sketch).