Hello,
I am trying to upgrade firmware of CC2540F256 Mini Developement Kit by over-the-air option.
So far I managed to load it with BIM firmware, load SimpleBLEPeripheral .hex file via CC debugger and then by iOS SensorTag app load the .bin firmware. I used manual from this topic: http://e2e.ti.com/support/low_power_rf/f/538/t/238079.aspx. Here is some recapitulation of steps what I did because I still had difficulties to follow. Maybe someone will find it interesting:
- Load C:\Texas Instruments\BLE-CC254x-1.3.2\Projects\ble\util\BIM\cc254x\BIM.eww in IAR and compile it.
- With SmartRF flash programmer load C:\Texas Instruments\BLE-CC254x-1.3.2\Projects\ble\util\BIM\cc254x\CC254xF256\Exe\BIM_CC254xF256.hex to the KeyFob device. Use option Erase, program and verify.
- Load C:\Texas Instruments\BLE-CC254x-1.3.2\Projects\ble\SimpleBLEPeripheral\CC2540DB\SimpleBLEPeripheral.eww in IAR.
- In the Workspace window select CC2540-OAD-ImgA option and in project options > linker > output select option other.
- Compile.
- With SmartRF flash programmer load C:\Texas Instruments\BLE-CC254x-1.3.2\Projects\ble\SimpleBLEPeripheral\CC2540DB\CC2540-OAD-ImgA\Exe\SimpleBLEPeripheral.hex to the KeyFob device. Use option Append and verify.
- Connect the device to the iOS TI-BLE SensorTag app. Go to profiles > TI OAD Profile > ON. Select Upload FW Image and choose internal or your own .bin file. Use the other one than the current one (imgA or imgB). They should be load in the to the different parts of the memory so with this you don't rewrite running firmware.
And now to my question. My first problem is that after loading firmware via over-the-air option (I tried so far with internal SensorTagImgB.bin) the KeyFob is not advertising any more even after reset of the device. What could be the problem?
My other question is if this is extendable for other projects? I would like to make it work with my project built on KeyFobDemo sample app. I guess I need to:
- Enable OAD service. Any suggestions?
- Change configuration to imgA. Is it available for KeyFobDemo?
- Produce .bin file from my project. No idea how to do that..
Thanks for the help. I hope this topic will finally provide some guide for over-the-air firmware upgrade.
Best regards,
Ondrej