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.
Diff: main.cpp
- Revision:
- 3:623d051e9eb6
- Parent:
- 1:d4887d7f5e85
- Child:
- 7:baf997c2d2f9
diff -r c59a8592b15c -r 623d051e9eb6 main.cpp
--- 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;
