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

Problems with S120 v1.0.0-3alpha and pstorage.

Hello.

I've asked a question a while ago, devzone.nordicsemi.com/.../sd_flash_page_erase-failing-with-s120

I've been using Linux, jlinkexe, and gcc that time. Now I've tried the same on Windows and Keil, and I'm still getting the same problem.

I've installed the software as described in the SDK User guide. I've erased the flash using nrfgo studio, and uploaded the s120 softdevice using the batch file provided with it.

I've opened the S120 hrs monitor example for nrf6310, and changed the uart pins, since I'm using a PCA100005. I'm still getting the assert:

[APPL]: ASSERT: ..\main.c, 493, error 0x0000000f

which comes from the pstorage_init() call, which in turn calls sd_flash_page_erase() that returns 0xf, meaning NRF_ERROR_FORBIDDEN.

I've tried the same with multilink central example, and it failed in a similar way: [APPL]: ASSERT: ..\main.c, 403, error 0x0000000f

also following a call to pstorage_init().

I've noticed a couple people having the same problem: devzone.nordicsemi.com/.../s120-v1-0-0-3-and-multilink-central-example-project devzone.nordicsemi.com/.../multilink-central-example-application-is-not-working

So, is there a problem with v1.0.0-3, the SDK, or are we all just missing somethng obvious?

Related