This is an old revision of the document!
PAGE UNDER CONSTRUCTION
* Oak Flash memory breakdown
OakBoot Config User Rom Slot 1 User Rom Slot 2 (Find link on forum elaborating on this further)
* Factory fresh Oak is looking for system firmware in slot 0 - Serial uploads always go to slot 0 - no matter what is in that slot. A factory Oak boots to 0 looking for the system firmware, which is why before uploading via serial I instruct people to do a factory restore, so that the Oak is booting to 0 which is where you are putting the code. Once your done using serial uploads for testing/debugging/etc you'd want to restore back to factory or at least put a system image on it over serial so that it is at slot 0.
https://digistump.com/board/index.php/topic,2068.msg9450.html#msg9450
* Oak Bootup process
OakBoot -> If P1 GND -> Config ROM
-> Else -> User ROM (last successfully flashed)
* Link to another page about disaster recovery for Oaks, which will be heavily based on kh's notes https://digistump.com/board/index.php/topic,2381.msg11296.html#msg11296