<?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のトピックRe: about the stack operation error</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204774#M17047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about you post your ISR code then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 12:25:42 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2009-08-05T12:25:42Z</dc:date>
    <item>
      <title>about the stack operation error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204770#M17043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Dear Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the program returns from the Interrupt service program,the PC pointer must be poped from stack.But I found that the PC pointer is error,the stack content which is PC pointer saved is DE7F,but when poped from the stack,the PC pointer is FE7F.Could you help explain why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ningyinggen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 13:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204770#M17043</guid>
      <dc:creator>m7Cgde</dc:creator>
      <dc:date>2009-08-04T13:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: about the stack operation error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204771#M17044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Could you be corrupting the stack while inside the ISR?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 14:41:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204771#M17044</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2009-08-04T14:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: about the stack operation error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204772#M17045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ningyinggen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might try increasing the size of the stack.&amp;nbsp; When the stack is too small, more often the stack will over-write static variables.&amp;nbsp; However, it is also possible that a write to a static variable, within an ISR, can corrupt the stack under these circumstances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the unspecified device that you are using has a very small amount of RAM, another possibility is to allocate global/static variables to zero page RAM.&amp;nbsp; This would allow you to increase the stack size.&amp;nbsp; With a small device, it is also inadvisable to attempt to implement floating point operations.&amp;nbsp; Nested interrupts should also be avoided.&amp;nbsp; These require copious quantities of stack.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 20:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204772#M17045</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-08-04T20:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: about the stack operation error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204773#M17046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,Dear Friends,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply, it is not the problem of stack size, I have a try to increasing stack size enough,but have the same problem.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204773#M17046</guid>
      <dc:creator>m7Cgde</dc:creator>
      <dc:date>2009-08-05T12:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: about the stack operation error</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204774#M17047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about you post your ISR code then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/about-the-stack-operation-error/m-p/204774#M17047</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2009-08-05T12:25:42Z</dc:date>
    </item>
  </channel>
</rss>

