RedSuite V5 Debugger question

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

RedSuite V5 Debugger question

672件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon Jul 22 09:36:52 MST 2013
My device is an LPC1778, OS WinXP Pro SP3, Debugger RedSuite v5, LPC-Link2

From reset, the execution path ALWAYS gies through PC = X (in flash, value not important)

If I am in a debug session at PC X+N (again, value not relevant)

I put a breakpoint at X (which is in flash).

Now if I run from the point X+N to code that issues a self reset
(via the SYSRESETREQ bit in the Cortex M3 AIRCR register)

What happens to the debug connection?

I would hope that a break at 'X' will occur, having reached there from the
(non-relocated) reset vector.

Note that the UM10470 states for this bit
"This is intended to force a large system reset of all major
components except for debug. Note: SYSRESETREQ is
supported in LPC178x/177x devices.
This bit reads as 0."

Note especially except for debug.

Regards, Mike
0 件の賞賛
返信
2 返答(返信)

665件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Jul 25 09:25:30 MST 2013
Thanks.

My experiment using LPC-Link2) just stopped at the breakpoint -- not in the ROM bootloader.
0 件の賞賛
返信

665件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 23 12:08:41 MST 2013
Seems to work here as I would expect. Triggering the reset is trapped by the debug tools, causing a halt in the bootloader on these parts (0x1FFFFxxxx).  Resuming execution then results in a breakpoint set in the application being hit.

Regards,
LPCXpresso Support

0 件の賞賛
返信