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
  • Hi

    What Keith is saying is correct, you'll have to read the FWID and "translate" it into the SoftDevice version they represent, this is done in the nRFConnect for desktop Programmer app, whereupon SoftDevice detection, it prints the FWID and SoftDevice version, I.E "SoftDevice detected, id 0x87 (S130 v2.0.1)". I'm not 100% sure, but I think you should be able to find the source code for this here.

    Best regards,

    Simon

Reply
  • Hi

    What Keith is saying is correct, you'll have to read the FWID and "translate" it into the SoftDevice version they represent, this is done in the nRFConnect for desktop Programmer app, whereupon SoftDevice detection, it prints the FWID and SoftDevice version, I.E "SoftDevice detected, id 0x87 (S130 v2.0.1)". I'm not 100% sure, but I think you should be able to find the source code for this here.

    Best regards,

    Simon

Children
No Data
Related