<?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>LPC MicrocontrollersのトピックRe: LPC4370: RAM corruption during code execution</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-RAM-corruption-during-code-execution/m-p/577047#M19538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Jul 01 23:41:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Possible cause? Your code... This is exactly what a debugger is for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Things to think about:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the other cores on the LPC4370? It could be one of those.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a pattern to the corruption? i.e. is there a whole block of consecutive addresses that is being corrupted, or single variables? Take a look at the memory around the variables and see if you can see something you recognise (a known string, or data that you know)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you recognise the corrupted values? Could the come from another part of your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the heap (malloc)? are you overwriting the end of an allocated buffer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried using watchpoints on the corrupted variables .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:19:05 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:19:05Z</dc:date>
    <item>
      <title>LPC4370: RAM corruption during code execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-RAM-corruption-during-code-execution/m-p/577046#M19537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jineshwar on Tue Jul 01 05:45:28 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working on LPC4370, the issue what we see is that some of the RAM variables getting corrupted at times. We could see the corrupt values, when we put a break point and check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One important aspect which i want to mention here is that, we are placing a portion of our code in RAM using linker file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apart from that there nothing special or different which comes to my mind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please do let me know what could be the possible cause, that would be really helpful for me start debugging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-RAM-corruption-during-code-execution/m-p/577046#M19537</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370: RAM corruption during code execution</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-RAM-corruption-during-code-execution/m-p/577047#M19538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Jul 01 23:41:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Possible cause? Your code... This is exactly what a debugger is for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Things to think about:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the other cores on the LPC4370? It could be one of those.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a pattern to the corruption? i.e. is there a whole block of consecutive addresses that is being corrupted, or single variables? Take a look at the memory around the variables and see if you can see something you recognise (a known string, or data that you know)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you recognise the corrupted values? Could the come from another part of your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the heap (malloc)? are you overwriting the end of an allocated buffer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried using watchpoints on the corrupted variables .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-RAM-corruption-during-code-execution/m-p/577047#M19538</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:19:05Z</dc:date>
    </item>
  </channel>
</rss>

