Hi, the attached project was not setup based on S32. So I ported it into S32 Project. However, when debug on my board, it enter generic_exception_handler when initial Interrupt.
void OS_PlatformInit(void)
{
unsigned int i;
/* clean interrupt controller */
for (i=0; i<HWINTC_INTERRUPTS; i++)
{
OSInterruptsHandlerTable[ i ] = OS_UnusedInterruptHandler;
OS_DisableINTCInput(i); --------------- when i = 484, then it enter generic_exception_handler
}
HWINTC_MCR = HWINTC_MCR & 0xFFFFFFF0UL; /* clear HVEN0 - software mode */
HWINTC_IACKR = 0x0U; /* set INTC ISR vector table base addr to 0x0000000 as we don't use this field */
HWINTC_CPR = 0x0; /* current priority level set to 0x0 */
}
But I don't know whether it is imported by s32 compiler difference or the original project issue.
Do we have freertos package based on s32 compiler?