<?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 MKV10Z128 serial bootloader porting in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433787#M25183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello EveryOne&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Custom board with "MKV10Z128" processor. I have taken Reference of&amp;nbsp; freescale Tower board (TWR&amp;nbsp; KV10). This Tower board contains "MKV10Z32" processor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully built bootloader for MKV10Z32 but now as per my requirement i need to update for "MKV10Z128"....&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In serial Bootloader code there is a file "KV10_32KB_pflsh.icf" which i have attached here....&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR 32KB&amp;nbsp; flash and 8KB RAM in "MKV10Z32"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*-Memory Regions-*/&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x0000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = __ICFEDIT_region_ROM_start__ + (32*1024);//********&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; // FOR 32KB flash&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp; = 0x20000000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_start__ = __ICFEDIT_region_RAM_end__ - (8*1024)/4 + 0x410;//********&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FOR 8KB RAM&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified as follows:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOW FOR 128KB Flash and 16KB RAM.... in "MKV10Z128"&lt;/P&gt;&lt;P&gt;/*-Memory Regions-*/&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x0000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = __ICFEDIT_region_ROM_start__ + (128*1024);//********&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FOR 128KB FLASH&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp; = 0x20000000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_start__ = __ICFEDIT_region_RAM_end__ - (16*1024)/4 + 0x410;//********&amp;nbsp; // FOR 16KB RAM&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; "IS there any other changes required&amp;nbsp; for MKV10Z128?"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Waiting for your Inputs&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Harsh&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-337302"&gt;KV10_32KB_Pflash.icf.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 12:05:46 GMT</pubDate>
    <dc:creator>harshpatel</dc:creator>
    <dc:date>2015-10-27T12:05:46Z</dc:date>
    <item>
      <title>MKV10Z128 serial bootloader porting</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433787#M25183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello EveryOne&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have Custom board with "MKV10Z128" processor. I have taken Reference of&amp;nbsp; freescale Tower board (TWR&amp;nbsp; KV10). This Tower board contains "MKV10Z32" processor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully built bootloader for MKV10Z32 but now as per my requirement i need to update for "MKV10Z128"....&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In serial Bootloader code there is a file "KV10_32KB_pflsh.icf" which i have attached here....&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR 32KB&amp;nbsp; flash and 8KB RAM in "MKV10Z32"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*-Memory Regions-*/&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x0000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = __ICFEDIT_region_ROM_start__ + (32*1024);//********&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; // FOR 32KB flash&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp; = 0x20000000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_start__ = __ICFEDIT_region_RAM_end__ - (8*1024)/4 + 0x410;//********&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FOR 8KB RAM&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified as follows:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOW FOR 128KB Flash and 16KB RAM.... in "MKV10Z128"&lt;/P&gt;&lt;P&gt;/*-Memory Regions-*/&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x0000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = __ICFEDIT_region_ROM_start__ + (128*1024);//********&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FOR 128KB FLASH&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp; = 0x20000000;&lt;/P&gt;&lt;P&gt;define symbol __ICFEDIT_region_RAM_start__ = __ICFEDIT_region_RAM_end__ - (16*1024)/4 + 0x410;//********&amp;nbsp; // FOR 16KB RAM&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; "IS there any other changes required&amp;nbsp; for MKV10Z128?"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Waiting for your Inputs&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Harsh&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-337302"&gt;KV10_32KB_Pflash.icf.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 12:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433787#M25183</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2015-10-27T12:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: MKV10Z128 serial bootloader porting</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433788#M25184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harsh Patel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What bootloader are you porting? A custom bootloader?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is always a linker file specific for each device variant, with the corresponding memory sizes. For example the linker file attached is for MKV10Z128xxx7 available from IAR installation. Please try to use that one instead of modifying the linker for the 32 KB KV10.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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, 30 Oct 2015 21:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433788#M25184</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-10-30T21:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: MKV10Z128 serial bootloader porting</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433789#M25185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Greetings of the day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mr. Jorge &lt;/P&gt;&lt;P&gt;thank you for reply&lt;/P&gt;&lt;P&gt;i have tried same linker file but i will gives error... i have inserted some line as per requirement it had solved errors but&amp;nbsp; found other problem...:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET i repeat my issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I required bootloader for &lt;STRONG&gt;MKV10Z128&lt;/STRONG&gt;&amp;nbsp; and i am taking reference of&amp;nbsp; bootloader code of &lt;STRONG&gt;MKV10Z32(TWR-KV10).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using UART_bootloader_demo code for MKV10Z32(TWR-KV10).&amp;nbsp; Which is available at&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/sps/download/preDownload.jsp" title="https://www.freescale.com/webapp/sps/download/preDownload.jsp"&gt;https://www.freescale.com/webapp/sps/download/preDownload.jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made following changed&amp;nbsp; in default code of MKV10Z32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1] changed target CPU&amp;nbsp;&amp;nbsp; (MKV10Z32 --&amp;gt; &lt;STRONG&gt;MKVZ128&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;2] chnaged hearder files..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a]&amp;nbsp; MKV10Z7.h&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MKV11Z7&lt;/STRONG&gt; .h&amp;nbsp;&amp;nbsp;&amp;nbsp; //because MKV10Z128 belong to KV11 family&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b] system_MKV10Z7.h&amp;nbsp; --&amp;gt; &lt;STRONG&gt;system_MKV11Z7.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3] changed linker file which i got from IAR setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that it will build successful but when i going to flash and debug i got warning and program is stopped working. ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"WARNING: Stack pointer is setup to incorrect alignment.&amp;nbsp; Stack address = 0xffffffff"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please give me a solution to fix this problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your inputs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 11:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433789#M25185</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2015-11-02T11:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: MKV10Z128 serial bootloader porting</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433790#M25186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather using serial boot loader, we should use KBOOT. it is very powerful boot loader. Take reference of KV11 for KV10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 11:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKV10Z128-serial-bootloader-porting/m-p/433790#M25186</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2017-02-15T11:07:09Z</dc:date>
    </item>
  </channel>
</rss>

