<?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: Firmware update AN12323 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071598#M7387</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;I would like to suggest creating an empty project for the S32K148 device and copy the source code from the&amp;nbsp;memory partition&amp;nbsp;project and also read the section "5.1 NVM architecture" from the AN12323&lt;/P&gt;&lt;P&gt;Your linker file is not correct. Abou to &lt;EM&gt;m_interrupt,&lt;/EM&gt;&amp;nbsp;important thing is that the reset vector is expected always at address 0x00000000.&amp;nbsp;.interrupts section&amp;nbsp;includes&amp;nbsp;stack pointer and reset vector handler.&lt;/P&gt;&lt;P&gt;Also, &lt;EM&gt;m_flash_confing&lt;/EM&gt; is related to&amp;nbsp;Flash Configuration Field and the FSEC register is loaded from the Flash Configuration Field out of reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your bootloader linker file seems to be correct, however, in your case, I assume you chose the unified bootloader project instead of porting the AN12323 to S32K148 such as we discussed in your second thread, right?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/534367"&gt;S32K bootloader over CAN &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2020 12:44:06 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2020-06-12T12:44:06Z</dc:date>
    <item>
      <title>Firmware update AN12323</title>
      <link>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071595#M7384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to run the firmware update example AN12323 in S32K148. (memory partition, bootloader, gateway)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The gateway example is running and sending 0x151515 and waiting for acknowledge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i did,&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. i build and downloaded the memory_partition project, after i configured the linker file.&lt;/P&gt;&lt;P&gt;2. Then i downloaded the bootloader project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the bootloader example is not running, i get stuck at memory_init()&lt;/P&gt;&lt;P&gt;because ret value is equal =&amp;nbsp;FTFx_ERR_ACCERR!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont know if its because a mistake in the bootloader project or memory_parition project? or is because something the way to run the projects? or because the memory_parittiion project?&lt;/P&gt;&lt;P&gt;(S32K148 is superset of 146 so it should run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the memory_partition project, i get flash_error= 160, what exactly is the expected value? is it correct, or there are some points to consider before configuring&amp;nbsp;FlexNVM and EEPROM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to configure the linker file and also tried without any configuration, i get the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Please find the attached screenshots of my errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 16:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071595#M7384</guid>
      <dc:creator>naderkhamess</dc:creator>
      <dc:date>2020-06-08T16:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware update AN12323</title>
      <link>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071596#M7385</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 style="margin: 0in; margin-bottom: .0001pt;"&gt;S32K148 has different memory ranges, so, also, the linker file of the memory_pratition project should be changed. May I see your LinkerFile settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, refer to the RM rev 12.1 and look at the S32K1xx_Memory_Map.xlsx file which is in the attachment of the RM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 08:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071596#M7385</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-06-10T08:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware update AN12323</title>
      <link>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071597#M7386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. I didn't know about this file, i was referring in memory sizes in application note of firmware update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes sure, i attached screenshots of&amp;nbsp;linker file settings for the memory partition and bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nader&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="memory_parition.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112510i20FE641D66091C73/image-size/large?v=v2&amp;amp;px=999" role="button" title="memory_parition.PNG" alt="memory_parition.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Bootloader.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112511i714FD4C0BEB27541/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bootloader.PNG" alt="Bootloader.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 16:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071597#M7386</guid>
      <dc:creator>naderkhamess</dc:creator>
      <dc:date>2020-06-10T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware update AN12323</title>
      <link>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071598#M7387</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;I would like to suggest creating an empty project for the S32K148 device and copy the source code from the&amp;nbsp;memory partition&amp;nbsp;project and also read the section "5.1 NVM architecture" from the AN12323&lt;/P&gt;&lt;P&gt;Your linker file is not correct. Abou to &lt;EM&gt;m_interrupt,&lt;/EM&gt;&amp;nbsp;important thing is that the reset vector is expected always at address 0x00000000.&amp;nbsp;.interrupts section&amp;nbsp;includes&amp;nbsp;stack pointer and reset vector handler.&lt;/P&gt;&lt;P&gt;Also, &lt;EM&gt;m_flash_confing&lt;/EM&gt; is related to&amp;nbsp;Flash Configuration Field and the FSEC register is loaded from the Flash Configuration Field out of reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your bootloader linker file seems to be correct, however, in your case, I assume you chose the unified bootloader project instead of porting the AN12323 to S32K148 such as we discussed in your second thread, right?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/534367"&gt;S32K bootloader over CAN &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 12:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Firmware-update-AN12323/m-p/1071598#M7387</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-06-12T12:44:06Z</dc:date>
    </item>
  </channel>
</rss>

