The TRM states that write/erase accesses to Flash sectors can be disabled via the Flash Bank Sector Enable Register (FBSE):
What the TRM doesn't tell you, is just happens if the code attempts such an access to a "disabled" bank. I was thinking that it was possible that the access would be aborted, with the result that the handler code installed at the 5th entry in the "intvecs" (defined in sys_intvecs.asm as below) would run but I can't find where the response is defined; please clarify.
Marcus