Application to update the BlueNRG-MS firmware of X-NUCLEO-IDB05A1 component board
Dependencies: mbed X_NUCLEO_IDB0XA1 BLE_API
Fork of BlueNRG-MS-Stack-Updater by
BlueNRG-MS Stack Updater
This program allows to update BlueNRG-MS (X-NUCLEO-IDB05A1) stack image.
It programs BlueNRG-MS with the latest version of stack image provided through a C array: img73.c
The target firmware version is 7.3 (BLE 4.2 compliance). If the update is successful, LED1 blinks slowly; on error, LED1 blinks fast.
Tested platforms
Note
This application should not be used to update the stack image of BlueNRG (X-NUCLEO-IDB04A1) component which is considered deprecated.
Revision 3:623d051e9eb6, committed 2016-06-20
- Comitter:
- avilei
- Date:
- Mon Jun 20 16:31:51 2016 +0000
- Parent:
- 2:c59a8592b15c
- Child:
- 4:5acc23a2ab9d
- Commit message:
- Add comments and description
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jun 20 16:17:32 2016 +0000
+++ b/main.cpp Mon Jun 20 16:31:51 2016 +0000
@@ -19,6 +19,7 @@
#define BLUENRG_MS_HW_VERSION (0x31)
+// This file defines the array used to store the firmware
#include "img72a.c"
DigitalOut led1(LED1);
@@ -33,7 +34,11 @@
}
}
-
+// This program updates the firmware of the
+// BlueNRG-MS chip of the X-NUCLEO-IDB05A1 board.
+// The target firmware version is 7.2a
+// If the update is successful, LED1 blinks slowly;
+// on error, LED1 blinks fast.
int main(void)
{
uint8_t hw_version;
