<?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:  .ICF(IAR) Changes Flash bootloader</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639393#M38656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalidass B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Some other considerations:&lt;/P&gt;&lt;P&gt;1.When the icf is not match with your chip flash size, there also have the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, please check you chip's flash address range, is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please find an official IAR sample code for your chip, and whether use the official code have problem on your side?&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. Did you use the correct head file?&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can tell me the part number of your chip , I will help you to find a sample code.&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>Wed, 19 Oct 2016 06:52:44 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-10-19T06:52:44Z</dc:date>
    <item>
      <title>.ICF(IAR) Changes Flash bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639390#M38653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm using Freescale controller for bootloader design when i'm running in ram debug mode flash is writing&amp;nbsp;but when i'm&amp;nbsp;selecting&amp;nbsp;flash.icf&amp;nbsp;through IAR execute flash write command sequence MCU getting reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not changed any .ICF boot location, whether it is need to change start location?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define symbol __ram_vector_table_size__ = isdefinedsymbol(__flash_vector_table__) ? 0 : 0x00000400;&lt;BR /&gt;define symbol __ram_vector_table_offset__ = isdefinedsymbol(__flash_vector_table__) ? 0 : 0x000003FF;&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_start = 0x00000000;&lt;BR /&gt;define symbol m_interrupts_end = 0x000003FF;&lt;/P&gt;&lt;P&gt;define symbol m_flash_config_start = 0x00000400;&lt;BR /&gt;define symbol m_flash_config_end = 0x0000040F;&lt;/P&gt;&lt;P&gt;define symbol m_text_start = 0x00000410;&lt;BR /&gt;define symbol m_text_end = 0x0007FFFF;&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_ram_start = 0x1FFF8000;&lt;BR /&gt;define symbol m_interrupts_ram_end = 0x1FFF8000 + __ram_vector_table_offset__;&lt;/P&gt;&lt;P&gt;define symbol m_data_start = m_interrupts_ram_start + __ram_vector_table_size__;&lt;BR /&gt;define symbol m_data_end = 0x1FFFFFFF;&lt;/P&gt;&lt;P&gt;define symbol m_data_2_start = 0x20000000;&lt;BR /&gt;define symbol m_data_2_end = 0x20006FFF;&lt;/P&gt;&lt;P&gt;/* Sizes */&lt;BR /&gt;if (isdefinedsymbol(__stack_size__)) {&lt;BR /&gt; define symbol __size_cstack__ = __stack_size__;&lt;BR /&gt;} else {&lt;BR /&gt; define symbol __size_cstack__ = 0x0400;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (isdefinedsymbol(__heap_size__)) {&lt;BR /&gt; define symbol __size_heap__ = __heap_size__;&lt;BR /&gt;} else {&lt;BR /&gt; define symbol __size_heap__ = 0x0400;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 03:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639390#M38653</guid>
      <dc:creator>kalidassb</dc:creator>
      <dc:date>2016-10-17T03:30:05Z</dc:date>
    </item>
    <item>
      <title>Re:  .ICF(IAR) Changes Flash bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639391#M38654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalidass B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When you do the flash operation in the kinetis chip, you should pay attention to these points:&lt;/P&gt;&lt;P&gt;1. Copy the flash launch command in the RAM instead of the flash.&lt;/P&gt;&lt;P&gt;2. Before do the flash operation, please disable the global interrupt at first, after the flash operation is finished, then you can enable the global interrupt again.&lt;/P&gt;&lt;P&gt;More details, you can refer to the KBOOT sample code from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?code=KBOOT&amp;amp;nodeId=0150522FC898C93521&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?code=KBOOT&amp;amp;nodeId=0150522FC898C93521&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;Kinetis Bootloader|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Kerry&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 Oct 2016 08:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639391#M38654</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-10-17T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re:  .ICF(IAR) Changes Flash bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639392#M38655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I was tested with same points earlier even though still MCU is reseting when initialise the flash.&lt;/P&gt;&lt;P&gt;any other consideration i have follow please suggest me.&lt;/P&gt;&lt;P&gt;1.flash commands are copied &amp;nbsp;to ram location&lt;/P&gt;&lt;P&gt;2.interrupt enable and disable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select the flash .Icf for debug the hard fault handler&amp;nbsp;issue is getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kalidass&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 10:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639392#M38655</guid>
      <dc:creator>kalidassb</dc:creator>
      <dc:date>2016-10-17T10:48:52Z</dc:date>
    </item>
    <item>
      <title>Re:  .ICF(IAR) Changes Flash bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639393#M38656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalidass B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Some other considerations:&lt;/P&gt;&lt;P&gt;1.When the icf is not match with your chip flash size, there also have the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, please check you chip's flash address range, is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please find an official IAR sample code for your chip, and whether use the official code have problem on your side?&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. Did you use the correct head file?&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can tell me the part number of your chip , I will help you to find a sample code.&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>Wed, 19 Oct 2016 06:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ICF-IAR-Changes-Flash-bootloader/m-p/639393#M38656</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-10-19T06:52:44Z</dc:date>
    </item>
  </channel>
</rss>

