<?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 flash start address(flashStart=1000000) in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/1653516#M23630</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am also using MPC5748G and is also trying the LED blink sample code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I edit my linker file as you suggested to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&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;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; org =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x00F94000&lt;/STRONG&gt;,&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The LED is blinking, but after I removed USB power from MPC5748G-LCEVB then plug in again, LED no longer blink.&lt;/P&gt;&lt;P&gt;Do you know why?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 04:49:18 GMT</pubDate>
    <dc:creator>juang</dc:creator>
    <dc:date>2023-05-19T04:49:18Z</dc:date>
    <item>
      <title>MPC5748G flash start address(flashStart=1000000)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821300#M12104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;A question about MPC5748G's flash start address.&lt;/P&gt;&lt;P&gt;When I create a new S32 DS MPC5748G project, FLASH Start Address is fixed at 0x1000000.&lt;/P&gt;&lt;P&gt;I checked user manual for MPC5748G's Flash memory as below:&lt;/P&gt;&lt;P&gt;0x00F8C000 0x00F8FFFF 16 KB Small HSM Code Block&lt;/P&gt;&lt;P&gt;&amp;nbsp;00F8_C000h ~ 00FA_8000 -&amp;gt; boot headers location&lt;BR /&gt;0x00F90000 0x00FFFFFF 448 KB Small and Medium NVM Blocks&lt;BR /&gt;0x01000000 0x0157FFFF 5632 KB Large Flash NVM&lt;/P&gt;&lt;P&gt;After new S32 DS project created,&amp;nbsp;default flash start address listed as below:&lt;/P&gt;&lt;P&gt;1.com.freescale.s32ds.cross.wizard.prefs&lt;/P&gt;&lt;P&gt;flashStart=&lt;STRONG&gt;1000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.MPC5748G_flash.ld&lt;/P&gt;&lt;P&gt;flash_rchw : org = &lt;STRONG&gt;0x00FA0000&lt;/STRONG&gt;, len = 0x4&lt;BR /&gt; cpu0_reset_vec : org = &lt;STRONG&gt;0x00FA0000&lt;/STRONG&gt;+0x10, len = 0x4&lt;BR /&gt; cpu1_reset_vec : org = &lt;STRONG&gt;0x00FA0000&lt;/STRONG&gt;+0x14, len = 0x4&lt;BR /&gt; cpu2_reset_vec : org = &lt;STRONG&gt;0x00FA0000&lt;/STRONG&gt;+0x04, len = 0x4&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; org = &lt;STRONG&gt;0x1000000&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I modified them like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;com.freescale.s32ds.cross.wizard.prefs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;flashStart=&lt;STRONG&gt;FC0000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;2.MPC5748G_flash.ld&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt; flash_rchw : org = 0x00F8C000, len = 0x4&lt;BR /&gt; cpu0_reset_vec : org = &lt;STRONG&gt;0x00F8C000&lt;/STRONG&gt;+0x10, len = 0x4&lt;BR /&gt; cpu1_reset_vec : org = &lt;STRONG&gt;0x00F8C000&lt;/STRONG&gt;+0x14, len = 0x4&lt;BR /&gt; cpu2_reset_vec : org = &lt;STRONG&gt;0x00F8C000&lt;/STRONG&gt;+0x04, len = 0x4&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; org = &lt;STRONG&gt;0x00FC0000&lt;/STRONG&gt;,&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program is simply set LED blink to make sure program is running.&lt;/P&gt;&lt;P&gt;After modified FLASH Start address, I flashed .elf into DEVKIT via \Run\Flash from file...&lt;/P&gt;&lt;P&gt;The LED is working, but after I remove USB power from DEVKIT, then plug-in again, LED is no longer blink, program not running anymore.&lt;/P&gt;&lt;P&gt;It seems wrong to change&amp;nbsp;&lt;SPAN&gt;flashStart=&lt;/SPAN&gt;&lt;STRONG&gt;FC0000, &lt;/STRONG&gt;why?&lt;/P&gt;&lt;P&gt;Does it means only&amp;nbsp;Large Flash Blocks can be used for my own program?&lt;BR /&gt; 0x01000000 0x0157FFFF (256 KB * 22), it is just only 5 MB within 6MB totally.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 01:54:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821300#M12104</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-07-18T01:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G flash start address(flashStart=1000000)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821301#M12105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a little bit different problem. Only block, which cannot be used is 16KB HSM code block starting at address 0x00F8C000. Erasing and programming of this block was disabled in S32DS, because of security. If there is double bit ecc error in this block, microcontroller is locked by internal mechanism and it is not working anymore (security feature).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because there was many incidents with double bit ECC errors, it was decided to disable erasing and programming of this block.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in your application, you can use any block from 0x00F90000 until the end of the flash memory. About startup wizard, there is definitely a bug with flash start address which cannot be changed. I will contact my colleague and we will report this bug next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want to use entire flash memory, I recommend you to edit linker file using this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&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;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; org = &lt;STRONG&gt;0x00F94000&lt;/STRONG&gt;,&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this configuration and it works correct on my side. Could you please test this on your side and eventually let me know, if this solution is suitable for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 11:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/821301#M12105</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-08-16T11:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G flash start address(flashStart=1000000)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/1490747#M21540</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have a SPC5744B chip, which I has burned random data to the&amp;nbsp;&lt;/SPAN&gt;HSM Code Block&amp;nbsp;&lt;SPAN&gt;. Now the chip cannot enter the debug mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What should I do now?&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;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 05:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/1490747#M21540</guid>
      <dc:creator>Lance</dc:creator>
      <dc:date>2022-07-18T05:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G flash start address(flashStart=1000000)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/1653516#M23630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Martin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am also using MPC5748G and is also trying the LED blink sample code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I edit my linker file as you suggested to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&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;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp; org =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x00F94000&lt;/STRONG&gt;,&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The LED is blinking, but after I removed USB power from MPC5748G-LCEVB then plug in again, LED no longer blink.&lt;/P&gt;&lt;P&gt;Do you know why?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 04:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-flash-start-address-flashStart-1000000/m-p/1653516#M23630</guid>
      <dc:creator>juang</dc:creator>
      <dc:date>2023-05-19T04:49:18Z</dc:date>
    </item>
  </channel>
</rss>

