Hello,
I'm using Java Scripting, in the Scripting Console, to run various debug and test scenarios. But I'm having trouble changing the focus from one processor to the other using scripting. For instance, I can connect to core 1 of a F28375D Delfino dual-core processor, using debug_session_1.target.connect(), where debug_session_1 is associated with CPU1. I then load symbols, set a breakpoint and run to that breakpoint. At that point, I want to change focus to core 2/CPU2, using scripting, so that I can also load symbols there and start it running also (via scripting). But when I go to load symbols, it loads those symbols to core 1/CPU1, because the focus is still there. How do I use Java Scripting to change the focus in the Debug window from CPU1, to CPU2. Doing a debug_session_2.target.connect() does not work, via scripting. It connects to the processor, but still keeps focus on CPU1. Outside of scripting, I would right click on CPU2 and select Connect Target. But I need to do this all via automated scripting.
Regards,
Robert