<?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中的主题 Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668023#M41066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;picture 12 and picture 13 is really very strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp; start address is 0x1000f000, the data is 0xff, but in the asm, it makes the data as 0.&lt;/P&gt;&lt;P&gt;I also need time to do the consideration.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you share your modified bootloader to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 18 Jul 2017 08:41:21 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-07-18T08:41:21Z</dc:date>
    <item>
      <title>Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668011#M41054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully ported the KBOOT V2 from the TWR-MKV58F22 Bootloader to my MKV58F1M0VLL24 MCU on a custom board (Using KDS V3.2). Neraly everything is working as expected, except a strange update-behaviour with the KinetisFlashTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updating my application binary to the target address sometimes succeeds and sometimes fails with the kStatusMemoryCumulativeWrite errormessage. I observerd this behaviour especially then, when there is already an application binary on the target flash, which I am going to erase and replace with my new application (in my example, the new application binary is the same binary as the one already placed on the flash... I just want to test everything to avoid later upcoming bugs, so the content of my binary shouldn't be of interest). When the error message occurs, I try to erase the whole flash memory in order to prevent cumulative memory writing as mentioned in the MCU's reference manual. Since now, every time I erased the whole memory, the KinetisFlashTool just responded with "Erase all memory of internal flash. Completed!", so I expected the erasing to be successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless after trying to Update my "new" application binary to the "freshly erased flash memory", the same cumulative write error occurs. The only workaround for this problem is to reset the device via the KinetisFlashTool followed by normally clicking the Update Button...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this procedure, when I reset the device, connect to KinetisFlashTool and try to Update the application binary again, the already mentioned error occurs again. And again, erasing the whole flash memory doesn't help at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I didn't found any similar question about this, I am wondering if I am missing any important step while updating my application binaries?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate some help to understand what is going wrong with the updating procedure on my MCU...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 07:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668011#M41054</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-13T07:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668012#M41055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you use the KinetisFlash Tool, please select the erase all to unlock, just like the following picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25126i50FECD0F07961372/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then try it again.&lt;/P&gt;&lt;P&gt;If you still have problem, please also attach the problem picture about your kinetisFlash Tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 14 Jul 2017 02:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668012#M41055</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-14T02:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668013#M41056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunatelly using the "Erase All to Unlock" Feature doesn't solve the problem. As mentioned before, even erasing the whole memory (starting from application address) before updating my binary doesn't solve this issue. I attached a screenshot of the Kinetis Flash Tool where the error occured.&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash Tool Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25734iF8803899C41DA979/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash Tool Error.png" alt="Flash Tool Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarting the device via the "Reset" Button in the Kinetis Flash Tool solves the issue for the moment, but the next time I am trying to update my binary, the same error occurs. Additionally, closing the KinetisFlashTool also resets the device, so starting the KinetisFlashTool again causes the needed reset to update my binary as well. I attached you another two pictures where I first ran into the error and then solved the issue as mentioned.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kinetis tool error 2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25828i2D19BDE1163BBCD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="kinetis tool error 2.png" alt="kinetis tool error 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any further suggestions to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 06:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668013#M41056</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-14T06:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668014#M41057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It seems your porting code missed something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Could you do the debug in your bootloader? then check when the problem happens, where the code is stopping?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 17 Jul 2017 08:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668014#M41057</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-17T08:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668015#M41058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found something really peculiar while debugging the bootloader up to the point where the "mem_is_erased"-Check fails.&lt;BR /&gt;In the function mem_is_erased (memory.c), the bootloader checks whether the flash from the application start address is really erased (all the bits set to 1).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26875iB6F22A2A0DDEDBB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Considering the General Registers, the Memory and instructionswise stepping through the code, the following occured:&lt;/P&gt;&lt;P&gt;in the disassembly at 100059ac, the address is loaded to the r3 register which you can see in the General Registers (lighted yellow in the picture below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26911i91E2BAA41917B740/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in the next step at Disassembly 100059ae the value at the address, stored in r3 should be loaded to the r3 register. This is where the problem occurs. If you take a look at address 1000A000 in the lower section of the picture, you see that the value is FFFFFFFFF... But if I take one step further:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26960i61215F11B3131315/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see that in r3 the value 0x0 is stored. Of course this causes the condition (*start != 0xFF) to be true, ending in the isMemoryErased = false problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally I want to mention that taking a look at the sourcecode at the same time (e.g. with the help of the Variables View), the variable content seems correct, because start = 0x1000a000 and *start = 0xff. Nevertheless the condition is said to be true... (in the below picture, the "Variables View" shows the source code variables at the debug-point in the picture above at isMemoryErased = false;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27009i1826007BDE3F8F90/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.PNG" alt="4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27056iF87318813429EF68/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.PNG" alt="5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make any sense to you?&lt;/P&gt;&lt;P&gt;I already checked the errata-sheet, but there is no similar issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 12:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668015#M41058</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-17T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668016#M41059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your effort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now, check these points:&lt;/P&gt;&lt;P&gt;1. the IDE project optimization&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Select the optimization level to none, and try again.&lt;/P&gt;&lt;P&gt;2. Check the C code address, and start, whether the address is correct. Do it step by step, whether the address will jump to the abnormal area.&lt;/P&gt;&lt;P&gt;3. After build, please check the bootloader code size, make sure it is not exceed to the application address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updated information, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 18 Jul 2017 01:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668016#M41059</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T01:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668017#M41060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;I really appreciate your fast support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compiler optimization was already turned off...&lt;/P&gt;&lt;P&gt;After building the bootloader(debug build), the bootloader codesize is at 37.380 bytes (text-section for application code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-none-eabi-size --format=berkeley "MKV58F1M0VLL24_Bootloader.elf"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp; &amp;nbsp;filename&lt;BR /&gt;&amp;nbsp; 37380&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 364&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 5120&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 42864&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; a770&amp;nbsp;&amp;nbsp; &amp;nbsp;MKV58F1M0VLL24_Bootloader.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By way of comparison, the bootloader codesize of the release build is way smaller because of compiler optimization in size (-Os):&lt;/P&gt;&lt;P&gt;arm-none-eabi-size --format=berkeley "MKV58F1M0VLL24_Bootloader.elf"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp; &amp;nbsp;filename&lt;BR /&gt;&amp;nbsp; 22620&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 356&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 5088&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 28064&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 6da0&amp;nbsp;&amp;nbsp; &amp;nbsp;MKV58F1M0VLL24_Bootloader.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, the Problem occurs in both builds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, this is the MEMORY specification of my &lt;STRONG&gt;bootloader&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; m_itcm&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; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00010000&lt;BR /&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10000400, LENGTH = 0x00000010&lt;BR /&gt;&amp;nbsp; m_text&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; (RX)&amp;nbsp; : ORIGIN = 0x10000410, LENGTH = 0x000FFBF0&lt;BR /&gt;&amp;nbsp; m_data&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; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00020000&lt;BR /&gt;&amp;nbsp; m_ocram&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; (RW)&amp;nbsp; : ORIGIN = 0x2F000000, LENGTH = 0x00010000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is the one for my &lt;STRONG&gt;application&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; m_data&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; (RW)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x0000FC00&lt;BR /&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x1000A000, LENGTH = 0x000003C0&lt;BR /&gt;&amp;nbsp; m_bca&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;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x1000A3C0, LENGTH = 0x00000040&lt;BR /&gt;&amp;nbsp; m_text&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; (RX)&amp;nbsp; : ORIGIN = 0x1000A400, LENGTH = 0x000F5C00&lt;BR /&gt;&amp;nbsp; m_data_2&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; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00020000&lt;BR /&gt;&amp;nbsp; m_data_3&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; (RW)&amp;nbsp; : ORIGIN = 0x2F000000, LENGTH = 0x00010000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, BL_APP_VECTOR_TABLE_ADDRESS is set to 0x1000A000, which suits the address stated in the Kinetis Flash Tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see any further possible problem sources?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668017#M41060</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T07:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668018#M41061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In debug mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Relocate the app address to 0X1000C000, because the generate code size is a770&amp;nbsp;, it is larger than 0XA000.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please modify both bootloader and app address to 0X1000C000, then try agian, and debug, whether the former problem still happens, and also check the mem_is_erased function, whether the address jump still abnormal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&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>Tue, 18 Jul 2017 07:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668018#M41061</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T07:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668019#M41062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adapted the app address to 0x1000F000 to give the bootloader more space than even needed. Sadly this doesn't change anything in the behaviour while updating the application binary...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bootloader Memory specification:&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; m_itcm&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; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00010000&lt;BR /&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10000400, LENGTH = 0x00000010&lt;BR /&gt;&amp;nbsp; m_text&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; (RX)&amp;nbsp; : ORIGIN = 0x10000410, LENGTH = 0x000FFBF0&lt;BR /&gt;&amp;nbsp; m_data&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; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00020000&lt;BR /&gt;&amp;nbsp; m_ocram&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; (RW)&amp;nbsp; : ORIGIN = 0x2F000000, LENGTH = 0x00010000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Memory specification:&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; m_data&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; (RW)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x0000FC00&lt;BR /&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x1000F000, LENGTH = 0x000003C0&lt;BR /&gt;&amp;nbsp; m_bca&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;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x1000F3C0, LENGTH = 0x00000040&lt;BR /&gt;&amp;nbsp; m_text&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; (RX)&amp;nbsp; : ORIGIN = 0x1000F400, LENGTH = 0x000F5C00&lt;BR /&gt;&amp;nbsp; m_data_2&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; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00020000&lt;BR /&gt;&amp;nbsp; m_data_3&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; (RW)&amp;nbsp; : ORIGIN = 0x2F000000, LENGTH = 0x00010000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BL_APP_VECTOR_TABLE_ADDRESS set to 0x1000F000...&lt;/P&gt;&lt;P&gt;Kinetis Flash Tool targer address: 0x1000F000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also checked he mem_is_erased function... the behaviour is still abnormal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:00:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668019#M41062</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T08:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668020#M41063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you debug mem_is_erased , could you check the address, and start in the function mem_is_erased, and give me the step by step, until the problem happens picture?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&amp;nbsp;&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>Tue, 18 Jul 2017 08:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668020#M41063</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T08:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668021#M41064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;these are the step by step screenshots when the error occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26483i95589F277F481F52/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26536i558454C45801A14C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26566iC84EDCE9FAC5D83B/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26609i23E7F3A56A65E5A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.PNG" alt="4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26662i0C057315795A7BE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.PNG" alt="5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26704i41CF013E67E0506B/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.PNG" alt="6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26747i34D4C014F970D9A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="7.PNG" alt="7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26788i350E6B8DA6DB49A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="8.PNG" alt="8.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26829i7A5BEACAEAF8B8E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="9.PNG" alt="9.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="10.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26878i50991EC73EB51060/image-size/large?v=v2&amp;amp;px=999" role="button" title="10.PNG" alt="10.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26913iC9B003D6007CCD5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.PNG" alt="11.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26789iCA7B94617A465328/image-size/large?v=v2&amp;amp;px=999" role="button" title="12.PNG" alt="12.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="13.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26830iDD9FC9DE928AA09A/image-size/large?v=v2&amp;amp;px=999" role="button" title="13.PNG" alt="13.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I would like to mention, that this error doesn't occur after resetting the device and connect it again... Only if I update the binary, connect again to the bootloader and try to update again, the error occurs until I again restart the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:25:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668021#M41064</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668022#M41065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian Schork,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your details!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You said: "Again I would like to mention, that this error doesn't occur after resetting the device and connect it again... &lt;STRONG&gt;Only if I update the binary, connect again to the bootloader and try to update again, the error occurs until I again restart the device.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you mean, you already download an app before, then connect it again, and try to download the new app, it will have problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you download the app, do you try to power off the board, then power on it again, then connect to the kinetisflash Tool, whether this situation have problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 18 Jul 2017 08:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668022#M41065</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T08:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668023#M41066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;picture 12 and picture 13 is really very strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp; start address is 0x1000f000, the data is 0xff, but in the asm, it makes the data as 0.&lt;/P&gt;&lt;P&gt;I also need time to do the consideration.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Could you share your modified bootloader to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 18 Jul 2017 08:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668023#M41066</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T08:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668024#M41067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;you are right. I download the app and after that run the bootloader again and download the app.&lt;/P&gt;&lt;P&gt;Powering on and off also doesn't change anything. If I restart the device then, the error is gone until I repeat the steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668024#M41067</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668025#M41068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my bootloader porting...&lt;/P&gt;&lt;P&gt;Thanks again very much for your support!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668025#M41068</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T08:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668026#M41069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make an other addition:&lt;/P&gt;&lt;P&gt;when I try to update my application and the update fails with the cumulative write error, I can't access my application again (which is what I expect, because it should be erased)... so it should all depend on this strange behaviour of the asm code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kinds regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 09:05:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668026#M41069</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-18T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668027#M41070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any news regarding the flashing-problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:51:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668027#M41070</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-07-25T07:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668028#M41071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Julian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Really so sorry for my later reply because of overloaded before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your question, I need to contact with our according department, so I still need time to give you feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I will work on it ASAP, please wait patiently, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668028#M41071</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-25T08:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668029#M41072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to let you know that I tested an other custom board with the MKV58F1M0VLL24 MCU and the ported bootloader. The flashing-problem occured on the second board with the second MCU as well, so it doesn't seem to be an individual case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any news for me so far?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;Julian Schork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:12:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668029#M41072</guid>
      <dc:creator>SMNJS</dc:creator>
      <dc:date>2017-08-11T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash Tool with an Update image failure (cumulative write)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668030#M41073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your updated information, I think there still have some problem in the software, not the hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now, after discuss this question to my colleagues, could you help to do these test?&lt;/P&gt;&lt;P&gt;1. KDS memory checking, not variable&lt;/P&gt;&lt;P&gt;The following picture is the debug result from your side:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21413i77EDDF47B805DBDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21453iDA20EA84431277E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The same debug position in your picture, check memory, just to make sure the 0X1000F000 is 0XFF or not? Our IDE department also need this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Please try to use the blhost to download the application code&lt;/P&gt;&lt;P&gt;You can find blhost in folder:NXP_Kinetis_Bootloader_2_0_0\bin\Tools\blhost\win&lt;/P&gt;&lt;P&gt;You can refer to document: Kinetis Bootloader Demo Application User's Guide.pdf, page 7, chapter 4 The host utility application.&lt;/P&gt;&lt;P&gt;This document can be found in :NXP_Kinetis_Bootloader_2_0_0\doc&lt;/P&gt;&lt;P&gt;If you use this step by step downloading, whether you have the same question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I don't have the MKV58F1M0VLL24 board, I can't test it directly on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Tue, 15 Aug 2017 08:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-Tool-with-an-Update-image-failure-cumulative-write/m-p/668030#M41073</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-15T08:46:59Z</dc:date>
    </item>
  </channel>
</rss>

