<?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: IVOR1 exception occurs when reading Flash memory in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683134#M8286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hoseok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share with me your code as I am having trouble to test flash error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is so:&lt;/P&gt;&lt;P&gt;1. I need to have a IVOR1 exception raised while reading from flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your case matches my requirement. I am looking forward your reply at the earliest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 09:11:21 GMT</pubDate>
    <dc:creator>bhavaniananda</dc:creator>
    <dc:date>2017-08-30T09:11:21Z</dc:date>
    <item>
      <title>IVOR1 exception occurs when reading Flash memory</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683132#M8284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using MPC5674F EVB and implementing 'write and read' functions to/from internal flash memory.&lt;BR /&gt;Specifically speaking, the following logic is under implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Read 100KB of structural data from internal RAM&lt;BR /&gt;2) Erase and program the internal flash area of FLASH_B M0 in MPC5674F with the 100KB data which were read from RAM. FLASH_B M0 area is as follows. Starting address: 0x000C0000, size: 0x00040000 &lt;BR /&gt;3) Reset MCU (MPC5674F)&lt;BR /&gt;4) Read variables from structural data in the internal flash memory which were written before a reset&lt;BR /&gt;5) Copy the variables to internal RAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where, my problem is that IVOR1 exception occurs when I read data from internal FLASH during step 4 above and system is hanged up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure information is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Definition of structure]&lt;BR /&gt;typedef struct s_reset_mem_info&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long aaa;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long bbb;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long ccc;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long ddd;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long eee;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long fff;&lt;BR /&gt;&amp;nbsp; unsigned long ggg;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long hhh;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long iii;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long jjj;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;// buffers&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_aaa_info aaa_list[256];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_bbb_info bbb_info;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_ccc_info ccc_info;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_ddd_info ddd_list[10];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_eee_info eee_list[3];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned char fff_buffer[40000];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_ggg_info ggg_list[4];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;t_hhh_info hhh_list[16];&lt;BR /&gt;&amp;nbsp; &amp;nbsp;// last&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long reserved_for_last[1];&lt;BR /&gt;} t_reset_mem_info;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Declaration of structure:]&lt;BR /&gt;const t_reset_mem_info *picd_reset_mem = (const t_reset_mem_info *)(0x000C0000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Usage of structure:]&lt;BR /&gt;void flash_load(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long value_aaa = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long value_bbb = 0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;...&lt;BR /&gt;&amp;nbsp; &amp;nbsp;unsigned long value_jjj = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;/* IVOR1 exception occurs in the following arbitary routine */&lt;BR /&gt;&amp;nbsp; &amp;nbsp;value_aaa = picd_reset_mem-&amp;gt;aaa;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;value_bbb = picd_reset_mem-&amp;gt;bbb;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;...&lt;BR /&gt;&amp;nbsp; &amp;nbsp;value_jjj = picd_reset_mem-&amp;gt;jjj;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;...&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me to solve my 'Flash Write and Read' problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoseok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 09:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683132#M8284</guid>
      <dc:creator>suchaeha</dc:creator>
      <dc:date>2017-06-12T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR1 exception occurs when reading Flash memory</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683133#M8285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found myself making an error.&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jun 2017 10:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683133#M8285</guid>
      <dc:creator>suchaeha</dc:creator>
      <dc:date>2017-06-18T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR1 exception occurs when reading Flash memory</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683134#M8286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hoseok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share with me your code as I am having trouble to test flash error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is so:&lt;/P&gt;&lt;P&gt;1. I need to have a IVOR1 exception raised while reading from flash.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your case matches my requirement. I am looking forward your reply at the earliest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 09:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR1-exception-occurs-when-reading-Flash-memory/m-p/683134#M8286</guid>
      <dc:creator>bhavaniananda</dc:creator>
      <dc:date>2017-08-30T09:11:21Z</dc:date>
    </item>
  </channel>
</rss>

