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

FDS on nRF52832 using mbed with SDK14.2

I'm stuck over fds_init() which hangs on mbed-os using SDK 14.2

I am calling fds_init within bleInitComplete callback as follows:

BLE &ble = BLE::Instance();
ble.onEventsToProcess(scheduleBleEventsProcessing);
ble.init(bleInitComplete);
Unfortunately MCU hangs few ms right after fds_init completes. Advertising not started yet at that moment.
Any idea ?
Thanks.
Peter
Parents Reply
  • Yeah, https://os.mbed.com/questions/85602/fds-on-mbed/  . Some similar questions are unanswered more than year. Brings me question if mbed platform is suitable for commercial projects at all (although small scale) with missing support. Unfortunately, there is no viable alternative if you want to use something more high level besides Nordic SDK (which is C-based).

    Anyway, could be something deep inside mbed ble implementation, mbed has some FlashIAP which looks like uses fstorage on background however issue (hang) looks similar. Will try investigate further, now I am leaning toward using external serial flash although it is waste of resource not to use quite huge on-chip flash (512kB). 

Children
No Data
Related