Program to update the D7A modem's firmware.
Dependencies: modem_ref_helper DebouncedInterrupt
Diff: main.cpp
- Revision:
- 10:a568511d470d
- Parent:
- 9:bd53ca2aece5
- Child:
- 11:3c6ef9b1be8a
--- a/main.cpp Thu Nov 10 17:55:05 2016 +0000 +++ b/main.cpp Mon Nov 14 12:34:54 2016 +0000 @@ -127,10 +127,10 @@ if (fw_errors) { + PRINT("Please, check that you chose the right Revision in mbed revision tree.\r\n"); PRINT("You are trying to upgrade from v%d.%d.%d to v%d.%d.%d.\r\n", rev.fw_version.major, rev.fw_version.minor, rev.fw_version.patch, CUP_FW_MAJOR, CUP_FW_MINOR, CUP_FW_PATCH); - PRINT("Please, check that you chose the right Revision in mbed revision tree.\r\n"); PRINT("You can only upgrade to another patch %d.%d.x --> %d.%d.y\r\nor to the next minor %d.%d.x --> %d.%d.0\r\n", rev.fw_version.major, rev.fw_version.minor, rev.fw_version.major, rev.fw_version.minor, @@ -153,7 +153,7 @@ { if (version_old > version_new) { - PRINT("/!\\ Your modem is at a more recent version (v%d.%d.%d)/!\\\r\n/!\\ Are you sure you want to downgrade to v%d.%d.%d /!\\\r\n", + PRINT("/!\\ Your modem is at a more recent version (v%d.%d.%d)/!\\\r\n/!\\ Are you sure you want to downgrade to v%d.%d.%d ? /!\\\r\n", rev.fw_version.major, rev.fw_version.minor, rev.fw_version.patch, CUP_FW_MAJOR, CUP_FW_MINOR, CUP_FW_PATCH); PRINT("PRESS USER BUTTON TO CONFIRM...\r\n");