Difference between revisions of "Bootloader"

From Gamebuino Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
<div style="width:45%;min-width:20em;float:left;margin-right:5%">
 
<div style="width:45%;min-width:20em;float:left;margin-right:5%">
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.
+
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. If you manage to compile it and make it work as described below, you'll get a '''FREE GAMEBUINO BEFORE EVERYBODY !'''
  
 
* [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

Revision as of 2014-02-28T11:40:01

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. A guy already did that, but I didn't manage to compile the source yet. If you manage to compile it and make it work as described below, you'll get a FREE GAMEBUINO BEFORE EVERYBODY !

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 questions, ask them the in this thread.

Good luck !

Error creating thumbnail: Unable to save thumbnail to destination