Dear TI Experts,
The use case for the application I am developing is the following:
- Erase a sector in flash bank 0.
- Write a pseudo-random pattern (0x5A..5A) to the same sector.
- Verify that writing was successful by comparison of the flash contents with the original pattern.
I am struggling with the following:
- I get a prefetchEntry when erasing the flash bank sector when interrupts are turned on.
- When interrupts are turned off using the function _disable_interrupt_(), the whole use case gets executed correctly.
Is it necessary to have the interrupts turned off in order to successfully erase/reprogram flash?
Kind regards,
Mihail