I would like to implement an OTA2 update service for an embedded device which has the BCM943907_QUADRO module on it. Within the WICED SDK directory there is a PDF which explains a lot of the OTA2 procedure. Sadly I can not flash the board with the compiled image from that tutorial.
I was very happy to flash the device with the documentation written on thread OTA2 Update for SDK-3.7.0 because there are different calls for the makefiles (which could have an effect on the actual software built I guess) I tried both ways for getting the OTA2 working. Therefore the PDF given by the WICED SDK was outdated but the revision log didn't say so. Please change the PDF contents in a future revision to avoid complication! Especially 14.2 (how to build ota2_extract) was my guideline. Even the comments within the ota2_extract.c and ota2_example.c were not helpful
Nevertheless I was able to build an OTA2 update support with the required functionality. The soft ap mode worked fine and I was able to upload the snip.scan example to my board
Now there are new errors on the current progress:
I've build the ota2_extract and ota2_example and was able to flash the board. After updating to the snip.scan example I wanted to get into the firmware reset state of the bootloader so I hold the defined reset pin for around 11 seconds. Then I've got this output on the command line:
Hi, I'm the OTA2 extraction app (ota2_extract). Extract the Factory Reset! Do not copy over Saved DCT. Extract From Factory Reset FAILED! Extract done - REBOOTING Hi, I'm the OTA2 extraction app (ota2_extract). Extract the Factory Reset! Do not copy over Saved DCT. Extract From Factory Reset FAILED! Extract done - REBOOTING ... ...(repeating forever)
Did I forget to compile a firmware reset image and flash it to the board? How can I achieve this? What are the available makefile calls? What is the correct syntax to create some failsafe images?
Thanks in advance