Difference between revisions of "Bootloader"

From Gamebuino Wiki
Jump to: navigation, search
Line 3: Line 3:
 
That's why I need YOU, a bad-ass developer, to make it work. A guy already did that, but I didn't manage to compile the source yet.
 
That's why I need YOU, a bad-ass developer, to make it work. A guy already did that, but I didn't manage to compile the source yet.
  
Useful links :
 
 
* [http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader Arduino bootloader]: for the ones who don't know what a bootloader is
 
* [http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader Arduino bootloader]: for the ones who don't know what a bootloader is
 
* [https://github.com/thseiler/embedded/tree/master/avr/2boots 2boots], a SD-enabled bootloader source code
 
* [https://github.com/thseiler/embedded/tree/master/avr/2boots 2boots], a SD-enabled bootloader source code

Revision as of 2014-02-28T11:41:47

The bootloader is what allows you to load games from a computer with the USB port, or directly from the SD card without a computer. Or at least will, maybe, one day. For now, only the USB part is working.

That's why I need YOU, a bad-ass developer, to make it work. A guy already did that, but I didn't manage to compile the source yet.

My goal is first to compile and get it to work, obviously. Then, it has to be slightly modified to be easily usable on a Gamebuino. Here is how I picture it:

  • The SD card contains a program named "LOADER" which is loaded when the Gamebuino is turned on while pressing "C". This program allow you to navigate in the SD card and select a game. Then, it writes the game file's name in the EEPROM
  • Turn the Gamebuino off then back on
  • The boot-loader loads the game selected by reading its name in the EEPROM

All the EEPROM part is already included in 2boots, you just have to compile it and add the C button feature.

Good luck !