Target: Aries EVM, Emulator: SD XDS510USB
I have CCXML set up with separate initialization GEL scripts for R4 and M3. Each script contains StartUp() for setting memory map file ans some initial CTI configuration. Debug properties are set to 'Connect to the target on debugger start up' and connect only to R4. Each time I start debug session I receive following errors in console window:
CortexR4_0: GEL: Error while executing StartUp(): target is not connected.
CortexM_0: GEL: Error while executing StartUp(): target is not connected.
CortexR4_0: GEL: Error while executing OnHalt(): target is not connected.
They disappear after few seconds and replaced by the other one:
CortexM_0: GEL: Error while executing OnHalt(): target is not connected.
While debugging the issue I removed the code in R4 StartUp() which accesses CTI and 'CortexR4_0: GEL: Error while executing StartUp(): target is not connected.' went away but OnHalt() errors are still present.
The original GEL with CTI access in StartUp() works fine in CCSv3.
Did the GEL callback sequence change from CCSv3?
Why OnHalt() is called on non connected target?
Where do I place CTI set up code in CCSv4 GEL?
Eugene