What is the upgrade path to go from working code with SDK 13 BLE 4.2, to SDK v15 for BLE 5 for nRF52832 or nrf52840
Any help appreciated
What is the upgrade path to go from working code with SDK 13 BLE 4.2, to SDK v15 for BLE 5 for nRF52832 or nrf52840
Any help appreciated
You need to at least mention what IDE/toolchain you are using for your development, because it can make a very big difference. Providing more information is more likely to get you a useful answer.
Yes, sorry for that.
I am using IAR EWARM IDE and compiler.
Thanks
I'm not completely familiar with IAR, but they use a pack system similar to Keil, don't they? If so, you would have to update your packs and that should be about it.
tkstreet,
I probably should have given more info in the beginning.
This is a message I sent to Martin.
Hi Martin,
I did all the Tutorials for SDK 13.xx and have my nRF52832 project running using your examples. (Back in 2017)
Now I am faced with updating the hardware with SK 15, so nRF52832 will run BLE 5.x.
Is there a least painful way to get the profile / code ported / converted to do this. I use IAR. The tutorial are still for the older SDK and Soft device.
I actually only want be BLE 4.2 compliant, but in the next couple of years I may have to upgrade to BLE 5.x, so I it is not clear how painful it may be to switch over to nrf52840, or try and stay with BLE 4.2.
Regardless, the soft device for 4.2 looks like it will not run on nRF52832 or nrf52840, so is it better to stay with nRF52832 and the new Soft device for BLE 5 or go to nrf52840 and its Soft device for BLE 5. Not many phones have BLE 5 at this time.
Any help appreciated
Hi,
You should get some sense of the work required by looking at the migration guides provided with the online documentation for nRF5 SDK 14.0.0 and for nRF5 SDK 15.0.0.
Regarding SoftDevices and BLE stack usage, please note that for the nRF52840 only the S140 v6.0.0 is a Qualified Design, and we have no plans to qualify alpha versions. (Coming releases will be qualified as well, but not alphas.)
There was trouble with the old MBR on the nRF52840 which means that DFU of bootloader was not possible prior to the production release of s140 v6.0.0. If you are using a bootloader for DFU then you should keep that in mind as well.
For nRF52832 you may of course use older (production) SoftDevice versions, as they are qualified.
Regards,
Terje