<?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>MCU Bootloader中的主题 Kinetis Bootloader flashing problems</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-flashing-problems/m-p/701765#M523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with flash resident bootloader for MK66F MCU family on custom made board. I have encountered the problem when i want to flash the bootloader to the board over the programmer, currently i'm using Segger J-link Base programmer. When i run bootloader over debugger everything works fine. But once i stop the debugger and i reset my board it starts to&amp;nbsp; behaves like the bootlader is not flashed properly on the board. I then try to connect to the board and read the memory with the Segger Jmem app and it gives me the next window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26866iE49CEFB06AD88494/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled2.jpg" alt="Untitled2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It doesn't allow me to read the memory.&lt;/P&gt;&lt;P&gt;When i flash any other program that i made, it works without any problem. I debug it, reset it and it works fine. I don't know what could be the problem here? Is it some bug in the KBOOT v.2 release or something else? If someone can help me to solve this issue i would be really grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Aug 2017 17:38:25 GMT</pubDate>
    <dc:creator>trayche</dc:creator>
    <dc:date>2017-08-18T17:38:25Z</dc:date>
    <item>
      <title>Kinetis Bootloader flashing problems</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-flashing-problems/m-p/701765#M523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with flash resident bootloader for MK66F MCU family on custom made board. I have encountered the problem when i want to flash the bootloader to the board over the programmer, currently i'm using Segger J-link Base programmer. When i run bootloader over debugger everything works fine. But once i stop the debugger and i reset my board it starts to&amp;nbsp; behaves like the bootlader is not flashed properly on the board. I then try to connect to the board and read the memory with the Segger Jmem app and it gives me the next window:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26866iE49CEFB06AD88494/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled2.jpg" alt="Untitled2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It doesn't allow me to read the memory.&lt;/P&gt;&lt;P&gt;When i flash any other program that i made, it works without any problem. I debug it, reset it and it works fine. I don't know what could be the problem here? Is it some bug in the KBOOT v.2 release or something else? If someone can help me to solve this issue i would be really grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 17:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-flashing-problems/m-p/701765#M523</guid>
      <dc:creator>trayche</dc:creator>
      <dc:date>2017-08-18T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader flashing problems</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-flashing-problems/m-p/701766#M524</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;I just want to update this post. I have solved the problem i had, it wasn't about flashing it was a problem with the startup file. The .data and .bss section don't properly initialize. I just removed the initialization files startup.c and crt0_gcc.S and modified startup_MK66F18.S file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="startup.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26790iC12A59947C188E02/image-size/large?v=v2&amp;amp;px=999" role="button" title="startup.jpg" alt="startup.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope someone find this helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2017 11:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-Bootloader-flashing-problems/m-p/701766#M524</guid>
      <dc:creator>trayche</dc:creator>
      <dc:date>2017-08-20T11:37:26Z</dc:date>
    </item>
  </channel>
</rss>

