Hello,
Since the PARTID "0xCC95" is newer than the AN4258, I suggest adding this PARTID into the code.
So, you can create a new #define in PartID.h which belongs to //S12XE 1024k flash. And add this case into this functions "static UINT8 EraseFlash(void)" and "static UINT8 ProgramFlash(void)"
(According to RM, "0xCC95" is related to 1N35H and 0N35H maskset.)
I hope ti helps.
Best regards,
Diana