Does anyone knows if that is possible to check ID of CPU on which I reached breakpoint?
I want to print it out and resume execution immediately, so likely need a t32 cmd or global variable.
Does anyone knows if that is possible to check ID of CPU on which I reached breakpoint?
I want to print it out and resume execution immediately, so likely need a t32 cmd or global variable.
You get the currently active core number with PRACTICE function CORE() e.g. like this
PRINT CORE()
while you can always execute a command when you hit a breakpoint with the /CMD option of the Break.Set command:
Break.Set <addr> /CMD "<TRACE32 command>"
Putting both together you get
Break.Set 0x10000 /CMD "PRINT ""Core "" CORE() "" stopped at "" PP()"
Note: In TRACE32 double-quotes are escaped with double-quotes. Function PP() returns the current program counter. If you want to restart you core immediately add option /RESUME to Break.Set.