<?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 MC9S08AW60 Code execution corruption after Writing in Flash / EEPROM routine in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW60-Code-execution-corruption-after-Writing-in-Flash/m-p/266925#M20058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im new on this forum. I have annoying problem with a MC9S08AW60 microcontroller. When I try to store some variables (11 bytes) in a flash reserved zone (reserved zone 0x1860 through 0x1A5F but no more than 0x186A used), I observe a malfunctioning program, sometime freezes etc.&lt;BR /&gt;I think that's code corruption problem, Can anyone help me? &lt;BR /&gt;I'm not sure If my prm file is correctly configured (berore read&amp;nbsp; AN3730 and AN2616 but they not detailled information about PRM file configuration), after take a look into MAP file I state that tehres no code in reserved zone, but the program still fails... I'm bit desesperate.&lt;BR /&gt;flash.c, prm file and map file included here&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;Project.prm.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;flash.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;Project.map.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 16:24:48 GMT</pubDate>
    <dc:creator>raulalvarez</dc:creator>
    <dc:date>2013-10-07T16:24:48Z</dc:date>
    <item>
      <title>MC9S08AW60 Code execution corruption after Writing in Flash / EEPROM routine</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW60-Code-execution-corruption-after-Writing-in-Flash/m-p/266925#M20058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im new on this forum. I have annoying problem with a MC9S08AW60 microcontroller. When I try to store some variables (11 bytes) in a flash reserved zone (reserved zone 0x1860 through 0x1A5F but no more than 0x186A used), I observe a malfunctioning program, sometime freezes etc.&lt;BR /&gt;I think that's code corruption problem, Can anyone help me? &lt;BR /&gt;I'm not sure If my prm file is correctly configured (berore read&amp;nbsp; AN3730 and AN2616 but they not detailled information about PRM file configuration), after take a look into MAP file I state that tehres no code in reserved zone, but the program still fails... I'm bit desesperate.&lt;BR /&gt;flash.c, prm file and map file included here&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;Project.prm.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;flash.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337716"&gt;Project.map.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:24:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08AW60-Code-execution-corruption-after-Writing-in-Flash/m-p/266925#M20058</guid>
      <dc:creator>raulalvarez</dc:creator>
      <dc:date>2013-10-07T16:24:48Z</dc:date>
    </item>
  </channel>
</rss>

