Dear expert:
I am doing MPC5744P Bootloader Project. I arrange low flash memory block2 , low flash memory block3 and high flash memory block 0 for bootloader . And the other flash memory blocks,starting from high flash memory block 1, for application. So , all the other high flash memory blocks need to be erased
However, when executing the Flash erase function, the kernel encounters an exception and the program stops.
In code, I set highBlockSelect = 0b111110; If I modify it, highBlockSelect = 0b000000, only erase the 256K flash blocks, no problem occurs. How to explain this phenomenon?