Unable to reset or flash the micro using lauterbach debugger

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

Unable to reset or flash the micro using lauterbach debugger

2,408 次查看
jlim
Contributor II

Hi, I am using the SPC570S50 microcontroller and lauterbach for debugging/flashing.

I was able to flash and debug this micro in the past, but now, it does not seem to be functioning correctly. Doing an "in target reset" in TRACE32 returns with a "target reset fail" error.  I am able to do an "Attach", but within a few seconds of running( it seems to be in the BAF region),  it returns with the error  "debug port fail". I was able to somehow clear the flash once, but now I am not able to do that. 

Halt core at power-on-reset results in this:

Capture.PNG

Few seconds after attach, it returns with this error

pastedImage_4.png

Any idea on what could be causing this behavior? Thanks

标记 (1)
0 项奖励
回复
2 回复数

2,253 次查看
rweiss
Contributor V

Hello Jlim,

it seems the processor is reset, even while the debugger tries to halt it.

Is there an external watchdog on the board, or SBC with watchdog?

What did you do before the problem occurred?

Best regards,

Reinhard

0 项奖励
回复

2,253 次查看
jlim
Contributor II

Hi Reinhard, there is no external watchdog or SBC.

Before this issue occurred, I was working on the CAN driver.

0 项奖励
回复