It is found that the MPC5645S platform flash configuration generated in start-up code by CW2.10/CW11 is not correct. There are difference in start-up code and recommended in reference manual and data sheet.
#define FLASH_REG CFLASH0.PFCR0.R
#define FLASH_DATA 0x30015217
Flash configuration generated : 0x30015217
Recommended configuration: 0x30017B17
Please check this issue and let me know why the generated configuration is different from recommended ones.