<?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:  KW40Z OTAP safety for no battery devices in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602782#M35431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About your questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader will remain unchanged after OTAP programming ? Do you mean the OTAP Client?, Yes, it remains as service available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader soft should disable the rest pin and/or SWD pins ? No, it is not needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should some retry be added ? No, it is not needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 22:53:01 GMT</pubDate>
    <dc:creator>jorge_a_vazquez</dc:creator>
    <dc:date>2017-03-15T22:53:01Z</dc:date>
    <item>
      <title>KW40Z OTAP safety for no battery devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602779#M35428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0); IAR 7.50;&lt;/P&gt;&lt;P&gt;As OTAP upload can take from 3 to 5 minutes or more to upload new image software to external SPI flash eeprom, and then 16 seconds to actually update MKW30Z flash from SPI - it is possible to have a power down event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How safe is using the OTAP and bootloader software update in a system tied to direct wall mount power supply ?&lt;/P&gt;&lt;P&gt;What happens if there is a power down event, worst case scenario ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(in battery systems it is easier to check for battery status before updating)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 11:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602779#M35428</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2017-02-27T11:55:23Z</dc:date>
    </item>
    <item>
      <title>Re:  KW40Z OTAP safety for no battery devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602780#M35429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;What happens if there is a power down event, worst case scenario ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In the case of the external flash, the worst case scenario is that the image is corrupted, but it will never be loaded to the internal flash, so it does't represent a big problem. in the case that you power down in the load to the internal flash, your application will be corrupted, but if you erase your flash, it should recover its normal operation&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information helps you&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jorge Alcala&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>Fri, 10 Mar 2017 21:27:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602780#M35429</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-03-10T21:27:24Z</dc:date>
    </item>
    <item>
      <title>Re:  KW40Z OTAP safety for no battery devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602781#M35430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bootloader will remain unchanged after OTAP programming ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader soft should disable the rest pin and/or SWD pins ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should some retry be added ?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Erase Flash sector */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (FLASH_OK != FLASH_EraseSector(flashAddr))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gHandleBootError_d();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;like&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (FLASH_OK != FLASH_EraseSector(flashAddr))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (FLASH_OK != FLASH_EraseSector(flashAddr))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gHandleBootError_d();&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The boot switch is contained in gpBootInfo struct.&lt;/P&gt;&lt;P&gt;I think bootloader will retry to write the image until gpBootInfo switches are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the gpBootInfo struct some counter should be added to keep count of how many erases cycles were performed (Cycling endurance minim 10 000 typical 50 000 cycles.) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Mar 2017 07:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602781#M35430</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2017-03-12T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re:  KW40Z OTAP safety for no battery devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602782#M35431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About your questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader will remain unchanged after OTAP programming ? Do you mean the OTAP Client?, Yes, it remains as service available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader soft should disable the rest pin and/or SWD pins ? No, it is not needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should some retry be added ? No, it is not needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 22:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602782#M35431</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-03-15T22:53:01Z</dc:date>
    </item>
    <item>
      <title>Re:  KW40Z OTAP safety for no battery devices</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602783#M35432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the OTAP client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 05:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-OTAP-safety-for-no-battery-devices/m-p/602783#M35432</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2017-03-16T05:38:35Z</dc:date>
    </item>
  </channel>
</rss>

