Other Parts Discussed in Thread: C2000WARE
Hi Experts,
Now the customer is having a strange problem, the F28032 chip has been working well, however the power-on is not working properly now. The reason for the initial positioning is that ERTM is added to the Main function.
When adding ERTM to the Main function can affect the chip’s normal operation. However, the ERTM is not added to Main the chip F28032 power up and function normally.
So, I want to know what ERTM does, or how to use it? are there any more references about ERTM impact hardware or other code software?
And I check the manual, ERTM is equivalent t0 "clrc DBGM" instruction which is required to allow real time access to emulator in order to access memory & registers.
I want to confirm somethings with you:
1. The usage of ERTM, Before or after an ISR is required? Limitations on ERTM usage
2. When using ERTM, will there be an impact to chip or to other code without the JTAG emulator attached?
Because the customer does not shield ERTM inside the code, and when the emulator is connected, the chip is powered up properly and the code is functioning properly.
3. Apart from the JTAG real-time emulation, can we see what mode the chip is in, is there another way to see what state the chip is in? Is the chip in emulation mode, or is it viewed in another way while it is running?
For example, a watchdog flag can be used to see what state of the watchdog.