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

fds_record_write doesn't trigger a FDS_EVT_WRITE event

Hello,

My problem is pretty much identical to this one:

devzone.nordicsemi.com/.../

My functions look exactly like the ones posted in the original question and I was indeed making the same mistake that was being made in that case. But after I applied the fix, and added the fs_sys_evt_handler to my softdevice callback, I still did not receive any flash events. I have even tried copy pasting most of the code from the original question, but that hasn't worked either.

I am using an nRF51 board with the s130 softdevice and the v12.1.0 SDK. Any help would be appreciated!

Thank you.

Regards, Sid

Parents
  • @Jørgen: I tried adding the fds related section of the example to my code and in the my_fds_evt_handler function, I see an FDS_EVT_INIT as p_fds_evt->id but p_fds_evt->result is not FDS_SUCCESS. Instead, I am seeing error 14, FDS_ERR_BUSY. Do you have any idea why this would be happening? Do you know if FDS expects the flash to be untouched? I had previously written to 0x3FC00 directly using the sd functions. Is that causing the issues?

    To my knowledge, in the example you have provided, initializing the peer manager already initializes the fds module. So I would really appreciate it if you are able to verify that the fds is able to function with no peer manager.

    Thanks!

Reply
  • @Jørgen: I tried adding the fds related section of the example to my code and in the my_fds_evt_handler function, I see an FDS_EVT_INIT as p_fds_evt->id but p_fds_evt->result is not FDS_SUCCESS. Instead, I am seeing error 14, FDS_ERR_BUSY. Do you have any idea why this would be happening? Do you know if FDS expects the flash to be untouched? I had previously written to 0x3FC00 directly using the sd functions. Is that causing the issues?

    To my knowledge, in the example you have provided, initializing the peer manager already initializes the fds module. So I would really appreciate it if you are able to verify that the fds is able to function with no peer manager.

    Thanks!

Children
No Data
Related