<?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: MPC5748G LCEVB Flash Programming in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654406#M10187</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your quick response.&lt;BR /&gt;&lt;/SPAN&gt;After commenting out the define DEVKIT, when I was debugging, I was asked to power cycle.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_0-1684736152430.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224116i7C2DBDA955F0F42F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1684736152430.png" alt="PaddyChan_0-1684736152430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I turned off and restarted the power, it threw this warning and error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_1-1684736196564.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224117iA7000A71563BC785/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_1-1684736196564.png" alt="PaddyChan_1-1684736196564.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_2-1684736218347.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224118iB887C66FF9103385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_2-1684736218347.png" alt="PaddyChan_2-1684736218347.png" /&gt;&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;</description>
    <pubDate>Mon, 22 May 2023 06:18:08 GMT</pubDate>
    <dc:creator>PaddyChan</dc:creator>
    <dc:date>2023-05-22T06:18:08Z</dc:date>
    <item>
      <title>MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1653736#M10180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the MPC5748G LCEVB with S32DS Power 2.1 and I am trying to program the device so that it can continue running the programmed code after a power cycle.&lt;/P&gt;&lt;P&gt;I have attempted to burn the program into Flash using the Blinking LED tutorial provided on the official website &lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-a-Blinking-LED-Project-MPC5748G/ta-p/1114912" target="_blank" rel="noopener"&gt;(https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-a-Blinking-LED-Project-MPC5748G/ta-p/1114912&lt;/A&gt;), using both Build Release and Debug Release.&lt;BR /&gt;However, whenever I press the external reset button during power on or perform a power cycle, the program stops running and cannot continue.&lt;/P&gt;&lt;P&gt;According to this URL&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821300/thread-id/12104" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821300/thread-id/12104&lt;/A&gt;&lt;BR /&gt;I have modified my flash memory as follows:&lt;/P&gt;&lt;P&gt;flash_rchw: org = 0x00F90000,len = 0x4&lt;BR /&gt;cpu0_reset_vec: org = 0x00F90000+0x10, len = 0x4&lt;BR /&gt;cpu1_reset_vec: org = 0x00F90000+0x14, len = 0x4&lt;BR /&gt;cpu2_reset_vec: org = 0x00F90000+0x04, len = 0x4&lt;BR /&gt;&lt;BR /&gt;m_text : org = 0x00F94000, len = FLASH_SIZE&lt;/P&gt;&lt;P&gt;However, I am still unable to have the program continue running after a reset or power cycle.&lt;/P&gt;&lt;P&gt;When I finish debugging and before executing, I can see that both RAM and Flash memory contain data, as shown in the figure.&lt;/P&gt;&lt;P&gt;0x00F90000:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_0-1684487549916.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223958iDF6873E26459D95E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1684487549916.png" alt="PaddyChan_0-1684487549916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;0x00F94000:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_1-1684487585485.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223960i8D824A00AB888ADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_1-1684487585485.png" alt="PaddyChan_1-1684487585485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;0x40000000:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_2-1684487633306.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223961iE11A3BA235C83727/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_2-1684487633306.png" alt="PaddyChan_2-1684487633306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data in RAM gets cleared when I press the reset button, but the data in Flash remains. However, the program is not executing either.&lt;/P&gt;&lt;P&gt;I'm not sure if there is a problem with my project settings that prevents me from directly burning and running the program in Flash.&lt;BR /&gt;Alternatively, is there an example I can test that allows me to burn the program into Flash and continue using it after a power cycle?&lt;/P&gt;&lt;P&gt;I have already tried debug Flash in the MPC5748G SDK Example Project, but I still cannot continue execution after a power cycle or reset.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Paddy&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 09:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1653736#M10180</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-19T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1653846#M10182</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested attached project (I need to modify it slightly because I have only EVB). And there is no issue on my side. There was some strange settings in debug configurations which I fixed. The modified project is in attachment. After reset or power cycle - the board LED stats blinking.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have Mother Board - just remove DEVIT define in main.c:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_0-1684499623689.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/223983i5CB783825EF0AEF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="jiri_kral_0-1684499623689.png" alt="jiri_kral_0-1684499623689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 12:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1653846#M10182</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2023-05-19T12:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654406#M10187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your quick response.&lt;BR /&gt;&lt;/SPAN&gt;After commenting out the define DEVKIT, when I was debugging, I was asked to power cycle.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_0-1684736152430.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224116i7C2DBDA955F0F42F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1684736152430.png" alt="PaddyChan_0-1684736152430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I turned off and restarted the power, it threw this warning and error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_1-1684736196564.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224117iA7000A71563BC785/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_1-1684736196564.png" alt="PaddyChan_1-1684736196564.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_2-1684736218347.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224118iB887C66FF9103385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_2-1684736218347.png" alt="PaddyChan_2-1684736218347.png" /&gt;&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;</description>
      <pubDate>Mon, 22 May 2023 06:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654406#M10187</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-22T06:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654446#M10188</link>
      <description>&lt;P&gt;&lt;SPAN&gt;According to the method shown in the diagram.&amp;nbsp;&lt;BR /&gt;"Turn the power off, press and hold the reset button, turn the power on. Now release the reset button and press "Connect" within 300ms."&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_0-1684737221383.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224127iFB9AF6F6315E4F22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1684737221383.png" alt="PaddyChan_0-1684737221383.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I adjusted the debug configuration by setting a 300ms delay after reset.&lt;BR /&gt;The debug configuration was successful.&lt;BR /&gt;However, after executing it and then turning off and restarting the power, the LED stopped emitting light.&lt;BR /&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_0-1684737816197.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224133i4C38517CC7FA27CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_0-1684737816197.png" alt="PaddyChan_0-1684737816197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 06:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654446#M10188</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-22T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654633#M10189</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you attach to running target - are you able see where the program execution ends?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_0-1684746402750.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224196i8D3B52C62553C863/image-size/large?v=v2&amp;amp;px=999" role="button" title="jiri_kral_0-1684746402750.png" alt="jiri_kral_0-1684746402750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654633#M10189</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2023-05-22T09:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654812#M10190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;After restarting the power supply following the completion of the debugging process, I ran the program again using the configuration mentioned earlier.&lt;BR /&gt;I paused the program and used the "Instruction stepping mode" by pressing "step into" repeatedly.&lt;BR /&gt;I observed that it continuously looped at the addresses 00f8c3e4, 00f8c3e8, 00f8c3ec, 00f8c3ee, and 00f8c3f0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaddyChan_1-1684756917612.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224234iEE08E87DD26B3329/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaddyChan_1-1684756917612.png" alt="PaddyChan_1-1684756917612.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not sure if this is the content you would like me to test.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Paddy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:07:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1654812#M10190</guid>
      <dc:creator>PaddyChan</dc:creator>
      <dc:date>2023-05-22T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1657626#M10206</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in my attached project - there is no code around the address 0xF8C3E4.&amp;nbsp; The RCHW starts on 0xF90000. There is probably some un-erased old code which starts instead the blinking LED. Some Boot Loader?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 10:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1657626#M10206</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2023-05-25T10:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G LCEVB Flash Programming</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1657633#M10207</link>
      <description>&lt;P&gt;Quick update - for erasing you can use PE Micro SW -&amp;nbsp;&lt;A href="https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320181&amp;amp;productTab=1" target="_blank"&gt;https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320181&amp;amp;productTab=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 10:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-LCEVB-Flash-Programming/m-p/1657633#M10207</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2023-05-25T10:56:22Z</dc:date>
    </item>
  </channel>
</rss>

