I've got the following within OnProjectLoad:
There are other commands before these.
I get various J-Link messages in response to the Debug.Connect, as expected. However, these are interleaved with the following commands:
Behaviour is as expected if I type the command manualy into the console.
Why are the commands after Debug.Connect being executed before the connection has finished?
I get various J-Link messages in response to the Debug.Connect, as expected. However, these are interleaved with the following commands:
Source Code
- J-Link: connected to target device
- J-Link: Performing XMC4500 reset
- Break.EnableOnSrc ("main.c:325");
- Break.EnableOnSrc ("main.c:325"): Breakpoint not disabled
- Debug.Continue();
- J-Link: J-Link: Flash download: Bank 0 @ 0x0C000000: Skipped. Contents already match
- J-Link: Can not read register 20 (CFBP) while CPU is running
- Executed J-Link command "SetRTTAddr 0x10000008"
- Executed J-Link command "SetRTTAddr 0x10000008"
- Executed J-Link command "SetRTTAddr 0x10000008"
Why are the commands after Debug.Connect being executed before the connection has finished?