Hi there,
I'm a newbie when it comes to Arduino, SD Card coding, and using bootloaders in general so.. Bare with me!
What I'm trying to accomplish is this:
Store .hex files onto a FAT16 SD or MicroSD card. - These will be my arduino sketches (i.e. "BLINK.hex")
Create an LCD menu to View/scroll through the (likely many) .hex files that are on my SD card, VIA a 20x4 LCD Screen and rotary pot/pushbutton (If it can show text files/directories as well that would be amazing).
Load a .hex file from my SD card onto my Arduino Mega2560 (WHILE away from my Windows computer - just the SD card and Arduino MEGA, and an extra Arduino if necessary).
I've tried about half a dozen methods, and I've just been getting constant errors (mostly "error loading bootloader" errors). Most of the methods I've tried were written 5+ years ago, so they're all seemingly outdated.
I've recently come across some of the examples by Nick Gammon, but I haven't been able to adapt this yet.
So what I'm asking is this - Can anybody recommend a starting point for me so I can properly begin this endeavor?
I've successfully created a .hex file (;
I'm using this hardware (listed only the ones that are relevant to this project):
Arduino MEGA2560
DS1307 Data Logging Shield (with slot for Large SD Card)
Rotary/Pushbutton potentiometer
20x4 I2C LCD Screen
I've also got a couple of spare Arduino Uno's, if I need an extra
Thanks for any help!
- Zach