OSVR / OSVR-HDK-MCU-Firmware

Firmware source for the main Atmel microcontroller in HMDs related to the OSVR HDK
13 stars 6 forks source link

Check for the bootloader switch first thing in main() in case normal … #9

Closed rpavlik closed 7 years ago

rpavlik commented 7 years ago

…init missed it.

Future-proofing against semi-bricking that requires an ICE. For some reason, devices in the field don't seem to obey the bootloader switch all the time. This gives them a second chance to do so.

Some code added is functionally equivalent to portions of the Atmel DFU bootloader assembly, but written in C instead. (Portable, don't have to fit in a small bootloader segment, etc)