F28M35M52C: Flash Programming fails while CSM is active

Part Number: F28M35M52C

Tool/software:

Hello,

I have a bootloader that downloads a flash image over CAN for programming into FLASH.  The CSM is active with the following:

Z1 CSMPSWD set to password value

Z1 GRABSECT 0xFFF55555

Z1 GRABRAM 0xFFFFFFF5

All of the other security settings are unset (erased value)

The FLASH API is loaded into C0 RAM upon startup.

It appears the FLASH API is returning successful status on both sector erase and write commands but the flash is NOT being erased and not being written to.

If I erase the password (with or without the GRABSECT and GRABRAM settings), everything works normally.  Flash is erased as expected and written as expected and verified with a CRC.

I have tried with the stack in both C0 and C1 RAM, although given the GRABSECT and GRABRAM settings, everything (Flash code, Ram code, Ram, stack, etc.) are all in Z1.

Any suggestions or something I missed here?

Thanks in advance,

--Keith