Unable to reset or flash the micro using lauterbach debugger

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

Unable to reset or flash the micro using lauterbach debugger

2,399件の閲覧回数
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,244件の閲覧回数
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,244件の閲覧回数
jlim
Contributor II

Hi Reinhard, there is no external watchdog or SBC.

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

0 件の賞賛
返信