For my project,my ble device need to report firmware information to app, since the newer softdevices(like s130 0.5alpha) don't have FWID in UICR,where can I get it?
(Nrfgo can get this information,but I need read this without a debugger)
Hopefully you can use sd_ble_version_get() as described in the S110 and S120 documentation. You pass a pointer to a ble_version_t structure, on return the 16-bit subversion_number field contains the information that used to automatically appear in UICR FWID with earlier SoftDevice releases.
Hi Deng, I tried to do this but had no luck. After erasing and programming the softdevice I tried to retrieve the UICR with the --hexuicrinfo option but I get all 1's:
% nrfjprog.exe --hexuicrinfo hexfiles/s130_nrf51822_0.5.0-1.alpha_softdevice.hex
UICR->CLENR0 = 0xFFFFFFFF
UICR->RBPCONF = 0xFFFFFFFF
UICR->FWID = 0xFFFFFFFF
UICR->XTALFREQ = 0xFFFFFFFF
%
Hopefully someone from Nordic can help you with this. You'd think there is a way to do this, because nRFgo Studio reports the Config ID (subversion_number) after softdevice programming.