Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature/electron/factory reset #975
Fixes the bootloader not recognising when a valid bootloader image is present.
The DCD implementation is a C++ object, and needs to be constructed b…
The fix is to create a static function instance so that it's constructed on first use, independent from global object construction.
After digging... it appears that in
Electron's Memory Map is defined as:
Likely done this way for future expansion of USER to 256KB (while foregoing FACTORY functionality).
It doesn't appear that OTA updates are overwriting the FACTORY binary, and likely because the OTA address is defined separately again in: