Hello
I tried to activate the System Exception Module for the FPU on a TM4C1294NCPDT. But it is just not entering the fault handler.
The IRQ is enabled via SysExcIntEnable(SYSEXC_INT_FP_DZC);
The fault handler is set in the startup file startup_rvmdk.S
Find attached the Project as zip file.
//***************************************************************************** // // The interrupt handler. // //***************************************************************************** void FPU_Fault_Handler(void) { uint32_t ui32IntFlags; ui32IntFlags = ROM_SysExcIntStatus(true); ROM_SysExcIntClear(ui32IntFlags); while(1) { } } //***************************************************************************** // // example // //***************************************************************************** float test=0, test2; int main(void) { // // Run from the PLL at 120 MHz. // MAP_SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000); ROM_SysExcIntEnable(SYSEXC_INT_FP_DZC); // // Enable processor interrupts. // IntMasterEnable(); // // Loop forever // while(1) { // devide by zero test2 = 1.0f/test; } }