Difference between revisions of "Bootloader"
(→Questions ?) |
|||
Line 24: | Line 24: | ||
* See the schematics in [[Hardware]] for more details | * See the schematics in [[Hardware]] for more details | ||
− | === Questions ? === | + | === Questions, suggestions, solutions ? === |
If you have any questions, ask them the in [http://gamebuino.com/forum/viewtopic.php?f=12&t=109 this thread]. | If you have any questions, ask them the in [http://gamebuino.com/forum/viewtopic.php?f=12&t=109 this thread]. | ||
Revision as of 2014-02-28T13:05:41
Get a free Gamebuino
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 !
Sources
- 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
Principle
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
Questions, suggestions, solutions ?
If you have any questions, ask them the in this thread.
Good luck !
Conditions
If you are the first to post on the forum a working source of the bootloader (as described above), how to compile it, and the binaries, I'll send you a free Gamebuino !