Hi All,
I would like to ask a question on interrupt debugging.
How can I capture a CPU interrupt? For external events, because of the availability of Event Flag Register (EVTFLG), it is easy to halt the program and examine the bits of EVGFLG to see if an intended interrupt has indeed occurred.
But after these events has been processed through the interrupt controller, and eventually, one or some of INT[15:4] is generated, how to their values directly? Do INT[15:4] have addresses so they can be viewed in CCS4’s memory viewer, or they are CPU’s internal signal and hence not exposed to the programmer?
I would like to ascertain if they are exposed through memory addresses is because I have seen an answer by Brad Griffis, in which he said that interrupt task register (ITSR.GIE) “are part of the CPU so they do not have an address”, and in order to reference them one need to either “use the cregister keyword as described in the compiler guide” or “use a MVC instruction from assembly”.
What about INT[15:4]? Do they also lack memory address? How can their value be observed?
Sincerely,
Zheng