When I finish erasing or programming flash, I attempt to run a routine (IN RAM) to clear the cache, consisting of only the following line
FMC->PFB01CR |= FMC_PFB01CR_S_B_INV_MASK | FMC_PFB01CR_CINV_WAY_MASK;
This causes a Hard Fault, with the following fault register values:
So as you can see, I am getting an imprecise Bus Error with no valid BFAR.
Any ideas what the problem may be?