<?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 Constant Table not the same when I compare with memory using the Lpc Expresso Debugger in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555736#M13823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kcarolan on Sat Dec 28 10:09:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a table of constants defined as &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cosnt unsigned char table[256] = {1,2,3,4,.....254, 255}; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first 36 bytes of the table are correct, then the rest are incorrect.&amp;nbsp; I only see the problem when I load the code from the debugger or I load the *.axf file from the Program Flash tool in the Lpc Expresso debugger.&amp;nbsp; If I load the *.hex file through my application everything is correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:03:16 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:03:16Z</dc:date>
    <item>
      <title>Constant Table not the same when I compare with memory using the Lpc Expresso Debugger</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555736#M13823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kcarolan on Sat Dec 28 10:09:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a table of constants defined as &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cosnt unsigned char table[256] = {1,2,3,4,.....254, 255}; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first 36 bytes of the table are correct, then the rest are incorrect.&amp;nbsp; I only see the problem when I load the code from the debugger or I load the *.axf file from the Program Flash tool in the Lpc Expresso debugger.&amp;nbsp; If I load the *.hex file through my application everything is correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555736#M13823</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Constant Table not the same when I compare with memory using the Lpc Expresso Debugger</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555737#M13824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kcarolan on Sat Dec 28 10:25:38 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have determine what cause the problem with the table not generating correctly.&amp;nbsp; I am implementing firmware upgrade in my application and inorder to update the Flash from an extermal SPI Serial Flash chip I need to execute the routine that reads from the SPI and writes to the Internal Flash out of RAM.&amp;nbsp; I have been using the statement&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__attribute__ ((__section__(".data.ramfunc")))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just before the two routines that need to run out of RAM.&amp;nbsp; If I remove the statements the tables are correct.&amp;nbsp; The only problem is I need the __attribute__ ((__section__(".data.ramfunc"))) to make my firmware upgrade work.&amp;nbsp; The strange thing is if I use the firmware upgrade portion of my applicatation and download the Hex File via the SPI Serial Flash Chip the table is correct and everything works perfect.&amp;nbsp; I would like to understand the interaction with the debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555737#M13824</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Constant Table not the same when I compare with memory using the Lpc Expresso Debugger</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555738#M13825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Dec 30 04:04:48 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can, please post a project that reproduces the issue. We should then be able to tell you what you have done wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Constant-Table-not-the-same-when-I-compare-with-memory-using-the/m-p/555738#M13825</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:03:18Z</dc:date>
    </item>
  </channel>
</rss>

