<?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: K60 USB MSC host bootloader - Download size exceeded?? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195372#M2575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx a lot&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try the same thing with my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-KP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 12:05:13 GMT</pubDate>
    <dc:creator>kp2309</dc:creator>
    <dc:date>2012-01-30T12:05:13Z</dc:date>
    <item>
      <title>K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195365#M2568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I'm having a go at putting the USB mass storage bootloader (as documented in AN4368) into my K60 tower kit.&amp;nbsp; I followed the instructions provided, built the "kinetis_k60" project successfully, generating a kinetis_k60.afx file (350KB or so).&amp;nbsp; I then defined the debug configuration, saved it, and launched it.&amp;nbsp; After (yet another) OSJTAG firmware upgrade, it began to load the project... and bombed out.&amp;nbsp; Message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Launching debug_bootloader' has encountered a problem.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failed to resume target process., Download size limit has been exceeded.&amp;nbsp; Please check your license.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say what?&amp;nbsp; This is a bootloader, probably the smallest piece of code you can cram in there.&amp;nbsp; So I check my license, and my dongle-locked CW Basic license is good for another 291 days.&amp;nbsp; With a Basic license, I can download up to 512KB.&amp;nbsp; So somehow, the IDE thinks I'm downloading more than that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone run into this?&amp;nbsp; What am I doing wrong here, exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 09:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195365#M2568</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2012-01-06T09:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195366#M2569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that something's happened to your license and the tools think you're running the special edition, which has a much smaller code size limit. I can send you a temporary license to your registered e-mail address and if that clears the problem, then something's gone wrong with your license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 21:18:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195366#M2569</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-01-06T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195367#M2570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't appear anything is wrong with the license.&amp;nbsp; Here is what CW 10.1 reports:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Detail information for product "MCU" version "10.1.13"&lt;BR /&gt;status: "License expiring in 290 day(s)."&lt;BR /&gt;License model: "class com.freescale.core.ide.license.flexlm.FlexlmActivate11"&lt;BR /&gt;Contact Email: licensing@freescale.com&lt;BR /&gt;Register URL: &lt;A href="http://www.freescale.com/cwregister" rel="nofollow" target="_blank"&gt;http://www.freescale.com/cwregister&lt;/A&gt;&lt;BR /&gt;Purchase URL: &lt;A href="http://www.freescale.com/cwmcu10" rel="nofollow" target="_blank"&gt;http://www.freescale.com/cwmcu10&lt;/A&gt;&lt;BR /&gt;FlexLM Eval Period: 15 day(s)&lt;BR /&gt;GTL Server: gtlsrvr.metrowerks.com&lt;BR /&gt;GTL Port: 80 (8,080)&lt;BR /&gt;Wants Host ID: true&lt;BR /&gt;License file path: C:\Freescale\CW_MCU_v10.1\MCU\license.dat&lt;BR /&gt;flexlmFileLocator: null&lt;BR /&gt;flexlmFile: ${MCU_TOOLS_HOME}/license.dat&lt;BR /&gt;License file URL: file:/C:/Freescale/CW_MCU_v10.1/eclipse/../MCU/license.dat&lt;BR /&gt;Error String:&lt;BR /&gt;Feature Keys:&lt;BR /&gt;FEATURE BasicEditionMCU 10.0, status : 290 day(s)&lt;BR /&gt;Alternate Keys:&lt;BR /&gt;(no keys)&lt;BR /&gt;LM_PATH=null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's recognizing I have the BasicEdition, which has a 512K limit.&amp;nbsp; But c'mon, this is a bootloader, it should fit in the 128K limit anyway.&amp;nbsp; Exactly what criteria does the tool use to determine whether a particular image has fallen outside the predetermined limits?&amp;nbsp; What should I be looking for in the MAP file?&amp;nbsp; (attached)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 23:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195367#M2570</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2012-01-06T23:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195368#M2571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No help?&amp;nbsp; Time to file a support ticket, then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 03:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195368#M2571</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2012-01-20T03:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195369#M2572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey drogers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m facing the same problem&lt;/P&gt;&lt;P&gt;Is it resolved? If yes can you share the solution please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-KP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 16:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195369#M2572</guid>
      <dc:creator>kp2309</dc:creator>
      <dc:date>2012-01-23T16:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195370#M2573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not yet, no; the Freescale support person who answered my ticket sent me a walkthrough video of how to debug the bootloader, which contained no surprises, and he also sent me a temporary Pro license key, which did allow me to launch the debugger on my end.&amp;nbsp; I let him know this and asked why I have a license issue in the first place.&amp;nbsp; I mean, the Kinetis chip on the Tower Kit is a 512K part; a Basic license has a limit of 512K.&amp;nbsp; How can I possibly be over that limit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, I'll keep you posted on what I find out; watch this space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(And for those suggesting "Well, maybe CW isn't recognizing your basic license" - it does, it sees that I have 280 days left, and it identifies the license as Basic level.&amp;nbsp; If my license were invalid, CW would have stopped working a couple of months ago.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 23:29:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195370#M2573</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2012-01-23T23:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195371#M2574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved.&amp;nbsp; From Freescale Support:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;We found the cause of the issue, here is the explanation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The problem is not with the code size limit, but with the C++ generated code. The basic license does not allow downloading C++ code.&amp;nbsp; The code was compiled with “Enable Exceptions” option (Tool Settings / ARM Compiler / Language) and this option generates some C++ code (There is no license check in the compiler to prevent this).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution would be to rebuild the project without “Enable Exceptions”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do so you need to go to project properties, then uncheck this option in the compiler language section.&amp;nbsp; Refer to attached image.&amp;nbsp; &lt;EM&gt;[attached]&lt;/EM&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, there you go.&amp;nbsp; Had nothing to do with code size, had everything to do with exceptions inadvertently generating C++ code.&amp;nbsp; Bet you wouldn't have found that in a million years.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 23:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195371#M2574</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2012-01-27T23:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: K60 USB MSC host bootloader - Download size exceeded??</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195372#M2575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx a lot&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try the same thing with my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-KP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-USB-MSC-host-bootloader-Download-size-exceeded/m-p/195372#M2575</guid>
      <dc:creator>kp2309</dc:creator>
      <dc:date>2012-01-30T12:05:13Z</dc:date>
    </item>
  </channel>
</rss>

