Hello friends, I'm having a trouble with the arduino leonardo.
I'm using avrdude to load into the micro a .hex file generated with AS6. So I'm using the board as a develpment one instead of using the arduino IDE.
First i didn't get it to work, until a realized that
when the arduino is in the bootloader section, it appears in a different com port compared with the port that apperas when it is in the "normal" section.
So after i realized that, i could get it to work uploading succesfully the .hex file.
So far so good, the simple code i uploaded to blinking the led work properly.
But then, when i connect the arduino to the pc, it does not get recognized!!!!
it only gets recognized if i press the reset button, and it appears for a few seconds (the time while its in the bootloader section, in fact it appears in the bootloader com port, but again just a few seconds)
I tried in different pcs, different usb cables etc..
then i tried to upload the blinking example from the arduino ide, just whent it was in the bootloader section. After a couple of tries and good timing, it could load the sketch before it disappers.
And now, the arduino its worknig normally, it gets detected again!!!
now i realized that it happens always that i upload an hex file generated with AS6.
The only way to fix it is uploading an arduino sketch quicly while its in the bootloader section.
What could be happening here? has anyone tried to upload an hex file to the leonardo insted of an arduino sketch??
Thanks in advance friends.