<?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: LPC546xx USB ISP bootloader</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732540#M29600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the USBs get recognized somehow, but just as unknown device, then this could be a performance problem in your USB implementation. Either coming from a clock problem (inaccurate or with jitter or both) or from an electrical problem on USB D+ / D- (impedance mismatch, wrong protection diode circuit etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are able to download firmware over JTAG or UART ISP, then you could load a USB example and try this. If this works fine, then you could exclude my assumptions from above and we need to look somewhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here:&amp;nbsp; &lt;A href="https://community.nxp.com/thread/472764"&gt;https://community.nxp.com/thread/472764&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 11:21:39 GMT</pubDate>
    <dc:creator>bernhardfink</dc:creator>
    <dc:date>2018-05-09T11:21:39Z</dc:date>
    <item>
      <title>LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732537#M29597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We made a board with LPC54608J512 BD208. We planned to use USB1 for flashing user code. We also have a 12MHz crystal on board. We also have a ISP-connector as secondary means to flash applications but rather not use it for production. So far the board does what it should, but we can't get USB1 working from bootloader.&lt;/P&gt;&lt;P&gt;When pulling down ISP2 the boot-ROM tries to initiate USB-connection. However the device isn't correctly registered as MSC by Windows, it just says "unknown device".&lt;/P&gt;&lt;P&gt;When we pull down ISP1 and ISP2 it's the same, it doesn't register as "LPC" as the demo boards (OM13092 and OM13098) do.&lt;/P&gt;&lt;P&gt;We have no idea how to debug or proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems guanix asked the same question in another thread &lt;A href="https://community.nxp.com/thread/462085"&gt;Crystal value for LPC546xx USB ISP bootloader&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a known problem? Any hints on how to find out what's going wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 08:15:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732537#M29597</guid>
      <dc:creator>lutzherrmann</dc:creator>
      <dc:date>2018-05-08T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732538#M29598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="318244" data-username="lutzherrmann" href="https://community.nxp.com/people/lutzherrmann"&gt;Lutz Herrmann&lt;/A&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #3d3d3d;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #3d3d3d;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #3d3d3d;"&gt;On my site, PC(Win7 64 bits) can recognize the MSC device when ISP1 or ISP0 button is pushed on OM13098 (Rev C) board, and so does OM13092 (Rev C).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #3d3d3d;"&gt;So I was wondering if you can illustrates the steps of replicating the issue you encountered.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 15px; font-family: Arial; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39402iE61B0DF4F587BFF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIC&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, 09 May 2018 09:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732538#M29598</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-09T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732539#M29599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The demo boards are correctly recognized when pushing ISP1 or ISP0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just that our custom board is not. The only significant difference that I can see is the CPU package. Is there any possibility to cross check with another BD208 board design?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 10:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732539#M29599</guid>
      <dc:creator>lutzherrmann</dc:creator>
      <dc:date>2018-05-09T10:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732540#M29600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the USBs get recognized somehow, but just as unknown device, then this could be a performance problem in your USB implementation. Either coming from a clock problem (inaccurate or with jitter or both) or from an electrical problem on USB D+ / D- (impedance mismatch, wrong protection diode circuit etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are able to download firmware over JTAG or UART ISP, then you could load a USB example and try this. If this works fine, then you could exclude my assumptions from above and we need to look somewhere else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here:&amp;nbsp; &lt;A href="https://community.nxp.com/thread/472764"&gt;https://community.nxp.com/thread/472764&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 11:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732540#M29600</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-05-09T11:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732541#M29601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Hi &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="318244" data-username="lutzherrmann" href="https://community.nxp.com/people/lutzherrmann"&gt;Lutz Herrmann&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Thanks for your reply.&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="279401" data-username="bernhardfink" href="https://community.nxp.com/people/bernhardfink"&gt;Bernhard Fink&lt;/A&gt;&lt;/SPAN&gt; share a good way for checking the USB circuit, please giving a try.&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&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, 10 May 2018 03:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732541#M29601</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-10T03:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx USB ISP bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732542#M29602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;I tried the "MSC ramdisk lite" example, with same results. Demo boards do, our board does not.&lt;/P&gt;&lt;P&gt;So I removed ESD protection from our custom board, no change. &lt;/P&gt;&lt;P&gt;Next I checked the clocks using the fmeas example. I added some code to enable and measure the external oscillator:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;CLOCK_Enable_SysOsc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;true&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;MeasureDisplay&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"12MHz ext oscillator ("&lt;/SPAN&gt; EXAMPLE_REFERENCE_CLOCK_NAME &lt;SPAN class="string token"&gt;" reference)"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; kINPUTMUX_MainOscToFreqmeas&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&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; freqRef&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CLOCK_GetExtClkFreq&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The results are very much the same on the custom board and the demo boards:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Capture source: Watchdog oscillator (main clock reference), reference frequency = 48000000 Hz
Computed frequency value = 600585 Hz
Expected frequency value = 500000 Hz

Capture source: RTC32K oscillator (main clock reference), reference frequency = 48000000 Hz
Computed frequency value = 32226 Hz
Expected frequency value = 32768 Hz

Capture source: 12MHz FRO oscillator (main clock reference), reference frequency = 48000000 Hz
Computed frequency value = 11997070 Hz
Expected frequency value = 12000000 Hz

Capture source: 12MHz ext oscillator (main clock reference), reference frequency = 48000000 Hz
Computed frequency value = 11988281 Hz
Expected frequency value = 12000000 Hz‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I let it run for&amp;nbsp; a while and got results from 11.970.703 Hz to 11.985.351 Hz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd higly appreciate any further ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 06:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-USB-ISP-bootloader/m-p/732542#M29602</guid>
      <dc:creator>lutzherrmann</dc:creator>
      <dc:date>2018-05-11T06:02:09Z</dc:date>
    </item>
  </channel>
</rss>

