[EXT_EP-10440] Simple Peripheral example application spinlocks while pairing, when compiled with IAR in Debug configuration Created: 05/Jul/21 Updated: 12/Nov/24 |
|
| Status: | Accepted |
| Project: | Embedded Software & Tools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | TI User | Assignee: | TI User |
| Resolution: | Unresolved | Votes: | 1 |
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Product: | SimpleLink CC13x2-26x2 SDK BLE5 Stack |
| Internal ID: | BLE_AGAMA-3381 |
| Found In Release: | BLE Stack BLE5-2.2.1 RC12 |
| Fix In Release: | BLE Stack BLE5-2.2.x |
| Affected Platform/Device: | CC26X2R1 |
| Description |
|
SDK: simplelink_cc13x2_26x2_sdk_5_10_00_48 Device: CC2642R Reproducibility: 100% Steps to reproduce:
The device will get locked after the stack raises a “HCI_BLE_HARDWARE_ERROR_EVENT” with ercd=0x85[HW_FAIL_UNEXPECTED_RF_STATUS] Debugging findings: The issue disappears when modifying the Heap Configuration. By default, the debug target uses ble_Release.xscfg which sets HEAPMGR_CONFIG to 0x02. By setting HEAPMGR_CONFIG to 0x80, the issue solves. Suggested change: In ble_Release.xscfg change the line var HEAPMGR_CONFIG = 0x02; in var HEAPMGR_CONFIG = 0x80;
Note: the issue only occurs with IAR with the debug target. It does not occur with CCS. |