<?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: USB IAP Problem - Not Working in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587547#M27701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Sun Feb 28 00:03:26 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ulysses&lt;/STRONG&gt;&lt;BR /&gt;[COLOR=#1F497D]We need to implement USB-based IAP&amp;nbsp; (per the user manual, this is a built-in capability in this part)&amp;nbsp; We have tried every possible configuration to no avail. What I would like to see is a confirmed correct minimum schematic (or description thereof) that is guaranteed to work.&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp; [COLOR=#1F497D]Any help would be greatly appreciated.[/COLOR]&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing in the description that I am unsure of is connecting the VBus to Vdd through a 50K resistor. Typically, we connect it directly without a resistor. Other than that- no pullup is required on Reset (it has an internal pullup) and P0.1 must be low to enter ISP. It is okay not to have the SoftConnect switch implemented, a pullup is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one mechanism to disable ISP is to set CRP3 or NO_ISP but you had mentioned that this has not been done. If you would like to see an example of a board that implements the USB ISP there are several. The LPCXpresso base board implements it, but the schematic is not available unless you purchase the board. The Keil MCB1000/MCB134x board implements ISP and the schematic is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.keil.com/mcb1000/mcb1000-schematics.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:09:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:09:10Z</dc:date>
    <item>
      <title>USB IAP Problem - Not Working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587545#M27699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ulysses on Fri Feb 26 16:26:40 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=#1F497D]We need to implement USB-based IAP&amp;nbsp; (per the user manual, this is a built-in capability in this part)&amp;nbsp; We have tried every possible configuration to no avail. What I would like to see is a confirmed correct minimum schematic (or description thereof) that is guaranteed to work.&amp;nbsp; So far we have tried this with our custom board and a modified LPCxpresso board.[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D] [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]LPCxpresso board:[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]With the debugger section connected and disconnected, with the pIO0.1 pin jumpered to ground with a&amp;nbsp; 10k pulldown, and&amp;nbsp; PIO0.3 connected to USB cable V+ through a 50k resistor, and a 1.5k pullup on D+ to 3.3v when plugged in, the PC tried to enumerate and fails. [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]The LPCxpresso board seems to boot into user code (flash programmed with the “Blinky” example) with the LED blinking merrily away, so it seems the IAP rom doesn’t get executed. [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]Questions: [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]-[FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/FONT][/COLOR][COLOR=#1F497D]Is there any special treatment of the reset line (besides a pullup resistor) that is need ? [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]-[FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/FONT][/COLOR][COLOR=#1F497D]What is the timing from reset where the pIO0.1 and 0.3 pins are sampled? [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]-[FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/FONT][/COLOR][COLOR=#1F497D]Are there any implications with IAP from having the SWD debug enabled and/or connected to a debug interface ?[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]-[FONT=&amp;amp;quot]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/FONT][/COLOR][COLOR=#1F497D]Does the IAP USB rom expect to control the USB connect line though a transistor, or will a simple pullup do? [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D] [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]On our custom board we control the USB connect line though a transistor per the example in the user manual, but that doesn’t seem to help.&amp;nbsp; We have never enabled CRP of any kind.&amp;nbsp; I don’t believe the watchdog is enabled either. On our custom board, we are using CMSIS 1.3 with freeRTOS.&amp;nbsp; The LPCxpresso board is just running ‘blinky’.[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D] [/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=#1F497D]Any help would be greatly appreciated.[/COLOR]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587545#M27699</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: USB IAP Problem - Not Working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587546#M27700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ktownsend on Fri Feb 26 22:25:45 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see a working schematic here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.microbuilder.eu/Projects/LPC1343ReferenceDesign.aspx&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This will require some modification since I've implemented a button for the USB Bootloader. When you press the button the board will reset and then go into the bootloader (thanks to R6/C11), which is quicker than setting a jumper, resetting, removing the ISP jumper, etc. You can modify this and remove the BAT54C entirely as well as R6/C11 and replace the button with a jumper if you want. The USB bootloader works fine with this setup, though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587546#M27700</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: USB IAP Problem - Not Working</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587547#M27701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Sun Feb 28 00:03:26 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ulysses&lt;/STRONG&gt;&lt;BR /&gt;[COLOR=#1F497D]We need to implement USB-based IAP&amp;nbsp; (per the user manual, this is a built-in capability in this part)&amp;nbsp; We have tried every possible configuration to no avail. What I would like to see is a confirmed correct minimum schematic (or description thereof) that is guaranteed to work.&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp; [COLOR=#1F497D]Any help would be greatly appreciated.[/COLOR]&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing in the description that I am unsure of is connecting the VBus to Vdd through a 50K resistor. Typically, we connect it directly without a resistor. Other than that- no pullup is required on Reset (it has an internal pullup) and P0.1 must be low to enter ISP. It is okay not to have the SoftConnect switch implemented, a pullup is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one mechanism to disable ISP is to set CRP3 or NO_ISP but you had mentioned that this has not been done. If you would like to see an example of a board that implements the USB ISP there are several. The LPCXpresso base board implements it, but the schematic is not available unless you purchase the board. The Keil MCB1000/MCB134x board implements ISP and the schematic is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.keil.com/mcb1000/mcb1000-schematics.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/USB-IAP-Problem-Not-Working/m-p/587547#M27701</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:09:10Z</dc:date>
    </item>
  </channel>
</rss>

