Hi Jun Zhang
Pemicro response is the follow:
Which means the issue is HiWave within CW5.1 as the issue. That is made by NXP/Freescale.
We only provide the interface to the multilink so that IDEs can communicate to the chip.
But we do not control what commands are being sent and how that data is being displayed
I have uninstall mcafee antivirus, and I also I have disabled the windows on line defender.
Unfortunately no improve on debug speed.
I have made an other test.
The same project, build for mc9s12xdt512 and large model, the debug speed is too slow, it need 40 seconds.
The same project, build for mc9s12dg256 and bank model, the debug speed is much faster, for the same code needs 25 seconds, but it is still slow compare it with NOICE IDE.
The same project, build for mc9s12xdt512 and large model, the debug speed of NOICE is 17 seconds.
The same project, build for mc9s12xdt512 and large model, and large amount of variables on watch window, the debug speed of NOICE is 22 seconds (almost twice of speed of CW without watch window).
The conclusion is that the memory model has severe impact on debugging speed.
Also I have noticed that watch windows with large variable structures, have minimum effect on debugging speed of CW. Probably the bottleneck of delay is somewhere else.
Tomorrow I will attach a project that demonstrates the problem, so you can test the debug speed for your side
Thank you