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

S130 flash layout

The S130 SDS 0.5 documents a CODE_R1_BASE of 0x00020000, but I can't get it to work with code at this location. Any SoftDevice API call ends up in the application's SVC_Handler rather than the SoftDevice's.

By complete chance I happened to build and flash code at 0x0001C000, leaving the CLENR0 register programmed at 0x00020000 and SoftDevice SVCalls now work. I'm using this for now, but it makes no sense. What's going on?

Also I've not been able to get a bootloader to work with the S130. Programming the BOOTADDR register allows me to reposition my bootloader code from 0x0001C000, but it hangs in the application SVC_Handler as above.

I realise S130 is still in alpha. Is there a roadmap or schedule for it? I'm using a GCC toolchain.

Related