Difference between revisions of "Bootloader"
From Gamebuino Wiki
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. 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. 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. |
* [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 | ||
Line 14: | Line 14: | ||
All the EEPROM part is already included in 2boots, you just have to compile it and add the C button feature. | 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 [http://gamebuino.com/wiki/index.php?title=hardware Hardware] for more details | ||
Good luck ! | Good luck ! |
Revision as of 2014-02-28T12:29:33
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.
- Arduino bootloader: for the ones who don't know what a bootloader is
- 2boots, a SD-enabled bootloader source code
- 2boots variant, a tweaked version that is supposed to be compilable
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
Good luck !
Error creating thumbnail: Unable to save thumbnail to destination