During execution of instructions most of the time fault isr is getting generated.
In fault register IBUS bit is set.
I have tried increasing heap and stack memory and giving delays.
Why Instruction bus error is generated?
Regards,
Akshay
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
During execution of instructions most of the time fault isr is getting generated.
In fault register IBUS bit is set.
I have tried increasing heap and stack memory and giving delays.
Why Instruction bus error is generated?
Regards,
Akshay
8 MHz external crystal used. PLL and divide by 8.
Controller is working at 25 Mz.
If I reduce the speed to 10MHz, no fault interrupt is getting generated.
But my application requires high speed.
Should I check some other config registers?
Regards,
Akshay
Hi Akshay,
When the IBUS bit is set, the fault address is ot written to the FAULTADDR register. In addition, the bit 15 (BFARV) of the NVIC_FAULT_STAT also indicates the FAULTADDR register is not a valid fault address. Therefore, the 0xE000EDF8 is not the source of the fault.
You have not answered me if you have tried a different chip or board and can you repeat the same problem? Can you try on the LaunchPad ad can you repeat the same problem
Can you show how you configure the system clock?