<?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>S32KのトピックRe: Reflash vector table in a secure way</title>
    <link>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724403#M1744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emmanuel,&lt;/P&gt;&lt;P&gt;As Diana said, you may create new vector table in another region and change VTOR register.&lt;/P&gt;&lt;P&gt;That may be important e.g. for dual application solution like Bootloader at default vector table area and application vector table in another Flash/RAM region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reflashing default vector table may be dangerous since the vector table occupied the same flash sector as initial Stack Pointer and Program Counter values.&lt;/P&gt;&lt;P&gt;Unexpected reset during first sector reflashing may cause MCU brick (you may need JTAG for loading new software).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of Kinetis MCUs offers flash bank swap, but this feature is not available for the S32k family.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if you expect that your application will be changed in the future without debugger connection, the vector table should be located out of the first sector anyway. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 14:28:23 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2018-06-13T14:28:23Z</dc:date>
    <item>
      <title>Reflash vector table in a secure way</title>
      <link>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724401#M1742</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'm having troubles finding if there is a secure way to reflash the vector table, with other micro-controllers that I&amp;nbsp;just to work with, this was done by manually flashing a vector table in another region and set it as the starting point, then reflashing the default region with the new vector table and making it the start point again when the reflash process done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this handle in a similar way on the S32K? do you have any document for reference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 22:21:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724401#M1742</guid>
      <dc:creator>emmanuelaguilas</dc:creator>
      <dc:date>2018-05-03T22:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reflash vector table in a secure way</title>
      <link>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724402#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emmanuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CM0+ and CM4 core support a programmable Vector Table Offset Register (VTOR).&lt;BR /&gt;Vector table is located at addresses 0x0 (Stack Pointer) and 0x4 (Program Counter).&lt;/P&gt;&lt;P&gt;I assume&amp;nbsp;you can move the vector table to another address and after reset set VTOR to point to this vector table address.&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>Thu, 07 Jun 2018 13:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724402#M1743</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-06-07T13:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reflash vector table in a secure way</title>
      <link>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724403#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emmanuel,&lt;/P&gt;&lt;P&gt;As Diana said, you may create new vector table in another region and change VTOR register.&lt;/P&gt;&lt;P&gt;That may be important e.g. for dual application solution like Bootloader at default vector table area and application vector table in another Flash/RAM region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reflashing default vector table may be dangerous since the vector table occupied the same flash sector as initial Stack Pointer and Program Counter values.&lt;/P&gt;&lt;P&gt;Unexpected reset during first sector reflashing may cause MCU brick (you may need JTAG for loading new software).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of Kinetis MCUs offers flash bank swap, but this feature is not available for the S32k family.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if you expect that your application will be changed in the future without debugger connection, the vector table should be located out of the first sector anyway. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 14:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Reflash-vector-table-in-a-secure-way/m-p/724403#M1744</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2018-06-13T14:28:23Z</dc:date>
    </item>
  </channel>
</rss>

