Hi everyone.
I use SDK v1.1.1 QANI example on DWM3001CDK board.
This example use softdevice S113 v7.2.0. The newest version of S113 on Nordic is v7.3.0.
So I tried to upgrade s113 from v7.2.0 to v7.3.0.
I download S113 v7.3.0 from Nordic. Then use arm-none-eabi-objcopy to convert s113_nrf52_7.3.0_softdevice.hex to bin file, then use xxd tool to convert the bin file to c file.
Then I create the s113 7.3.0 c file in SDK and copy the array from the previous c file to this new c file as below:
Then, modify the cmake file, change the 7.2.0 file to 7.3.0 file as below:
Finally, I delete all s113 v7.2.0 header files and add v7.3.0 header files in nordic sdk as below:
After these steps, build and flash to dwm3001cdk, the program doesn’t run, no log on RTT viewer.
I recover s113 to v7.2.0, build and flash, it’s ok.
So, please help me solve this problem, make the upgrade success. Thank you.
Hi @paopaohepan !
Thanks for the detailed report. This is something I’d have to try myself, but at first glance, it seems a step is missing to check/fix where the memory areas begin and end in the linker files.
I think the app starts right after the softdevice, and I doubt 7.3.0 has exactly the same size as 7.2.0, so these memory areas have to be redefined.
I hope to give this a try next week and get back with more accurate info.
Kind regards!
Thanks for reply.
I have checked the linker file, the definition of RAM and FLASH for Softdevice seems no need to modify.
Looking forward to your reply. 
Hi @paopaohepan !
The issue was the soft device conversion, could you try to convert using the script attached?
$ python convert_softdevice.py s113_nrf52_7.3.0_softdevice.hex
I also overwrote the headers in SDK_BSP/Nordic/SDK_17_1_0/components/softdevice/s113/headers/, but probably it’s not required.
Kind regards!
convert_softdevice.py (5.6 KB)
Hi @carlos.silva !
Really appreciate your help and reply.
I will try to test it next week and then give you feedback.
1 Like
I tried your script, and it worked!

1 Like