Cannot connect Debugger to Optimised Code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot connect Debugger to Optimised Code

416件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ian Stroud on Tue Mar 15 09:51:17 MST 2011
Using LPCXPRESSO 3.6 I have built an application with -O1 / -O2 compiler flags.

The code initially downloads OK and seems to run as expected. However if I subsequently disconnect the debugger, power cycle the target, and then attempt to re-attach the debugger it fails with a warning stating "03: Failed on chip setup: Em(12)....":
[ATTACH]350[/ATTACH]

This does not happen if non-optimised debug code is loaded on the target.
I can work around this problem if I turn on the debugger option "Vector Catch" but this does not help colleagues who are trying to update code using the command line utilities.
0 件の賞賛
返信
0 返答(返信)