Hi ,
Have a problem,pls help
Software: nRF5_SDK_15.3.0 (ble_app_hrs_freertos)
Hardware: nRF52832
In the User Appication Code,Using CRITICAL_REGION_ENTER()/EXIT() API,will result in CPU Halted.
As in Figure below:
======================================================================
INT32U __flashRead(INT32U uiSrcAddr, INT32U *puiRtn, INT32U uiNumToRead)
{
osStatus osRtn;
ret_code_t rc;
// CRITICAL_REGION_ENTER();
rc = nrf_fstorage_read(&fstorage,uiSrcAddr, puiRtn, uiNumToRead);
APP_ERROR_CHECK(rc);
// CRITICAL_REGION_EXIT();
return HAL_OK;
}
======================================================================