Program to update the D7A modem's firmware.

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
4:23cb73bb11b3
Parent:
3:a59c8d77006b
Child:
5:ac38f09fd179
--- a/main.cpp	Wed Oct 26 14:13:58 2016 +0000
+++ b/main.cpp	Wed Oct 26 15:06:49 2016 +0000
@@ -13,10 +13,6 @@
 // - 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
@@ -81,6 +77,7 @@
     CUP_Archive cup_pkg;
     
     PRINT("-------- CUP Archive infos --------\r\n");
+    PRINT("Hardware version: 0x%08X\r\n",       cup_pkg.hw_version);
     PRINT("Firmware version: v%d.%d.%d\r\n",    cup_pkg.fw_major, cup_pkg.fw_minor, cup_pkg.fw_patch);
     PRINT("Size:             %d\r\n",           cup_pkg.data_size);
     PRINT("Nb archives:      %d\r\n",           cup_pkg.nb_archives);