The peripherals on Traveo II devices, such as timers, are not frozen by default when the device is halted in debugging.
|
|
Custom initialization scripts are distributed with winIDEA to freeze the Traveo's peripherals on debug halt.
1. Add the custom script DebugFreezeEnable.cpp to Hardware | CPU Options | Initialization before Debug session | Initialize.
2. Define the parameters.
For CYT2Bx devices: In the Parameters for <device>_DebugFreezeEnable.cpp, it is important to select the correct core that will assert the debug freeze signal.
These initialization scripts use CTM/CTI Channel 2 and should not be used together with the Trace Cross Trigger Channel CTM/CTI, because they may interfere with trace.