<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDE中的主题 Debug Periphral view error??</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567124#M18741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ub3r on Wed Feb 13 05:57:16 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im not sure if im doing something wrong or, or its a bug in the debugger..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im resetting the timer32b0 TC like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CT32B0-&amp;gt;TC = 0;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;I add a breakpoint directly after the line of code, and the debugger gives me this: 0x79ac5d9. Much higher than the '0' i expect to see??:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My settings are as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;void setTimer0(void){
LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1&amp;lt;&amp;lt;9);&amp;nbsp; // Enable clock to timer 0 CT32b0

LPC_CT32B0-&amp;gt;MR0 = 65000; 
LPC_CT32B0-&amp;gt;MR1 = 65000; 

LPC_CT32B0-&amp;gt;PR = 14; // 0.2us
LPC_CT32B0-&amp;gt;TCR |= (1&amp;lt;&amp;lt;0);&amp;nbsp; // Enable timer 16-0

// INTERUPT CRAP
NVIC_EnableIRQ(CT32B0_IRQn);}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else seeing this?? Part is a LPC1345. Thanks in advance.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:45:02 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:45:02Z</dc:date>
    <item>
      <title>Debug Periphral view error??</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567124#M18741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ub3r on Wed Feb 13 05:57:16 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im not sure if im doing something wrong or, or its a bug in the debugger..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im resetting the timer32b0 TC like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CT32B0-&amp;gt;TC = 0;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;I add a breakpoint directly after the line of code, and the debugger gives me this: 0x79ac5d9. Much higher than the '0' i expect to see??:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My settings are as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;void setTimer0(void){
LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1&amp;lt;&amp;lt;9);&amp;nbsp; // Enable clock to timer 0 CT32b0

LPC_CT32B0-&amp;gt;MR0 = 65000; 
LPC_CT32B0-&amp;gt;MR1 = 65000; 

LPC_CT32B0-&amp;gt;PR = 14; // 0.2us
LPC_CT32B0-&amp;gt;TCR |= (1&amp;lt;&amp;lt;0);&amp;nbsp; // Enable timer 16-0

// INTERUPT CRAP
NVIC_EnableIRQ(CT32B0_IRQn);}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else seeing this?? Part is a LPC1345. Thanks in advance.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567124#M18741</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Periphral view error??</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567125#M18742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jeffaroo on Wed Feb 13 19:09:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the Timer continues to run while in the debugger (even though the processor is halted). This is a desirable behavior is many cases but not always.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of a way to halt the Timer while in the debugger?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567125#M18742</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Periphral view error??</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567126#M18743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Brutte on Fri Feb 15 04:53:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: jeffaroo&lt;/STRONG&gt;&lt;BR /&gt;Does anyone know of a way to halt the Timer while in the debugger?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK only RIT has this feature in CMx LPC peripherals. And of course SysTick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually I should have asked this question long time ago as this was one of primary reasons I decided to use STM32 (where you have full cotrol over selected timers, counters and encoders in case the core is being halted).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debug-Periphral-view-error/m-p/567126#M18743</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:03Z</dc:date>
    </item>
  </channel>
</rss>

