<?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 Re: 64k flash programming in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484922#M29751</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;BR /&gt;What development SW are you using? Have you created a new project or are you using an example? How do you know that the memory that you can program is only 32 Kb?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 21:19:25 GMT</pubDate>
    <dc:creator>santiago_gonzal</dc:creator>
    <dc:date>2016-02-24T21:19:25Z</dc:date>
    <item>
      <title>64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484921#M29750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;Hi, &lt;/P&gt;&lt;P style="direction: ltr;"&gt;I got thr MKL16Z64VFT, that is a 64K flash. On the chip itself I read M16M6VFT.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Using the development SW, I can program only 32K of program.&lt;/P&gt;&lt;P style="direction: ltr;"&gt;What am I doing wrong?&lt;/P&gt;&lt;P style="direction: ltr;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484921#M29750</guid>
      <dc:creator>namirnehemia</dc:creator>
      <dc:date>2016-02-24T13:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484922#M29751</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;BR /&gt;What development SW are you using? Have you created a new project or are you using an example? How do you know that the memory that you can program is only 32 Kb?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 21:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484922#M29751</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-24T21:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484923#M29752</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 will answer instead of Nehemia, I am using eclipse Codewarrior 10.6. I created a new project with my controller &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worket perfectly until I go over 32KB code size , when I delete some code to be under 32K it worked again. I verifed that the text section is 64K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached picture with configuration of the CPU include the text section( it is default ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also , When I program more than 32K if fall on PE_ISR(Cpu_Interrupt) from function __copy_rom_sections_to_ram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484923#M29752</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-02-25T06:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484924#M29753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give more details about what do you mean by "Stop working"? Where does it exactly fails? Give as much details as possible so we can try to figure out what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you can share the project that would be helpful also.&lt;/P&gt;&lt;P&gt;- Try to enumerate when it fails and why it fails (Compiling? Linking? Programming? Debugging?)&lt;/P&gt;&lt;P&gt;- Try to explain everything with screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484924#M29753</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-25T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484925#M29754</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 checked a it and it handles very wierd, I wrote code for EEPROM I2C and it worked , but after I go over 32K this code stops running and throws Hard Fault ( I can see it in debugging step )&lt;/P&gt;&lt;P&gt;The problem is the SendBlock function, when I remove it the code is running ( same behavior with sendChar).&lt;/P&gt;&lt;P&gt;My code is very simple: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;CI2C1_Enable();&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// set address&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;res += CI2C1_SelectSlave(0x50);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;res = CI2C1_SendChar(buffer);//setting read address&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my I2C settings ( I tried with/without Interrupt) &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/55210iA4A75C67924F06BB/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;&lt;/P&gt;&lt;P&gt;do you have any suggestions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 09:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484925#M29754</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-02-28T09:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484926#M29755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I think you should follow the code to check which code in SendBlock function caused the hard fault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please follow this post to check out which line cause the CPU enter in the hard fault.&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" title="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;Debugging Hard Faults on ARM Cortex-M | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you find the detail code, please give us the picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you still not OK, please upload your project directly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 02:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484926#M29755</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-02-29T02:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484927#M29756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Jingjing says, I think your problem has nothing to do with the size of the code. If you can program it, the issue is not the size of the binary. Maybe you're running out of RAM memory or you're having other type of problem, but I doubt the issue is the size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should analyze the flow of the code and try to understand what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 08:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484927#M29756</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-29T08:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484928#M29757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Santiago &amp;amp; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Jingjing,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I added the Hard Fault handler it it seems to break in __copy_rom_section function , I tried to remove some data and still the same. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Some Questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;1. my m_data(RAM) section start in 1FFFF800 address and has length of 0x2000 , is it correct ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. I tried to move to SysV and get the next data:&lt;/P&gt;&lt;P&gt;section&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; size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addr&lt;/P&gt;&lt;P&gt;.interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xc0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.cfmprotect&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x400&lt;/P&gt;&lt;P&gt;.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;&amp;nbsp; 0x7c1c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x410&lt;/P&gt;&lt;P&gt;.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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x20&amp;nbsp;&amp;nbsp; 0x1ffff800&lt;/P&gt;&lt;P&gt;.bss&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;&amp;nbsp;&amp;nbsp; 0x2cc&amp;nbsp;&amp;nbsp; 0x1ffff820&lt;/P&gt;&lt;P&gt;.romp&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;&amp;nbsp;&amp;nbsp; 0x18&amp;nbsp;&amp;nbsp; 0x1ffffaec&lt;/P&gt;&lt;P&gt;._user_heap_stack&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x200&amp;nbsp;&amp;nbsp; 0x1ffffb04&lt;/P&gt;&lt;P&gt;.ARM.attributes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xbbc3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_abbrev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2e33&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_loc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x3316&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_aranges&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xbd8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_macinfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x7e0687&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_line&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xad57&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_str&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4756&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.comment&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; 0x79&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;.debug_frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1fd8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;Total&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; 0x80c68a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I understand something from here? because my calcluation it should be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't understand how I got RAM full , Any Ideas?&lt;/P&gt;&lt;P&gt;if you have a way to check the occupied RAM I will be glad to hear it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 15:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484928#M29757</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-01T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484929#M29758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything seems correct, the RAM is defined correctly. The Kinetis KL16 has 2 blocks of RAM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- RAM_L: From 0x1FFF_F800 to 0x1FFF_FFFF. 2kB&lt;/P&gt;&lt;P&gt;- RAM_H: From 0x2000_0000 to 0x2000_1800. 6 kB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what's going on, and without debugging it, is difficult to guess it.&lt;/P&gt;&lt;P&gt;What do you change to make it crash? Can you share your code?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484929#M29758</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-03-01T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484930#M29759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I add another line with WAIT component and it crashes, I can send it only to you.&lt;/P&gt;&lt;P&gt;How to send it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to check how much RAM is left ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484930#M29759</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-01T18:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484931#M29760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; David R,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please follow this picture, and printf the project size information:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="19.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55623iFCBA448A6FFA4B53/image-size/large?v=v2&amp;amp;px=999" role="button" title="19.jpg" alt="19.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then give me your project size information picture , data+bss will use the RAM size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should better give us your project, then we can help you to check it whether it is caused by the copy to ram function or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; After we get your project, you can delete the attachment.&lt;/P&gt;&lt;P&gt;&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;Jingjing&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, 02 Mar 2016 02:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484931#M29760</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-02T02:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484932#M29761</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 really appriciate your help!! thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the print of the size is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:/Freescale/CW MCU v10.6/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-size"&amp;nbsp; --format=berkeley -x -t Me4_Base.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp; text&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hex filename&lt;/P&gt;&lt;P&gt;0x7cec&amp;nbsp; 0x38&amp;nbsp; 0x4cc&amp;nbsp; 33264&amp;nbsp; 81f0 Me4_Base.elf&lt;/P&gt;&lt;P&gt;0x7cec&amp;nbsp; 0x38&amp;nbsp; 0x4cc&amp;nbsp; 33264&amp;nbsp; 81f0 (TOTALS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the project in here and I will send you the password in email , give me your work email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 09:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484932#M29761</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-02T09:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484933#M29762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David R,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Our workflow is supporting the customer through the community with the post, the email is confidential.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now, please follow me at first, and send me your password in the community message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 01:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484933#M29762</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-03T01:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484934#M29763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David R,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please use the optimize to do the code optimization, then try again, I use it, then the code won't enter the interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="21.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56118i0BF36D062B4AED82/image-size/large?v=v2&amp;amp;px=999" role="button" title="21.jpg" alt="21.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can choose the optimize level to 3, then try again on your side.&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;Jingjing&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>Thu, 03 Mar 2016 09:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484934#M29763</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-03T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484935#M29764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ,&lt;/P&gt;&lt;P&gt;I don't to optimize because it is hard to debug the code , I tried to change the TSS component to GPIO method and it got better but adding some code give the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that there is something with the TSS library , can you check it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 09:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484935#M29764</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-03T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484936#M29765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Ok, I will continue to help you check it, but it may need time, after I find the root problem, I will tell you immediately, so please wait patiently!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 10:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484936#M29765</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-03T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484937#M29766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks again for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 10:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484937#M29766</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-03T10:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484938#M29767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David R,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I already find the root problem, it is really very difficult to find it if you don't give us the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your problem is not caused by the chip hardware, also not the code itself, it is caused by the debug configuration in the codewarrior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You select the KL16Z32M4 not the KL16Z64M4, then the debug will use the 32K to debug your code, after your code larger than 32K, it will have problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp; This picture is from your debug configration: run-&amp;gt;debug configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56403iBF17AE2B98085985/image-size/large?v=v2&amp;amp;px=999" role="button" title="23.jpg" alt="23.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please modify it to MKL1664M4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56432iBA3FFE1EA612E5B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="24.jpg" alt="24.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you modify it, then click ok, and debug, your problem will disappear!&lt;/P&gt;&lt;P&gt;&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 contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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, 04 Mar 2016 05:58:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484938#M29767</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-04T05:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484939#M29768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David R,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you solve your problem after follow my steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any other question else?&lt;/P&gt;&lt;P&gt;&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;Jingjing&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, 07 Mar 2016 06:09:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484939#M29768</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-07T06:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: 64k flash programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484940#M29769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Sorry for the delay, Just wanted to thank you ! it was very helpfull and you solved my problem.&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/64k-flash-programming/m-p/484940#M29769</guid>
      <dc:creator>davidra7</dc:creator>
      <dc:date>2016-03-16T08:21:15Z</dc:date>
    </item>
  </channel>
</rss>

