Hi John,
According to documentation, the ACCERR flag is set for Full Partition D-Flash command when:
1. FCCOBIX[2:0] != 0b010 at command launch
2. command not available in current mode (see Table 24-30)
3. an invalid DFPART or ERPART selection is supplied
If you didn’t change LaunchFlashCommand() command or code line
status = LaunchFlashCommand(2 ,FULL_PARTITION_D_FLASH, 0, DFPART, EEE_RAM, 0, 0, 0, 0, 0);
, the first source may be probably excluded.
The Full Partition D-Flash command may be executed only in Unsecured Special Single Chip mode or Unsecured Special Mode. Please check MODE register at address 0x000B whether your MCU running in the correct mode.
Since the selected DFPART or ERPART works on evaluation board with the same type of MCU (S12XEP100), I do not expect that third source may be the root cause. Anyway, please check PARTID registers at addresses 0x001A and 0x001B and compare it with Table 1-6. Assigned Part ID Numbers in RM. There should be 0xCC94 for 5M48H maskset and 0xCC95 for 1N35H maskset as confirmation that you use correct S12XE derivative.
I hope it helps you.
Best regards
Radek