Hi Peter,
Thanks for your prompt reply.
The micro was a replacement for one damaged by one of the production engineers. Our hardware guy fitted the micro in-house and verified the board was OK.
I managed to program the micro 3 times without issue. On the fourth attempt the programming attempt failed (stuck at 98%) with further attempts resulting in the destructive reset state.
I am unaware of any interruption to the programming cycle during the fourth attempt, until I aborted it after 5 minutes or so.
I have been unable to find a way to simply erase the device with the PE Micro debugger via S32DS. The erase/program cycle occurs after the block verification activity which is where the programming attempt gets stuck. PE Micro do sell an additional bit of software for $199 which allows you to erase the device, but I have been refused permission to purchase this.
I don't have another debugger to attempt an erase.
I haven't played with any of the security features or the HSM flash blocks.
From your reply, I suspect that you believe the problem to be related to program flash? If this is the case, is there anyway forward without finding a way to erase the device?
Best regards
Rob