Atmega Hex Uploader Fixed Filename with multiple files

Hello all,

I would like to make Nick Gammon's hex Uploader and I have two questions.

  1. Is the current script burning the bootloader on the chip that will receive the hex?
  2. Is it possible to have multiple hex files on the SD and with new buttons to assign a hex file? E.i. in the loop if button1 is pressed const char wantedFile [] = "prg1.hex"; and if button2 is pressed const char wantedFile [] = "prg2.hex"; and after startSwitch will be pressed as normal and selected hex will be written.

Thanks.

Did you check the instructions that are mentioned in the sketch? http://www.gammon.com.au/forum/?id=11638.
I did not look too deep into the details.

No, the sketch runs on the board that you use as a programmer. Be aware that burning the bootloader using the IDE also sets the fuses, something that I doubt the sketch will do.

See the URL above; yes, you can.

From the URL, the sketch does a listing to serial monitor (or other terminal program) of the hex files on the card and allows you to select one. I do not see a reason why you should not be able to connect buttons (and possibly a LCD) to select a file.

1 Like

As said, I did not look to deep into the sketch; I just saw this in the comments of the sketch:

And the page I linked does indeed give a description of that (at the end).

Thank you @sterretje. I will try to implement and will come back to update.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.