Error:PM_EVT_STORAGE_FULL

Hey, The first time the phone paired with the 52833, there was an error. PM_EVT_STORAGE_FULL

I want to know why and how can i fix it.Thanks

[0812-21:22:10.328] $T050215[I][peer_manager_handler.c][488]<BLE>Event PM_EVT_CONN_SEC_START
[0812-21:22:10.339] $T050215[I][peer_manager_handler.c][500]<BLE>Connection security procedure started: role: Peripheral, conn_handle: 0, procedure: Bonding
[0812-21:22:10.347] $T050215[I][peer_manager_handler.c][488]<BLE>Event PM_EVT_CONN_SEC_PARAMS_REQ
[0812-21:22:10.354] $T050215[I][peer_manager_handler.c][529]<BLE>Security parameter request
[0812-21:22:11.049] $T050215[I][peer_manager_handler.c][488]<BLE>Event PM_EVT_STORAGE_FULL
[0812-21:22:11.058] $T050215[I][peer_manager_handler.c][533]<BLE>Flash storage is full
[0812-21:22:11.067] $T050215[I][peer_manager_handler.c][378]<BLE>Attempting to clean flash.flash_write_after_gc:1
[0812-21:22:11.075] $T050215[I][peer_manager_handler.c][416]<BLE>Running flash garbage collection.
[0812-21:22:11.083] $T050215[I][peer_manager_handler.c][488]<BLE>Event PM_EVT_CONN_SEC_SUCCEEDED
[0812-21:22:11.177] $T050215[I][peer_manager_handler.c][507]<BLE>Connection secured: role: Peripheral, conn_handle: 0, procedure: Bonding
[0812-21:22:11.187] $20191206-050216[I][peer_manager_handler.c][488]<BLE>Event PM_EVT_FLASH_GARBAGE_COLLECTED
[0812-21:22:11.196] $T050216[I][peer_manager_handler.c][603]<BLE>Flash garbage collection complete.

  • Hello,

    It looks to me like that driver took care of this error itself by performing a garbage collection when the buffer was filled, did you experience any issue when this happened?
    If you want to increase your Peer manager flash storage you can do so by changing this configuration in sdk_config.h:

    // <o> PM_FLASH_BUFFERS - Number of internal buffers for flash operations. 
    // <i> Decrease this value to lower RAM usage.
    
    #ifndef PM_FLASH_BUFFERS
    #define PM_FLASH_BUFFERS 4
    #endif


    Best regards,
    Karl

Related