Skip to main content

My board crashes when a detection occurs


When you run a detection by adding a gate to your network or from your application, your board crashes and the MCU goes into a Default_Handler:Infinite_Loop.

Possible explanation

You may change the definition of the HAL in node_config.h to fit with your design and your MCU. The HAL uses macro to define IRQ handler. However, in the case of pinout in some MCUs, the declarations of IRQ handler are in the a special file IT.c.


Robus uses IRQ for the PTP pin, so if you redefine the PTP pin to fit with your design, check if there is an IT.c file and adapt the redefinition in the IRQ Handler.

Example and Solution

Example for STM32 in the file STM32f0xx_it.c:

default configuration :

void EXTI4_15_IRQHandler(void)

after redefinition:

void EXTI3_IRQHandler(void)


void EXTI4_15_IRQHandler(void)

Associated documentation page(s):

A feedback? Let's discuss on Discord | Github