<?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: Fill the empty flash with Reset instruction in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1939097#M26537</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Okay, is there any OPCode I can write in the empty flash memory to force the system to return to the program whenever these empty locations are accessed?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, simple branch. That will set your PC on the desired address with label.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;What pops up in my mind is forcing the system to return to the reset vector location, which may be by setting the PC to the reset vector location.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This however will put the device in some unknown state (as the reset was not performed) and you can have multiple errors active.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1724401286730.png" style="width: 664px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294970i5996211587BBC2CF/image-dimensions/664x624?v=v2" width="664" height="624" role="button" title="petervlna_0-1724401286730.png" alt="petervlna_0-1724401286730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For opcode details please refer to the EBOOK reference manual:&lt;/P&gt;
&lt;P&gt;Table G-1. Primary opcodes (instruction bits 0:5)&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 08:24:12 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2024-08-23T08:24:12Z</dc:date>
    <item>
      <title>Fill the empty flash with Reset instruction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1937526#M26524</link>
      <description>&lt;P&gt;I need to fill the empty flash parts with reset instruction. In order to do so, I need to know the Opcode (hexadecimal) value for the reset. Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 14:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1937526#M26524</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2024-08-21T14:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fill the empty flash with Reset instruction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938060#M26527</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;reset is not triggered by instruction.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1724304915578.png" style="width: 596px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294673i47313C01DB755DC8/image-dimensions/596x170?v=v2" width="596" height="170" role="button" title="petervlna_0-1724304915578.png" alt="petervlna_0-1724304915578.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to configure it in device, usually in reset control module.&lt;/P&gt;
&lt;P&gt;This depends on the device you are using.&lt;/P&gt;
&lt;P&gt;Usually you do a simple mode transition to reset state.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 05:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938060#M26527</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-08-22T05:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fill the empty flash with Reset instruction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938263#M26530</link>
      <description>&lt;P&gt;Okay, is there any OPCode I can write in the empty flash memory to force the system to return to the program whenever these empty locations are accessed? What pops up in my mind is to force the system to return to the reset vector location. Do you know how to do so?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 08:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938263#M26530</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2024-08-22T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fill the empty flash with Reset instruction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938291#M26531</link>
      <description>&lt;P&gt;Okay, is there any OPCode I can write in the empty flash memory to force the system to return to the program whenever these empty locations are accessed? What pops up in my mind is forcing the system to return to the reset vector location, which may be by setting the PC to the reset vector location. Do you know how to do so using OPCODE?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note :&amp;nbsp;&lt;BR /&gt;My device is MPC5744P&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 09:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1938291#M26531</guid>
      <dc:creator>Mennazz</dc:creator>
      <dc:date>2024-08-22T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fill the empty flash with Reset instruction</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1939097#M26537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Okay, is there any OPCode I can write in the empty flash memory to force the system to return to the program whenever these empty locations are accessed?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, simple branch. That will set your PC on the desired address with label.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;What pops up in my mind is forcing the system to return to the reset vector location, which may be by setting the PC to the reset vector location.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This however will put the device in some unknown state (as the reset was not performed) and you can have multiple errors active.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1724401286730.png" style="width: 664px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294970i5996211587BBC2CF/image-dimensions/664x624?v=v2" width="664" height="624" role="button" title="petervlna_0-1724401286730.png" alt="petervlna_0-1724401286730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For opcode details please refer to the EBOOK reference manual:&lt;/P&gt;
&lt;P&gt;Table G-1. Primary opcodes (instruction bits 0:5)&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 08:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Fill-the-empty-flash-with-Reset-instruction/m-p/1939097#M26537</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-08-23T08:24:12Z</dc:date>
    </item>
  </channel>
</rss>

