Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Reopening Unable to clear nError pin after WarmReset discussion
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Reopening Unable to clear nError pin after WarmReset discussion
Hi QJ,
Thanks for your answer.
You refer to two reset types in your answer, one "reset" for which the ESM state machine is not loss and "system reset" which leads to the observed behavior and diagnostic mode workaround to clear the nERROR pin.
As far as I understood the types of reset are :
It is now clear to me that :
Can you please clarify the behavior for the remaining error sources :
Do you intend to improve the TRM or raise an errata on this topic, so that end users can trace an official TI document to implement this diagnostic mode forcing workaround ?
Is there any plan to take this behavior into account in HALCoGen generated code ?
Thanks for your support,
Regards,
Hi QJ,
I am not sure to understand your answer about not correcting HALCoGen.
The "regular" procedure described in the TRM is not valid in case a reset source different than power reset occurs, then the regular HALCoGen extract from procedure esmInit() below is not operational in all cases :
/** - Reset error pin */
if (esmREG->EPSR == 0U)
{
esmREG->EKR = 0x00000005U;
}
else
{
esmREG->EKR = 0x00000000U;
}
Can you please tell me then what is the regular procedure to clear the nError pin ?
Thanks,
Franck.
Hi QJ,
Thanks for clarifying what you meant by "regular procedure".
The ESM conditions I consider in my analysis are the ones for which there is no guarantee that the software still behaves properly and for which an external monitoring of the nError signal is needed to take appropriate sanction such as TMS system reset / power reset. In such cases the application cannot be trusted to clear the nError.
In any case you gave me all the pieces of information I need, and that would indeed be nice to raise a ticket to at least update the TRM.
Regards,
Franck.