Launching with reset without flashing

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

Launching with reset without flashing

406件の閲覧回数
alannilsson
Contributor II

Is there a way to setup a launch profile that resets the mcu without flashing a new image?

 

I'm not talking about just attaching, I want a full reset but I want to keep the same code on the device.

 

Possible?

0 件の賞賛
1 返信

396件の閲覧回数
ErichStyger
Senior Contributor V

That might depend on the debug probe you are using: for example you have more scripting with J-Link than with other probes, and the scripting is depending on the probe.

You could use a modified 'run' configuration (see https://mcuoneclipse.com/2014/10/04/emulating-eclipse-run-with-debug-configuration/).

So basically you could do a 'connect' followed by a 'reset' and 'disconnect'. You could look into GDB commands too (https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/ ). 

The LinkServer Connection has some settings too, but not sure if you could call a script there:

ErichS_0-1604144211749.png

 

I hope this helps,

Erich

0 件の賞賛