Program to update the D7A modem's firmware.
Dependencies: modem_ref_helper DebouncedInterrupt
Diff: main.cpp
- Revision:
- 2:e0cdfa7d2a8b
- Parent:
- 1:765933092750
- Child:
- 3:a59c8d77006b
--- a/main.cpp Wed Oct 26 11:01:26 2016 +0000 +++ b/main.cpp Wed Oct 26 11:41:24 2016 +0000 @@ -8,9 +8,20 @@ // File IDs #define D7A_FID_FIRMWARE_VERSION (2) -uint8_t root_key[D7A_ROOT_KEY_SIZE] = { - 0xCE, 0x57, 0x74, 0x0B, 0x04, 0x1E, 0xCA, 0xFE -}; +// To udate your firmware: +// - Specify your root key +// - Choose your Hardware in bin.h +// - Program your NUCLEO with your modem stacked +// - Follow the instructions printed on the debug port +// +// When the upgrade is done, wait for the modem to auto-reboot. +// After the reboot or if the modem did not reboot in the 30 following seconds, +// reset the NUCLEO and check if your firmware is up to date. + + +// This is the default root key +// if you have changed this key, please specify it here +uint8_t root_key[D7A_ROOT_KEY_SIZE] = DEFAULT_ROOT_KEY; // callbacks structure const d7a_callbacks_t callbacks = {