<?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>Kinetis MicrocontrollersのトピックDryIce behaviour after soft reset</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DryIce-behaviour-after-soft-reset/m-p/602524#M35409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our company has already signed an NDA, and I'm not sure where to post a question about the DryIce module. So please correct me if this is an inappropriate place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here is a brief summary of the system that I'm working on: The DryIce module is set up with a tamper pin pulled high by external circuit (the assertion condition is low). I'm using a&amp;nbsp;K21 as a pass-through for a firmware uploading process. After the fw file is received and stored in an external flash, the K21 is reset by&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;BR /&gt; SCB_AIRCR = SCB_AIRCR_VECTKEY(0x5FA) | SCB_AIRCR_SYSRESETREQ_MASK;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The bootloader then starts and begins to apply the new firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is after the firmware has been received and the soft reset is issued, I observed that the tamper pin goes LOW. The&amp;nbsp;key inside the key store is the erased. The bootloader now sees no key, then throw away the new firmware. Then the old firmware starts, the tamper pin then goes HIGH as per my settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the Reference Manual (Rev. 3, May 2014, pg. 193), it is mentioned that&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The SYSRESETREQ bit in the NVIC application interrupt and reset control register can&lt;BR /&gt;be set to force a software reset on the device. (See ARM's NVIC documentation for the&lt;BR /&gt;full description of the register fields, especially the VECTKEY field requirements.)&lt;BR /&gt;Setting SYSRESETREQ generates a software reset request. This reset forces a system&lt;BR /&gt;reset of all major components except for the debug module. A software reset causes the&lt;/P&gt;&lt;P&gt;RCM's SRS1[SW] bit to set.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should the DryIce module reset as part of the "major components"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 17:39:24 GMT</pubDate>
    <dc:creator>kevinledinh</dc:creator>
    <dc:date>2017-02-27T17:39:24Z</dc:date>
    <item>
      <title>DryIce behaviour after soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DryIce-behaviour-after-soft-reset/m-p/602524#M35409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our company has already signed an NDA, and I'm not sure where to post a question about the DryIce module. So please correct me if this is an inappropriate place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here is a brief summary of the system that I'm working on: The DryIce module is set up with a tamper pin pulled high by external circuit (the assertion condition is low). I'm using a&amp;nbsp;K21 as a pass-through for a firmware uploading process. After the fw file is received and stored in an external flash, the K21 is reset by&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;BR /&gt; SCB_AIRCR = SCB_AIRCR_VECTKEY(0x5FA) | SCB_AIRCR_SYSRESETREQ_MASK;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The bootloader then starts and begins to apply the new firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is after the firmware has been received and the soft reset is issued, I observed that the tamper pin goes LOW. The&amp;nbsp;key inside the key store is the erased. The bootloader now sees no key, then throw away the new firmware. Then the old firmware starts, the tamper pin then goes HIGH as per my settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the Reference Manual (Rev. 3, May 2014, pg. 193), it is mentioned that&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The SYSRESETREQ bit in the NVIC application interrupt and reset control register can&lt;BR /&gt;be set to force a software reset on the device. (See ARM's NVIC documentation for the&lt;BR /&gt;full description of the register fields, especially the VECTKEY field requirements.)&lt;BR /&gt;Setting SYSRESETREQ generates a software reset request. This reset forces a system&lt;BR /&gt;reset of all major components except for the debug module. A software reset causes the&lt;/P&gt;&lt;P&gt;RCM's SRS1[SW] bit to set.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should the DryIce module reset as part of the "major components"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 17:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DryIce-behaviour-after-soft-reset/m-p/602524#M35409</guid>
      <dc:creator>kevinledinh</dc:creator>
      <dc:date>2017-02-27T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: DryIce behaviour after soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DryIce-behaviour-after-soft-reset/m-p/602525#M35410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the K21 DryIce module belongs to high security property, the NXP community is not a right place to discussion this kind of issues.&lt;/P&gt;&lt;P&gt;Please contact with your local NXP sales/marketing to get related support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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, 01 Mar 2017 07:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DryIce-behaviour-after-soft-reset/m-p/602525#M35410</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-03-01T07:01:24Z</dc:date>
    </item>
  </channel>
</rss>

