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

DFU s112 - CPU could not be halted

I have secure DFU working fine for my s132 (SES sdk15.0), and now trying s112 using the example from post how to use dfu?

I used SDK_14.2.0_nRF52810_Secure_BL_v1.1.zip and made changes if necessary in SES according to suggested modifications in the post.

In SES it compiles and builds ok, but after downloading to the custom s112, I get the following error, Failed to halt processor (in pop-up) & CPU could not be halted (in msg log), but in NRFgo I can see the 3 layers and after clicking Segger in Device Manger, the device then starts to advertise, I can nRFconnect by dfu, even with the errors. But doing DFUTarg I get "SD version check failed".

My projects use SD s112 v6.0 and when trying SD v6.0 in the 14.2 example I get the same errors plus no advertise.

Then I tried different ROM/RAM settings without any luck. If section placement macros are available for SES to use SD v6 for dfu that would be great and appreciated (if this is the issue). (ideally a secure DFU example using SES sdk15.0 version for s112 would be the ultimate)

-thank-you.

Parents Reply
  • The Keil example provided in the link for nRF52810 in SDK v15 works fine, thank-you. (probably an SES s112 version in the next sdk release).

    To your questions, ....1) the bootloader was built using what was in 14.2 zip file, SD v5.1, .....2) I gave SD v6 a try in sdk 14.2 since I used SD v6 for my app, and it did not work.

    I noticed that for nrfutil pkg generate I used --sd-req 0xA7 for SD s112, but the entry in the Github entry had 

    s112_nrf51_6.0.0 0xA7

    Should it not be nfr52?

    -thank-you

Children
Related