Project hardware: TMS570 combined with the TPS65381:
[TPS:NRES]=>[TMS:nPORRST]
[TMS:nERROR]=>[TPS:ERROR/WDI]
In order to handle Aborts (Prefetch and Data), illegal instruction and other serious events, we are considering forcing a reset of the TPS, and hence the TMS, by forcing [TMS:nERROR] to be asserted; what is the best way to achieve this?
The TRM section 12.2.3 "Forcing an Error Condition" suggests that nERROR can be set low (asserted) via the ESM Error Key Register (ESMEKR) but this section implies that this is intended to allow testing of the nERROR functionality, with the implication that this technique may possibly be not suitable for the use I wish to put it.
Questions:
- Can ESMEKR be used to handle the Aborts etc. as described above?
- Is there a better way to handle abort?
Marcus