I am modifying the bootloader example for the TMS570LS31 to work on the TMS570LC4357. I have gotten it to the point where it runs in RAM and its able to flash sector 7 at 0x0002_0000. However, when the bootloader tries to program sector 8 0x0004_0000 or higher, it gets stuck at
while( FAPI_GET_FSM_STATUS != Fapi_Status_Success );
in Fapi_BlockProgram. The FMSTAT register reads 0x11, even though the
Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, eraseStartAddr);
is successful and FBSE is 0xFF.
I am at a loss as to what else I can check.