Hello, I am trying to upload a hex file to my Arduino R4 Minima board. I installed AVRDUDES on my computer and I am trying to load the hex file via AVRDUDESS 2.7, but I am not successful.
avrdude error: programmer is not responding
avrdude warning: attempt 1 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 2 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 3 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 4 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 5 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 6 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 7 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 8 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 9 of 10: not in sync: resp=0x00
avrdude error: programmer is not responding
avrdude warning: attempt 10 of 10: not in sync: resp=0x00
avrdude error: unable to open port COM3 for programmer arduino
avrdude error: avrdude built without libserialport support; please compile again with libserialport
Where does that hex-file come from? Was that code written for the Uno R4 Minima? If not, you can stop as that hex-file will not be compatible with the Uno R4 Minima.
OK, if you state that. And they did not give instructions how to upload? Can you please provide a link.
I don't have an Uno R4 Minima so can't give accurate instructions; to find out how you can upload that file
Under file/preferences in the IDE, enable verbose output during upload and disable verbose output during compilation.
Upload blink or another example.
After the upload, copy the content of the output window and past it into a normal text editor.
Analyse the output. The R4 Minima seems to use a program called dfu-util so look for a line that contains that word. That is the command for the upload.
Next you can modify that line to use your hex-file, copy the modified line to the command line (dos prompt, bash) and run it.
I assume that the first line of the output that you found earlier contains states something about resetting the board with a baud rate of 1200 bps. If so, you have to do that manually (double tap reset) just before you issue the modified command.
Note As I'm not familiar with your board, you do this at your own risk