HOW to write and read data in flash about the mpc5604P？who have the expericence about it？please help me？
I suppose you mean runtime programming. The best way it to use MPC5700 C55FG Flash Standard Software Driver that is available on our website:
Example code you will find in its installation directory.
Also I could point out following example showing simple programming without using of SSD drivers. Even though it has been written for other devices, but the principle is similar:
Example MPC5643L Flash_program_simple CW210
Example MPC5675K Data_flash_program_simple CW210
Retrieving data ...