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,104件の閲覧回数
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 返答(返信)

883件の閲覧回数
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 件の賞賛
返信

883件の閲覧回数
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 件の賞賛
返信