<?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 MPC56xx Read flash from user code in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC56xx-Read-flash-from-user-code/m-p/1421246#M20568</link>
    <description>&lt;P&gt;Is there any restriction on reading Flash from user code in MPC56xx processors? I need to read parts from Shadow and Data flash, and know that erase and write are performed using special drivers, but what about reading?&lt;/P&gt;&lt;P&gt;Normally I'll use the code below:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;  	for (i =SHADOW_FLASH_BASE; i &amp;lt;  SHADOW_FLASH_END; i+= 4)
  	{
  		word = *(uint32_t*) i;
  		uart_print_int(word);
  	}
  	&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 13:31:31 GMT</pubDate>
    <dc:creator>tbonkers</dc:creator>
    <dc:date>2022-03-01T13:31:31Z</dc:date>
    <item>
      <title>MPC56xx Read flash from user code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC56xx-Read-flash-from-user-code/m-p/1421246#M20568</link>
      <description>&lt;P&gt;Is there any restriction on reading Flash from user code in MPC56xx processors? I need to read parts from Shadow and Data flash, and know that erase and write are performed using special drivers, but what about reading?&lt;/P&gt;&lt;P&gt;Normally I'll use the code below:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;  	for (i =SHADOW_FLASH_BASE; i &amp;lt;  SHADOW_FLASH_END; i+= 4)
  	{
  		word = *(uint32_t*) i;
  		uart_print_int(word);
  	}
  	&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 13:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC56xx-Read-flash-from-user-code/m-p/1421246#M20568</guid>
      <dc:creator>tbonkers</dc:creator>
      <dc:date>2022-03-01T13:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: MPC56xx Read flash from user code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC56xx-Read-flash-from-user-code/m-p/1421859#M20584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can read the flash directly, there are no restrictions.&lt;/P&gt;
&lt;P&gt;It's just expected that the flash area is covered by Memory Management Unit - MMU (not present on e200z0 cores) and it's not protected by Memory Protection Unit - MPU (not all MPC56xx have MPU).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC56xx-Read-flash-from-user-code/m-p/1421859#M20584</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-03-02T11:32:33Z</dc:date>
    </item>
  </channel>
</rss>

