<?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: how to use a separate flash as a read-only data storage? So both cores can be read. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299367#M45675</link>
    <description>&lt;P&gt;I got it. The data bin file that I want to put into flash must be a separate assembly file.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 03:25:19 GMT</pubDate>
    <dc:creator>superliyou</dc:creator>
    <dc:date>2021-06-29T03:25:19Z</dc:date>
    <item>
      <title>how to use a separate flash as a read-only data storage? So both cores can be read.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299329#M45672</link>
      <description>&lt;P&gt;In addition to the core 1 imag, how to use a separate flash as a read-only data storage? So both cores can be read. And burn it to flash with two core imags.&amp;nbsp;Is there such an example？&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 02:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299329#M45672</guid>
      <dc:creator>superliyou</dc:creator>
      <dc:date>2021-06-29T02:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a separate flash as a read-only data storage? So both cores can be read.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299337#M45673</link>
      <description>&lt;P&gt;I tried to do it, but it didn't work.&amp;nbsp; Use Keil MDK , Here are my specific steps&lt;/P&gt;&lt;P&gt;1，in the scat file，define a section&lt;/P&gt;&lt;P&gt;#define m_core1_image_start 0x00072000&lt;BR /&gt;#define m_core1_image_size 0x00024000&lt;/P&gt;&lt;P&gt;#define m_read_data_start 0x00096000&lt;BR /&gt;#define m_read_data_size 0x00002000&lt;/P&gt;&lt;P&gt;LR_CORE1_IMAGE m_core1_image_start m_core1_image_size + m_read_data_size {&lt;BR /&gt;CORE1_REGION m_core1_image_start m_core1_image_size {&lt;BR /&gt;* (.core1_code)&lt;BR /&gt;}&lt;BR /&gt;READ_DATA m_read_data_start m_read_data_size {&lt;BR /&gt;* (.read_data)&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;2,in fsl_incbin.s&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#if defined(__CC_ARM)&lt;/P&gt;&lt;P&gt;AREA core1_code, DATA, READONLY, PREINIT_ARRAY, ALIGN=3&lt;BR /&gt;EXPORT core1_image_start&lt;BR /&gt;EXPORT core1_image_end&lt;BR /&gt;core1_image_start&lt;BR /&gt;INCBIN core1_image.bin&lt;BR /&gt;core1_image_end&lt;/P&gt;&lt;P&gt;AREA read_data, DATA, READONLY, PREINIT_ARRAY, ALIGN=3&lt;BR /&gt;EXPORT read_data_start&lt;BR /&gt;EXPORT read_data_end&lt;BR /&gt;read_data_start&lt;BR /&gt;INCBIN read_data.bin&lt;BR /&gt;read_data_end&lt;BR /&gt;END&lt;/P&gt;&lt;P&gt;3,&amp;nbsp;read_data.bin&amp;nbsp;file is placed in the same path as core1 imag&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 02:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299337#M45673</guid>
      <dc:creator>superliyou</dc:creator>
      <dc:date>2021-06-29T02:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a separate flash as a read-only data storage? So both cores can be read.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299367#M45675</link>
      <description>&lt;P&gt;I got it. The data bin file that I want to put into flash must be a separate assembly file.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 03:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-use-a-separate-flash-as-a-read-only-data-storage-So-both/m-p/1299367#M45675</guid>
      <dc:creator>superliyou</dc:creator>
      <dc:date>2021-06-29T03:25:19Z</dc:date>
    </item>
  </channel>
</rss>

