I'm not an OAD & IAR expert...
I have sucessfully applied the procedure described end of this message to allow OAD but I have some questions:
1. What is the difference between imgA and imgB ?
I would like to share multiple firmware images with the SensorTag app (waiting using my own app) and I do not know if I need to compile the bin file with imgA or imgB configuration ?
Example:
0. Tag is originaly installed with imgA
1. I drop in iTunes 2 firmwares (firm1.bin and firm2.bin, both using imgB configuration)
2.Using the Sensor tag, I upload firm1.bin
3. Is it possible after installing firm1 to upload firm2.bin ? (because both are compiled with imgB configuration)
Procedure (from this forum)
1. Use SmartRF flash programmer to erase+program+verify the BIM hex file (compile Projects\ble\util\BIM\cc254x)
2. In IAR open SimpleBLEPeripheral, select the OAD ImgA build settings, then press ALT+F7, go to Linker. Under output, rename the file to .hex, and choose Other->intel extended. Compile.
3. Program this hex file to the device using SmartRF flash programmer using append+verify.
4. You should now be able to program .bin files to this device over the air. Make sure that you program ImgB if imgA is running and vice versa.