How to force hardware reset before starting debugging

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

How to force hardware reset before starting debugging

736件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Wed Nov 18 04:52:23 MST 2015
Dear all,

I am debugging a board that sleep most of the time in power down mode. In this mode the debug interface is not enabled anymore and I need to reset the chip before beeing able to debug it again.
What would be nice is that the probe (LPC-Link2) perform this reset when starting debug.

In debug configuration I have tried to play with the Reset Handling parameter without success. Do I have to use the Reset Script parameter ?

Thanks in advance for any help


0 件の賞賛
返信
1 返信

705件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Nov 18 15:37:00 MST 2015
You say you reset the chip, but what kind of reset? The Reset Handling option allows you to select between hard (nRESET), system (SYSRESETREQ), and core (VECTRESET) reset. The latter two are signals issued through the debug interface, so require a debug connection. The hard reset option cannot really be used as part of a debug connect sequence. A connect script solution might get you most of the way there, but for now, I recommend using a button or jumper sequence to boot the part into the ISP. The idea is to prevent the reset from vectoring to user code and initiating another sleep cycle.

LPCXpresso will soon offer a specific server command for ISP reset which can be used standalone (server console), or via a connect script. This is meant to work with the LPCXpresso V2/V3 board configurations.

You can also experiment with the project launch configuration 'Vector catch' setting. The debugger connect sequence includes additional reset handling when the 'Vector catch' setting is 'true'.

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信