elf file does not follow program execution on cw for mpcxxx v8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

elf file does not follow program execution on cw for mpcxxx v8

2,108 次查看
jeb
Contributor I
Why does the source window pointer jump all over (does not follow program execution) while debugging in cw mpc v8. This also happens in the pemicro debugger using the same cw generated elf. However, the disassembly execution is correct. Thanks.
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

887 次查看
Alban
Senior Contributor II
Hi,
 
When this happens on S12, it means the device has not been programmed.
The device follows its own code and the debugger follows the Program Counter and place the matching address in execution in the source window.
Check that the Flash contains your latest firmware.
 
Alban.
0 项奖励
回复

887 次查看
Nouchi
Senior Contributor II
Hi,

It also happens when you set optimization to the maximum level, then it becomes very difficult to debug, set to 0 the optimization level during debugging stage.


Emmanuel
0 项奖励
回复