IBUSERR with emWIN on STM32F4?
I need some advice on how to solve an issue with a forced hard fault IBUSERR when using ST provided emWIN freeware on a custom designed STM32F429BI based board. The STM32F429 is running HSI at 168MHz at 3.3v. As shown below, the forced hard fault IBUSERR bit is set in the CFSR register which happens every few days or so of constant operation. Every time, the LR points to the call to LCD_UpdateColorIndices() within the GUI_SelectLCD() routine of emWIN - see attached disassembly screen shot. I've experienced the error with emWIN v5.28 and v5.32. I've also experienced the error with overdrive disabled and enabled, prefetch disabled and enabled, and instruction/data cache enabled and disabled. Flash latency is set for 5 wait states (I'm currently running tests with 6) . I've contacted Segger and they can't provide any support without licensing the source code. Has anyone else had this problem? Why is IBUSERR happening during calls in the GUI_SelectLCD()? Any recommendation on what to try? Thanks.
In Hard Fault Handler
SCB->HFSR = 0x40000000
SCB->BFAR = 0xE000ED38
SCB->MMFAR = 0xE000ED34
SCB->CFSR = 0x00000100
r3 = 0x00000000
r12 = 0x00000001
lr = 0x08046E13
pc = 0x00E27B80
psr = 0x00000068
