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

Custom Softdevice and CLENR0

Hi,

I am busy writing my own softdevice, this has nothing to do with bleutooth or anything like this. In the past i didn't have to worry about the CLENR0 register because it got set correct automaticly. But now it does not do that anymore.

I see I can use some custom commands to program my softdevice using nrfjprog, which works, but can i do this via nrfgostudio? Now i constantly get the following error: "Invalid Softdevice, no value for CLENR0 specified". What do i need to do to with my firmware to fix this? I cannot uncheck "Enable Softdevice Protection", and I don't want to either.

thanks.

Parents
  • When you say that you are writing your own softdevice, what does this mean exactly? nrfgo looks into the softdevice hex file to check for sanity values in it. If the softdevice you are writing does not match with the sanity values that it expects, then it knows that this is not a normal softdevice. If your softdevice is custom then I suggest you to use nrfjprog, as it can be used in more customized way than nrfGo stuido (its behavior with softdevice is more specific and cannot be customized).

Reply
  • When you say that you are writing your own softdevice, what does this mean exactly? nrfgo looks into the softdevice hex file to check for sanity values in it. If the softdevice you are writing does not match with the sanity values that it expects, then it knows that this is not a normal softdevice. If your softdevice is custom then I suggest you to use nrfjprog, as it can be used in more customized way than nrfGo stuido (its behavior with softdevice is more specific and cannot be customized).

Children
Related