This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Soft Device 5.2.0, GCC and MacOS X

With Soft Device 5.1.0 I generated the binaries from the hex by doing:

arm-none-eabi-objcopy -Iihex -Obinary --remove-section .sec1 --remove-section .sec2 s110_nrf51822_5.1.0_softdevice.hex s110_nrf51822_5.1.0_softdevice_uicr.bin arm-none-eabi-objcopy -Iihex -Obinary --remove-section .sec3 s110_nrf51822_5.1.0_softdevice.hex s110_nrf51822_5.1.0_softdevice_mainpart.bin

When I do this with Soft Device 5.2.0 the uicr binary is 20B and the BLE stack doesn't work. When I substitute the uicr binary generated from 5.1.0 it does work though.

Is this a problem or am I doing something stupid?

Thanks, Robert

Parents Reply
  • Hi,

    Thanks for your help. I tried your suggestion and the uicr bin is still only 20B. It should be 32B shouldn't it?

    I tried: arm-none-eabi-objcopy -Iihex -Obinary --remove-section .sec3 s110_nrf51822_5.2.0_softdevice.hex s110_nrf51822_5.2.0_softdevice_mainpart.bin

    arm-none-eabi-objcopy -Iihex -Obinary --only-section .sec3 s110_nrf51822_5.2.0_softdevice.hex s110_nrf51822_5.2.0_softdevice_uicr.bin

    Thanks, Robert

Children
No Data
Related