<?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>MQX Software SolutionsのトピックRe: MQX-K60 Program Memory Corruption</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60-Program-Memory-Corruption/m-p/283794#M8950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Did you find issue?&lt;/P&gt;&lt;P&gt;If not, you could try to use the FRPRT0-3 fields to protect from program/erase operations.&lt;/P&gt;&lt;P&gt;In Reference Manual look for following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt; font-family: HelveticaLTStd-Bold;"&gt;Program Flash Protection Registers (FTFL_FPROT&lt;/SPAN&gt;&lt;EM style=": ; font-size: 18pt; font-family: HelveticaLTStd-BoldObl;"&gt;n&lt;/EM&gt;&lt;SPAN style="font-size: 18pt; font-family: HelveticaLTStd-Bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in the Flash Memory Module chapter.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 20:16:51 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2014-01-17T20:16:51Z</dc:date>
    <item>
      <title>MQX-K60 Program Memory Corruption</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60-Program-Memory-Corruption/m-p/283793#M8949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into an issue where my program memory is being corrupted.&amp;nbsp; The corruption manifests itself as 16 bytes of 0xff at address 0xf660.&amp;nbsp; Right in the middle of my LLWU wakeup interrupt...&amp;nbsp; The problem is only seen in release mode code, not with debug.&amp;nbsp; After the code gets corrupted I get an unexpected interrupt with a Hard Fault as a cause.&amp;nbsp; This makes perfect sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the memory before corruption (starting at 0xf650):&lt;/P&gt;&lt;P&gt;01 20 fb f7 ee bb 00 00 00 b5 83 b0 f2 f7 fa f8 00 bf 00 bf 00 bf 43 48 00 bf 81 78 41 f0 20 01 81 70 01 78 01 f0 3f 01 01 70 3f 48 01 68 09 06&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the memory after corruption:&lt;/P&gt;&lt;P&gt;01 20 fb f7 ee bb 00 00 00 b5 83 b0 f2 f7 fa f8 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 81 70 01 78 01 f0 3f 01 01 70 3f 48 01 68 09 06&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shouldn't be able to write to program memory (by definition) as I am not doing any boot loader activity.&amp;nbsp; Not sure what might be causing this.&amp;nbsp; I am not seeing any bus errors so I don't think that I have a pointer going wonky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what to look for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 20:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60-Program-Memory-Corruption/m-p/283793#M8949</guid>
      <dc:creator>robertryan</dc:creator>
      <dc:date>2014-01-02T20:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: MQX-K60 Program Memory Corruption</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60-Program-Memory-Corruption/m-p/283794#M8950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Did you find issue?&lt;/P&gt;&lt;P&gt;If not, you could try to use the FRPRT0-3 fields to protect from program/erase operations.&lt;/P&gt;&lt;P&gt;In Reference Manual look for following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt; font-family: HelveticaLTStd-Bold;"&gt;Program Flash Protection Registers (FTFL_FPROT&lt;/SPAN&gt;&lt;EM style=": ; font-size: 18pt; font-family: HelveticaLTStd-BoldObl;"&gt;n&lt;/EM&gt;&lt;SPAN style="font-size: 18pt; font-family: HelveticaLTStd-Bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in the Flash Memory Module chapter.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 20:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-K60-Program-Memory-Corruption/m-p/283794#M8950</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-01-17T20:16:51Z</dc:date>
    </item>
  </channel>
</rss>

