<?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 make the MPC5748G continue executing the program after a power reset. in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1648498#M23564</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I would like to inquire whether the MPC5748G can upload and burn programs onto the chip, similar to Arduino, so that it can continue running the previously uploaded program even after the computer is disconnected and the power is reset?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sure. that is the purpose the the on chip Flash NVM memory.&lt;/P&gt;&lt;P&gt;Would be really bad if you disconnect power from your car, and you will need to reprogram body unit..&lt;/P&gt;&lt;P&gt;If the SW is in flash, then after power on reset it will run independently. What is the outcome of debugging? where does the SW hangs out after power on reset?&lt;/P&gt;&lt;P&gt;What is the content of RGM DES/FES registers?&lt;/P&gt;&lt;P&gt;Any faults&amp;nbsp; latched FCCU NCFSx regiters?&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 08:40:29 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2023-05-11T08:40:29Z</dc:date>
    <item>
      <title>How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1646999#M23542</link>
      <description>&lt;P&gt;I have written a program for the MPC5748G using S32DS Power 2.1 SDK. The program runs successfully in debug RAM mode, and I can send and receive CAN messages.&lt;/P&gt;&lt;P&gt;To make the program continue running after a power reset, I have tried using both the debug flash and release methods. However, whenever the power is reset, the program fails to execute properly.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to inquire about methods to make the program continue executing without the need to reprogram it after a power reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Paddy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Debug Configurations:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_0-1683622790310.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222312i6853287FBD9FEE89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1683622790310.png" alt="PaddyChan_0-1683622790310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Settings:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_1-1683622954035.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222313i74320B53CE00EF50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_1-1683622954035.png" alt="PaddyChan_1-1683622954035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Console:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_2-1683623156089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222315i0E4922A1E312DAFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_2-1683623156089.png" alt="PaddyChan_2-1683623156089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_3-1683623169136.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222317iCA48C818F50FB1D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_3-1683623169136.png" alt="PaddyChan_3-1683623169136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Debugger Console:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_4-1683623209552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222318iAF28DB2329E83DEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_4-1683623209552.png" alt="PaddyChan_4-1683623209552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 09:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1646999#M23542</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-09T09:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647641#M23550</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I will bet that you do not handle SWT (watchdog) and your device will be reset every 20ms.&lt;/P&gt;
&lt;P&gt;Could you please specify the issue more closely? Is the SW stuck somewhere? Measure the reset line to see if reset is not triggered by device.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 06:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647641#M23550</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-05-10T06:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647816#M23554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have placed the CAN reception, transmission, and related control program within the for loop of the main function, ensuring that it runs continuously. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to inquire whether the MPC5748G can upload and burn programs onto the chip, similar to Arduino, so that it can continue running the previously uploaded program even after the computer is disconnected and the power is reset?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Paddy&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 09:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647816#M23554</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-10T09:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647883#M23557</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is the reset signal I measured.&lt;BR /&gt;After the program starts executing, the reset pin remains at 3V.&lt;BR /&gt;It can only be brought down to 0V by pressing the external reset button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="345802140_785944129729564_1429622223455631701_n.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222561i188BCF8416C0A399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="345802140_785944129729564_1429622223455631701_n.jpg" alt="345802140_785944129729564_1429622223455631701_n.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 10:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1647883#M23557</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-10T10:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1648498#M23564</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I would like to inquire whether the MPC5748G can upload and burn programs onto the chip, similar to Arduino, so that it can continue running the previously uploaded program even after the computer is disconnected and the power is reset?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sure. that is the purpose the the on chip Flash NVM memory.&lt;/P&gt;&lt;P&gt;Would be really bad if you disconnect power from your car, and you will need to reprogram body unit..&lt;/P&gt;&lt;P&gt;If the SW is in flash, then after power on reset it will run independently. What is the outcome of debugging? where does the SW hangs out after power on reset?&lt;/P&gt;&lt;P&gt;What is the content of RGM DES/FES registers?&lt;/P&gt;&lt;P&gt;Any faults&amp;nbsp; latched FCCU NCFSx regiters?&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 08:40:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1648498#M23564</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-05-11T08:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1649768#M23579</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The chip we are using is MPC5748G-LCEVB.&lt;BR /&gt;I would like to inquire about how to continue executing the previously programmed code after a power reset.&lt;BR /&gt;After programming the code into FLASH, is it necessary to press any external buttons to execute the program? Or are we missing something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the link to our program, but it exceeds the website's size limit of 25MB.&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://drive.google.com/drive/folders/1FVbK5CcVXfUwVZC-of4XVGRlQOs5RhsE?usp=sharing" target="_blank"&gt;https://drive.google.com/drive/folders/1FVbK5CcVXfUwVZC-of4XVGRlQOs5RhsE?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;BR /&gt;Paddy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 21:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1649768#M23579</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-14T21:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the MPC5748G continue executing the program after a power reset.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1650076#M23584</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;After programming the code into FLASH, is it necessary to press any external buttons to execute the program? Or are we missing something?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Usually you do power on reset after code loading. to ensure it is running independently of debugger.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I would like to inquire about how to continue executing the previously programmed code after a power reset.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The code will for sure start execution. Use debugger, to see where it hangs out.&lt;/P&gt;
&lt;P&gt;You are clearly missing some initialization in your code, but from available information I am not able to tell what.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 07:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-make-the-MPC5748G-continue-executing-the-program-after-a/m-p/1650076#M23584</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-05-15T07:54:02Z</dc:date>
    </item>
  </channel>
</rss>

