This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sd_flash_page_erase() returns BUSY

We have code that must erase a page in flash every once in a while, while S110 is advertising. The advertising interval is set to 0xF4 (which is about 150ms) and we have scan response data.

We are seeing that sd_flash_page_erase() returns error code 0x17 (busy) whenever we try to erase during advertising.

Can anyone suggest what's is going on or a way around this, short of stopping and restarting advertising?

Is the radio busy between advertisements (e.g. waiting for scan request or connection)?

Thanks,

Konstantin

Related