cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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.

0 Likes
Reply
1 Solution
Anonymous
Not applicable

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

View solution in original post

0 Likes
Reply
1 Reply
Anonymous
Not applicable

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

View solution in original post

0 Likes
Reply