<?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>LPC MicrocontrollersのトピックRe: Boot from USB help</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541306#M12259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jb111 on Mon Dec 14 20:47:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a custom board with control of the ISP entry pin and the nRESET pin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried both the mass erase of internal flash and booting from ISP mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do the mass erase, reset and plug in the USB (or have the cable connected the whole time), there is still no enumeration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can enter ISP mode and program the device with Flash Magic over UART0, and the downloaded program run correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Programming over UART0 works with the boot pins jumpered for USB0 boot mode. Does this imply that there is a problem with the&amp;nbsp; boot pins and are in fact not at the correct levels? Following the flow diagram in the User Manuel (ch 4 - Fig 10 -Boot process flowchart for LPC18xx parts with flash) seems to imply this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for any help provided,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:25:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:25:32Z</dc:date>
    <item>
      <title>Boot from USB help</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541304#M12257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jb111 on Sun Dec 13 20:23:43 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to boot from USB0, but am having some difficulty. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My setup is a s follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- LPC1837&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- LPCXpresso&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Ubuntu 15.04&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am happy with the hardware connections. I have verified that USB0 is working by running the Virtual communication port example. The pins to select the boot mode (P2_9, P2_8, P1_2,&amp;nbsp; P1_1) have been checked to be fine (low, high, low, high respectively.) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I hold the boot pin(P2_7) low on a reset I can see the micro entering the bootrom (flashing LED stops flashing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But&amp;nbsp; when I run lsusb or dmesg I dont see anything. My understanding is that the USB should enumerate as a DFU device. Is this correct? Is there anything else I have missed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541304#M12257</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Boot from USB help</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541305#M12258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Dec 14 05:06:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The most likely issue is that your board is infact booting from Internal Flash - since this will take priority in the boot story if a valid image is detected within either bank of internal flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution is to either erase the internal flash banks or to boot from ISP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To erase the internal flash banks, the easiest scheme is to use the project wizard to create a simple project targeted at the LPC1837 - this will by default create a project for the internal BankA flash. Then with this project selected, use the GUI flash programmer and select the Erase flash memory tab, and mass erase the internal flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To boot from ISP mode refer to the FAQ below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access"&gt;&lt;/A&gt;&lt;A href="https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access" target="test_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on you board design, there may or may not be an ISP reset (button) available. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On Keil MCB boards this is located next to the Reset button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On LPCXpresso boards this is located at the top the board, about on 1/3 in from the left hand side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The User manual provides a flowcharts for the boot process for parts with and without internal flash, these should explain in much more detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://http://www.nxp.com/documents/user_manual/UM10430.pdf"&gt;&lt;BR /&gt;http://www.nxp.com/documents/user_manual/UM10430.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yours,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso-Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541305#M12258</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Boot from USB help</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541306#M12259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jb111 on Mon Dec 14 20:47:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a custom board with control of the ISP entry pin and the nRESET pin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried both the mass erase of internal flash and booting from ISP mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do the mass erase, reset and plug in the USB (or have the cable connected the whole time), there is still no enumeration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can enter ISP mode and program the device with Flash Magic over UART0, and the downloaded program run correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Programming over UART0 works with the boot pins jumpered for USB0 boot mode. Does this imply that there is a problem with the&amp;nbsp; boot pins and are in fact not at the correct levels? Following the flow diagram in the User Manuel (ch 4 - Fig 10 -Boot process flowchart for LPC18xx parts with flash) seems to imply this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for any help provided,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Boot-from-USB-help/m-p/541306#M12259</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:32Z</dc:date>
    </item>
  </channel>
</rss>

