waggle-sensor / wagman

The Waggle Manager (Wagman), a custom circuit board and control system for Wild Waggle Nodes
1 stars 3 forks source link

Fail Safe Flag for Bootloader in EEPROM #12

Closed seanshahkarami closed 8 years ago

seanshahkarami commented 8 years ago

One feature request intended to make the flashing process a bit safer was to have a flag in EEPROM which the bootloader reads and uses to decide whether it should power on the node controller before running the main program.

The reason for this is that the bootloader is preserved when flashing the rest of the code on the Wagman, so it gives us a way to write a simpler, non-updatable piece to act as a failsafe for flashing the rest of the Wagman code. (For example, if we lost power during a flash, we could possibly be dead...)

seanshahkarami commented 8 years ago

Bootloader reference code: https://github.com/arduino/Arduino/tree/master/hardware/arduino/avr/bootloaders/atmega8

MuffinSpawn commented 8 years ago

Issue moved to waggle-sensor/development #18 via ZenHub