LPC1114: Stopping Timers on Breakpoints?

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

LPC1114: Stopping Timers on Breakpoints?

1,113件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by trazoni on Wed Aug 11 08:36:58 MST 2010
Working with an LPC1114 I found that while the CPU is halted on a breakpoint the timers continue to run. I´d prefer to stop all timers synchronously to the CPU, which would ease debugging quite a lot for me. Is this possible?
0 件の賞賛
返信
2 返答(返信)

1,074件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by trazoni on Thu Aug 12 06:41:38 MST 2010
OK, thanks for making this clear.

BTW: The LPC13xx and LPC17xx series have in principle the same behaviour, the LPC17xx just stops additionally the Repetitive Interrupt Timer RIT.
0 件の賞賛
返信

1,074件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Aug 11 12:42:18 MST 2010
From a quick scan of the LPC11xx user manual....

Quote:

During a debugging session, the System Tick Timer is automatically stopped whenever the CPU is stopped. Other peripherals are not affected.

[I]Section 20.6 "Debug Notes" of  UM10398, LPC111x/LPC11C1x User manual, Rev. 00.16 — 23 June 2010[/I]

Thus it sounds like only systick can be stopped, all the other timers will continue to run.

Regards,
CodeRedSupport
0 件の賞賛
返信