Difference between revisions of "Bootloader"

From Gamebuino Wiki
Jump to: navigation, search
Line 19: Line 19:
 
* SD enable : 10 (PB2)
 
* SD enable : 10 (PB2)
 
* See the schematics in [http://gamebuino.com/wiki/index.php?title=hardware Hardware] for more details
 
* See the schematics in [http://gamebuino.com/wiki/index.php?title=hardware Hardware] for more details
 +
 +
If you have any question, ask the in [http://gamebuino.com/forum/viewtopic.php?f=12&t=109 there].
  
 
Good luck !
 
Good luck !

Revision as of 2014-02-28T11:32:31

For now, Gamebuino uses the Arduino UNO bootloader. It works great, but you need a computer every time you want to load a new game. With hybrid USB/SD card bootloader, you could switch between games just by restarting your Gamebuino !

That's why I need YOU, a bad-ass developer, to make it work. The interesting part is that you'll get a FREE GAMEBUINO BEFORE EVERYBODY ! 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.

Pin mapping :

  • Button C : A3 (PC3)
  • SD enable : 10 (PB2)
  • See the schematics in Hardware for more details

If you have any question, ask the in there.

Good luck !

Error creating thumbnail: Unable to save thumbnail to destination