1 Reply Latest reply on Sep 12, 2017 9:49 AM by e.pratt_1639216

    CY_NORETURN CY_ISR(IntDefaultHandler)

    deepamalagi_2509881

      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.