<?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>topic Re: Cycledelta register - reset behaviour in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567314#M18828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Feb 24 14:38:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You should use the cycle counter and calculate the difference yourself. The cycledelta is reset whenever a breakpoint is hit. A conditional breakpoint involves hitting the breakpoint, calculating the condition and then restarting if the condtion fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:25:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:25:11Z</dc:date>
    <item>
      <title>Cycledelta register - reset behaviour</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567312#M18826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by HCTEK on Tue Feb 24 12:42:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the cycledelta register is reseted between breakpoints? Even if I have a condicional breakpoint to ignore some counts rigth?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am testing the DMA IRQ for using several LLIs with interrupt in every LLI. I want to see the time passed between the beginning of the transfer and the end of the "x" LLI. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried two solutions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - a global variable to count the number of DMA interrupts, stop in that condition and see the cycledelta register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - a conditional breakpoint to ignore the necessary counts to the LLI that I want and see the cycledelta register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the cycledelta register seems to be reset. As example, the register value for the 2º LLI must be higher than the 1º LLI, which is not happening. I do not have other breakpoints in my code that my cause this situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other conditions which the cycledelta register is reseted?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the LPCXpresso 7.6.2, LPCOpen libraries and my micro is the LPC4337.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567312#M18826</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cycledelta register - reset behaviour</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567313#M18827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 1234567890 on Tue Feb 24 13:02:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Cycle&lt;/SPAN&gt;&lt;STRONG&gt;delta&lt;/STRONG&gt;&lt;SPAN&gt; (should) show the &lt;/SPAN&gt;&lt;STRONG&gt;delta&lt;/STRONG&gt;&lt;SPAN&gt; betweeen 2 breakpoints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm having my sorrows with cycledelta as well. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fregister-cycle-and-cycledelta-lpcxpresso-lpc1549-do-not-match" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/register-cycle-and-cycledelta-lpcxpresso-lpc1549-do-not-match&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe using cycle register and calculating the result yourself is a (bad) kind of solution, but should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567313#M18827</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cycledelta register - reset behaviour</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567314#M18828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Feb 24 14:38:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You should use the cycle counter and calculate the difference yourself. The cycledelta is reset whenever a breakpoint is hit. A conditional breakpoint involves hitting the breakpoint, calculating the condition and then restarting if the condtion fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cycledelta-register-reset-behaviour/m-p/567314#M18828</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:25:11Z</dc:date>
    </item>
  </channel>
</rss>

