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

How to query SD140 version from application code?

How can application code interrogate the SD140 to identify which version (such as 6.0.0) is running.

We pre-flash (before SMT) our nRF52840 with a bootloader and SD140, and then later flash our application code using the USB bootloader.  That application code needs to confirm that the SD140 pre-loaded on the SoC is in fact the expected version, 6.0.0 in this case.  I don't see an API call that supports getting the SD140 version.

Parents Reply
  • It looks like we need to do it ourselves. The original answer did suggest this strategy. This is pretty lame, but I guess it saves them bytes?

    The list of what firmware ID maps to which softdevice version is not public. What you can do however, is to flash all the different versions of softdevices that are possible to reside on your chips and see what firmware ID those return and you can obtain the mapping yourself

    ...also...

    About a year ago we started printing the FWID in the SoftDevice release notes. In SDK 15 you will find those in <sdk folder>/components/softdevice/<sxxx>/doc/, where <sxxx> is the particular SoftDevice (e.g. s132, s140, etc.)

Children
No Data
Related