Hello Paul,
maybe I was wrong again - I'm not familiar with the MCF5282.
There seems to be a difference between derivatives in Bus arbitration during write commands:
From the MCF5213RM: "After a command has been successfully launched, the CFM signals the core platform to hold off read accesses to any active flash physical block until all active and buffered commands have completed (CCIF=1). A flash write operation from the internal flash bus holds off the Core platform until it is completed."
MCF5282UM: "If a Flash physical block is read during a program or erase operation on that block (CFMUSTAT bit CCIF = 0), the read will return non-valid data and the ACCERR flag will not be set."
Do you know whether the latter is correct, IOW whether the 5282 would indeed crash if a Flash write command is launched from the same logical block?
I have no 5282, but I can confirm that the MCF5213RM is right, IOW it is possible to have the programing routine in the same block.
BTW: the MCF5282UM also doesn't mention the possibility to write to both blocks in one command.
Oliver