<?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: LPC51U68 USB Boot problem with firmware.bin in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916143#M4069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christian,&lt;/P&gt;&lt;P&gt;How about the method &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="290358" data-username="converse" href="https://community.nxp.com/people/converse"&gt;Con Verse&lt;/A&gt;&lt;/SPAN&gt; mentioned?&lt;/P&gt;&lt;P&gt;If it even can't enter into ISP mode, I think maybe your chip broken.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 08:26:46 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-08-05T08:26:46Z</dc:date>
    <item>
      <title>LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916137#M4063</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;I am designing a board around LPC51U68. When I put the chip in MSC USB ISP I can see the device on my PC and I can see the firmware.bin file on it. So far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that the size of the firmware.bin file on the device is 260KB. I also noticed a bit too late that the bin file I generated from MCUXpresso IDE (using the Create binary on the project axf file), only was about 7KB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I deleted the firmware.bin file on the device (LPC51U68) and I renamed my smaller bin file to firmeware.bin and copied it to the device(LPC51U68).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I proceeded to set the chip to boot from flash to see if my application software did what I wanted, it did not so I needed to create a new version. But when I switched back to MSC USB ISP, the device will no longer show up on my PC at all. Is the chip bricked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need some clarification on how to generate the correct bin file (from MCUXpresso IDE?) and how to recover from a corrupted firmware.bin file on the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Christian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jul 2019 12:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916137#M4063</guid>
      <dc:creator>christian_gross</dc:creator>
      <dc:date>2019-07-28T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916138#M4064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to add code for USB in my application to make the MSC USB ISP boot process work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jul 2019 13:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916138#M4064</guid>
      <dc:creator>christian_gross</dc:creator>
      <dc:date>2019-07-28T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916139#M4065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;STRONG class=""&gt;&lt;SPAN class=""&gt;Christian Grosse&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;- In normal way, after copy .bin file into device, just re-power board, it can work well, I test on my side.&lt;/P&gt;&lt;P&gt;- "how to generate the correct bin file (from MCUXpresso IDE?)"&lt;/P&gt;&lt;P&gt;-&amp;gt; Config Debug Console to "UART console", build, then refer to the below screenshot to generate .bin file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86932iAA413AC0FB105DDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.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="pastedImage_14.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86935i95A596D3D4ACBF20/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_14.png" alt="pastedImage_14.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-" How to recover from a corrupted firmware.bin file on the chip."&lt;/P&gt;&lt;P&gt;-&amp;gt; Do you mean your chip now can't run into USB Mass storage mode ? Can't show "CRP DISABLD" device?&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, 30 Jul 2019 05:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916139#M4065</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-07-30T05:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916140#M4066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I no longer get "CRP DISABLD" device on my PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I built my project in MCUXpresso IDE, I did not Configure Debug Console to "UART console".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application size was only 7k, while the firmware-bin on device was 260k. Do I need to add code to my application to make USB MSC BOOT work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:02:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916140#M4066</guid>
      <dc:creator>christian_gross</dc:creator>
      <dc:date>2019-07-30T17:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916141#M4067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not add any code to make USB boot work - it is embedded i the on-chip ROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you may need to regain debug access - see&amp;nbsp;&lt;A href="https://community.nxp.com/thread/389112"&gt;https://community.nxp.com/thread/389112&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 07:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916141#M4067</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-07-31T07:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916142#M4068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My board is very simple at the moment, I only have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*)Pwr, GND&lt;BR /&gt;*)USB&lt;BR /&gt;*)UART to FTDI USB (PIO0_0 and PIO0_1) &lt;BR /&gt;*)Jumpers for ISP Boot pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only use internal clocks on chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My board will boot up and show the CRP DISABLD device on my PC (when I boot from USB/MSC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the hello world example in the LPC51U68 SDK, and I changed SDK Debug consle to UART console. I downloaded the app, and set the MCU to boot from flash. I did not get any printouts on the UART (I use TeraTerm on PC setup according to NXP guide with FTDI TTL-232R cable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then when I switch back to boot from USB it will no longer show the CRP DISABLD device. The hello world example is really small so I am not sure what I am doing wrong. As long as the hello world uses internal clocks then there should be no problems with my board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char ch;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Init board hardware. */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* attach 12 MHz clock to FLEXCOMM0 (debug console) */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitPins();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_BootClockFROHF48M();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRINTF("hello world.\r\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ch = GETCHAR();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUTCHAR(ch);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in conclusion I have two problems:&lt;BR /&gt;1) USB Device no longer shows up after change of firmware.&lt;BR /&gt;2) No printouts on the UART to FTDI USB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 01:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916142#M4068</guid>
      <dc:creator>christian_gross</dc:creator>
      <dc:date>2019-08-01T01:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916143#M4069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christian,&lt;/P&gt;&lt;P&gt;How about the method &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="290358" data-username="converse" href="https://community.nxp.com/people/converse"&gt;Con Verse&lt;/A&gt;&lt;/SPAN&gt; mentioned?&lt;/P&gt;&lt;P&gt;If it even can't enter into ISP mode, I think maybe your chip broken.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 08:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916143#M4069</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-08-05T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 USB Boot problem with firmware.bin</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916144#M4070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to solve the problem, it was related to the boot pins not beeing correctly grounded, and was read as "one" and not "zero".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2019 16:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC51U68-USB-Boot-problem-with-firmware-bin/m-p/916144#M4070</guid>
      <dc:creator>christian_gross</dc:creator>
      <dc:date>2019-08-10T16:31:48Z</dc:date>
    </item>
  </channel>
</rss>

