<?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>8-bit MicrocontrollersのトピックReal-time Debugger SH8,variables freeze</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Real-time-Debugger-SH8-variables-freeze/m-p/249970#M19823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unsure whether it is an issue of the code.&lt;/P&gt;&lt;P&gt;I have 2 timers, one in PWM and another in I/P capture mode&lt;/P&gt;&lt;P&gt;I have declared 3200 bytes of data in flash and this is a look up table for PWM sine generation.For this i have a freq = 16KHz&lt;/P&gt;&lt;P&gt; const uchar sin_table[] @0xE800 ={&amp;nbsp; //data}&lt;/P&gt;&lt;P&gt;Second i detect rising edges of an input frequency (50Hz) and try to align the PWM with these edges.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i attach USBMULTILINK with my target and hit 'Debug' i get close results of what i expect but after a while, all the variables declared just stop updating and my PWM output waveform is lost.&lt;/P&gt;&lt;P&gt;Even if i remove debugger and run the code , same observation!&lt;/P&gt;&lt;P&gt;Is it related to stack overflow? (Stacksize = 0x50)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please someone point out what could be wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 11:38:28 GMT</pubDate>
    <dc:creator>abicash</dc:creator>
    <dc:date>2013-09-25T11:38:28Z</dc:date>
    <item>
      <title>Real-time Debugger SH8,variables freeze</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Real-time-Debugger-SH8-variables-freeze/m-p/249970#M19823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unsure whether it is an issue of the code.&lt;/P&gt;&lt;P&gt;I have 2 timers, one in PWM and another in I/P capture mode&lt;/P&gt;&lt;P&gt;I have declared 3200 bytes of data in flash and this is a look up table for PWM sine generation.For this i have a freq = 16KHz&lt;/P&gt;&lt;P&gt; const uchar sin_table[] @0xE800 ={&amp;nbsp; //data}&lt;/P&gt;&lt;P&gt;Second i detect rising edges of an input frequency (50Hz) and try to align the PWM with these edges.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i attach USBMULTILINK with my target and hit 'Debug' i get close results of what i expect but after a while, all the variables declared just stop updating and my PWM output waveform is lost.&lt;/P&gt;&lt;P&gt;Even if i remove debugger and run the code , same observation!&lt;/P&gt;&lt;P&gt;Is it related to stack overflow? (Stacksize = 0x50)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please someone point out what could be wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 11:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Real-time-Debugger-SH8-variables-freeze/m-p/249970#M19823</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2013-09-25T11:38:28Z</dc:date>
    </item>
  </channel>
</rss>

