<?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 Re: __RODATA array data missing (filled with zeros) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832824#M33239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;I suspect that your project hasn't actually enabled the SPIFI flash correctly.&amp;nbsp;The following thread and its attached&amp;nbsp;example code should help&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;&lt;A _jive_internal="true" class="" data-containerid="11497" data-containertype="14" data-objectid="476968" data-objecttype="1" href="https://community.nxp.com/thread/476968"&gt;How to use __RODATA macro from &amp;lt;cr_section_macros.h&amp;gt;?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 08:07:53 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2018-10-26T08:07:53Z</dc:date>
    <item>
      <title>__RODATA array data missing (filled with zeros)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832821#M33236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are testing a modified emwin_touch_and_draw example.&lt;/P&gt;&lt;P&gt;There we would like to offload bitmap data to the SPIFI flash. The bitmap was converted using "Bitmap converter". Then we modified the array definition like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #931a68;"&gt;static&lt;/SPAN&gt; &lt;SPAN style="text-decoration: underline;"&gt;__RODATA&lt;/SPAN&gt;(Flash2) &lt;SPAN style="color: #931a68;"&gt;const&lt;/SPAN&gt; &lt;SPAN style="color: #931a68;"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN style="color: #931a68;"&gt;char&lt;/SPAN&gt; _aclogo[] = {&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;/* RLE: 004 Pixels @ 000,000 */&lt;SPAN style="color: #000000;"&gt; 4, 0xE3, 0x18,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #000000;"&gt;Compiling and uploading works. However, the variable&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;_aclogo is filled with zeros rather then pixel data&amp;nbsp;in the debugger and instead of the image, there is a black box appearing on the display.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4e9072; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;What could be the reason for this problem? The memory in the project properties configuration looks reasonable.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832821#M33236</guid>
      <dc:creator>nagl</dc:creator>
      <dc:date>2018-10-24T16:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: __RODATA array data missing (filled with zeros)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832822#M33237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias Nagl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check your flash2 definition, do you choose the correct SPIFI address ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you select the correct address, you also need to select the correct SPIFI flash driver:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76897iD0E76BB2B086B088/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After you select it, build the project, check the memory map, whether the address is in the SPIFI adress, then enter debug mode, and check the address memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have problem, give me the memory address window about your _aclogo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 07:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832822#M33237</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-10-25T07:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: __RODATA array data missing (filled with zeros)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832823#M33238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer. However, the presets look reasonable for me. Nevertheless, the array reads zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bildschirmfoto 2018-10-26 um 00.06.33.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76871i05C5E7C3543B02F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2018-10-26 um 00.06.33.png" alt="Bildschirmfoto 2018-10-26 um 00.06.33.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bildschirmfoto 2018-10-26 um 00.09.45.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76902iB2205D7C85955F2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2018-10-26 um 00.09.45.png" alt="Bildschirmfoto 2018-10-26 um 00.09.45.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 22:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832823#M33238</guid>
      <dc:creator>nagl</dc:creator>
      <dc:date>2018-10-25T22:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: __RODATA array data missing (filled with zeros)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832824#M33239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;I suspect that your project hasn't actually enabled the SPIFI flash correctly.&amp;nbsp;The following thread and its attached&amp;nbsp;example code should help&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;&lt;A _jive_internal="true" class="" data-containerid="11497" data-containertype="14" data-objectid="476968" data-objecttype="1" href="https://community.nxp.com/thread/476968"&gt;How to use __RODATA macro from &amp;lt;cr_section_macros.h&amp;gt;?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Regards,&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: normal; font-style: normal; font-size: 15px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; caret-color: #51626f; color: #51626f; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 08:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/RODATA-array-data-missing-filled-with-zeros/m-p/832824#M33239</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-10-26T08:07:53Z</dc:date>
    </item>
  </channel>
</rss>

