- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am using CY8ckit-042-ble-a Kit ,I am trying to add Upgradable Stack OTA Bootloader in my project,
but it is going in to 2nd while loop(in to an infinite loop) of CY_ISR(IntDefaultHandler)
CY_NORETURN
CY_ISR(IntDefaultHandler)
{
/***************************************************************************
* We must not get here. If we do, a serious problem occurs, so go into
* an infinite loop.
***************************************************************************/
#if defined(__GNUC__)
if (errno == ENOMEM)
{
#ifdef CY_BOOT_INT_DEFAULT_HANDLER_ENOMEM_EXCEPTION_CALLBACK
CyBoot_IntDefaultHandler_Enomem_Exception_Callback();
#endif /* CY_BOOT_INT_DEFAULT_HANDLER_ENOMEM_EXCEPTION_CALLBACK */
while(1)
{
/* Out Of Heap Space
* This can be increased in the System tab of the Design Wide Resources.
*/
}
}
else
#endif
{
#ifdef CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK
CyBoot_IntDefaultHandler_Exception_EntryCallback();
#endif /* CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK */
while(1)
{
}
}
}
please help me to solve this issue.
Solved! Go to Solution.
- Labels:
-
BLE
-
ispn:39612:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generally this occurs when you call BLE functions when the BLE stack is:
- Not ready
- Not turned on
- Invalid state for function to be called
- Incorrect BLE API usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generally this occurs when you call BLE functions when the BLE stack is:
- Not ready
- Not turned on
- Invalid state for function to be called
- Incorrect BLE API usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to add one more cause for the CY_ISR infinite loop.
I am using a CYBLE-012011-00 with BLE. Whenever I called the CyBle_Start() function, I would get the CY_ISR infinite loop. It turns out on our circuit board, the VDDR pin of the CYBLE-012011-00 (VDD Radio) did not have a good connection, so the radio was not powered. Fixing the radio power supply connection resolved the CY_ISR issue.