<?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中的主题 Re: Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705900#M548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I have already created a blink project to download but it still cant work&lt;/P&gt;&lt;P&gt;The bootloader project I have attached in the question.&lt;/P&gt;&lt;P&gt;Can you check what's wrong in my bootloader code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 10:27:47 GMT</pubDate>
    <dc:creator>huyrua291996</dc:creator>
    <dc:date>2017-09-18T10:27:47Z</dc:date>
    <item>
      <title>Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705898#M546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to use bootloader as AN4767 in my processor MKE02Z16VLC4 (40MHz)&lt;/P&gt;&lt;P&gt;After program bootloader to my processor, I use&amp;nbsp;win_hc08sprg.exe to flash Blink app to my processor&lt;/P&gt;&lt;P&gt;and I get the result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="194148_194148.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123161iA450AD49E639F8ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="194148_194148.PNG" alt="194148_194148.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29615i14EA774ABE185F7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After that, I use S-recoder tool to convert source address range of my Blink.srec, i get a new result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="194149_194149.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123162i6B77B6E61570BD04/image-size/large?v=v2&amp;amp;px=999" role="button" title="194149_194149.PNG" alt="194149_194149.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29643i5126689748AF1834/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So it still not work. How should I do now&lt;/P&gt;&lt;P&gt;My project is written by Codewarrior&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339204"&gt;Blink.srec.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339204"&gt;Bootloader.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2017 07:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705898#M546</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-16T07:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705899#M547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;I recommend you first creating a simple&amp;nbsp; project&amp;nbsp; to download, if still can't work,&lt;/P&gt;&lt;P&gt;please send your application project to me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705899#M547</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-18T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705900#M548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I have already created a blink project to download but it still cant work&lt;/P&gt;&lt;P&gt;The bootloader project I have attached in the question.&lt;/P&gt;&lt;P&gt;Can you check what's wrong in my bootloader code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705900#M548</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-18T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705901#M549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huy,&lt;/P&gt;&lt;P&gt;Please pay attention that, the flash size of your chip MKE02Z16VLC4 is 16K 0x0000 - 0x3FFF,&lt;/P&gt;&lt;P&gt;so you can't put the new vector table(APP vector ) into 0x4000 .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/30133i0620185769AEB3E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also please refer to AN4767-&amp;gt;2.4 User code to configure your APP.&lt;/P&gt;&lt;P&gt;If still have problem, I recommend you open the bootloader GUI win_hc08sprg(it under AN2295 ) project to debug ,&lt;/P&gt;&lt;P&gt;the information from GUI view can find in the GUI project source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&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;TIC&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, 19 Sep 2017 08:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705901#M549</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-19T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705902#M550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I've changed in FC_Protocol.h and I also change the linker file in my application code&lt;/P&gt;&lt;P&gt;Can you review for me both project in CW&lt;/P&gt;&lt;P&gt;I also use AN2295 GUI and it 's seem wrong&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29226i8B5293FC472DCFE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.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="Capture1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29308i469712045E0A8F81/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's wrong in Memory Block. In the Identification it's Block 1 and when erase and write it's Block 0&lt;/P&gt;&lt;P&gt;What should I do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705902#M550</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-19T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705903#M551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Huy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't the board about your chip, so I can't debug it on my side.&lt;/P&gt;&lt;P&gt;From the message , it seems erasing failed, please set a breakpoint in your erasing code,&lt;/P&gt;&lt;P&gt;then click "Erase" button, when it run to breakpiont, debug step by step check whether it erased&lt;/P&gt;&lt;P&gt;successfully , or why it failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705903#M551</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-20T06:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705904#M552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I set breakpoint in the code that contain ERASE code and use the GUI to debug. In the first press button Erase in the app, it doesnt break. But the second time it breaks. So may be it wrong with my UART code, can you review for me.&lt;/P&gt;&lt;P&gt;And can you also send me an bootloader code that it works well on KE02Z board. I can also compare to my code. My email is &lt;A href="mailto:huyrua291996@gmail.com"&gt;huyrua291996@gmail.com&lt;/A&gt;. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 07:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705904#M552</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-20T07:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705905#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The AN4767 sw is the bootloader for FRDM-KE02. You can refer to the Reference manual of your chip&lt;/P&gt;&lt;P&gt;to change the bootloader. Sorry I haven't the bootloader for this chip.&lt;/P&gt;&lt;P&gt;When it break, then what happened ? When it run to erase code, check whether&amp;nbsp; it can erase successful.&lt;/P&gt;&lt;P&gt;You can check the UART data to see whether your UART code is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 06:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705905#M553</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-21T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705906#M554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get a FRDM-KE02 board. But the AN4767sw is code for IAR&lt;/P&gt;&lt;P&gt;Can you give me source code for CW or KDS&lt;/P&gt;&lt;P&gt;And I have an issue about my UART, I set interrupt mode and I set only UART_C2_RIE_MASK, and it work right with another project. Can you give me some advice about it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705906#M554</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-21T08:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705907#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I've fixed some mistake about my UART and when I debug, the address, length and the data is right.&lt;/P&gt;&lt;P&gt;But after Flash_EraseSector, I got the problem&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2017-09-25.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32614i123AF517EB97DD42/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-09-25.png" alt="2017-09-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I dont know why this error is occurred. The Flash_EraseSector function work fine in my simple project (only write 'a' in address 0x00001410).&lt;/P&gt;&lt;P&gt;Can you help me. My code write for KE02 40MHz and can you use FRDM-KE02 (40MHz) debug for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 15:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705907#M555</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-09-25T15:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705908#M556</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;Please step into Flash_EraseSector to check when run which code, it crash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 02:30:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705908#M556</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-10-24T02:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705909#M557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for my late reply, I tried to debug and fixed this problem. Just because of&amp;nbsp; some mistakes in uart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 11:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader/m-p/705909#M557</guid>
      <dc:creator>huyrua291996</dc:creator>
      <dc:date>2017-11-28T11:24:46Z</dc:date>
    </item>
  </channel>
</rss>

