Hi Daniel,
I call eraseKeys before erase all Flash blocks use PEmicro.
if (flashSSDConfig.EEESize == 0)
{
#if ERASE_ALL_KEYS
if (eraseKeys())
{
PINS_DRV_SetPins(GPIO_PORT, 1 << LED_RED);
PINS_DRV_SetPins(GPIO_PORT, 1 << LED_GREEN);
}
#endif
Then,I can't debug the code with PEmicro.It reports bus error.I have no io pin to indicate if it success. Then I run example from flash, It still reports CSEC_KEY_UPDATE_ERROR, when I call
stat = CSEC_DRV_LoadKey(CSEC_MASTER_ECU, m1, m2, m3, m4, m5);
Can I use PEmicro to watch if it runs example successfully?