<?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: LPC11U37 ISP AUTOBAUD SYNCRONIZATION FAILS</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667291#M26693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI PHua,&lt;/P&gt;&lt;P&gt;How long do you have to wait after POR before you can run ISP Autobaud ?&lt;/P&gt;&lt;P&gt;The reason is the customer is using another MCU to isp our LPC11u37h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Do you have more detail as to how the autobaud &amp;nbsp;is determined to be sucessful?&lt;/P&gt;&lt;P&gt;page 396 ofUM10462.pdf.&lt;/P&gt;&lt;P&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/19244i1F57FB0893F9E48A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;hy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2017 21:31:49 GMT</pubDate>
    <dc:creator>HeMyFAE</dc:creator>
    <dc:date>2017-05-17T21:31:49Z</dc:date>
    <item>
      <title>LPC11U37 ISP AUTOBAUD SYNCRONIZATION FAILS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667289#M26691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tech Support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I am curious about behavior when the ISP autobaud synchronization fails – currently this only happens when I go outside the expected limits e.g. when I drive in the sync character immediately after resetting into ISP mode.&amp;nbsp; The autobaud procedure then gets some interesting results. It functions as expected when I properly wait a few ms after reset before trying to synchronize.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The manual &amp;nbsp;seems to suggest that responding with “Synchronized\r\n” should trigger a sync failure and allow for resynching, but this doesn’t appear to happen automatically.&amp;nbsp; (A quick attempt at sending a Synchronized response that doesn’t fit the autobaud expectation nor a subsequent ‘?’ doesn’t seem to trigger a correct, or even attempt at a subsequent, autobaud calculation.&amp;nbsp; How do I force a resynch to handle (unlikely?) potential autobaud failures?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Secondly, it doesn’t appear (small sample size) to matter if my autobaud trigger (‘?’) &amp;nbsp;is also ‘\r’ ’\n’ terminated.&amp;nbsp; The manual says extra termination characters are ignored, so I take it that it’s not a problem, but wanted confirmation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Finally, is there a way to force a bypass of the USB ISP mode and go directly to UART ISP despite VBUS assertion by a USB connection?&amp;nbsp; We can hold off on the reset into ISP mode if USB is connected, but if there was a secret way to avoid that check, I’d be happy to just override the default behavior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;hy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667289#M26691</guid>
      <dc:creator>HeMyFAE</dc:creator>
      <dc:date>2017-05-04T16:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 ISP AUTOBAUD SYNCRONIZATION FAILS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667290#M26692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will need to list the Boot loader version with the corresponding ISP entry pins setting to ensure you get in correctly:-&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Boot loader version 7.0 ( only UART ISP) Pins PIO0_1 and PIO0_3 must be pulled LOW to enter UART ISP mode.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Boot loader &lt;/SPAN&gt;&lt;SPAN&gt;version&amp;nbsp;&lt;/SPAN&gt;7.1 &lt;SPAN&gt;( only&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;UART ISP)&amp;nbsp;&lt;/SPAN&gt;Only pin PIO0_1 must be pulled LOW to enter UART ISP mode. Pin PIO0_3 is not checked.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Boot loader &lt;/SPAN&gt;&lt;SPAN&gt;version&amp;nbsp;&lt;/SPAN&gt;7.4 and higher (UART and USB ISP) Pins PIO0_1 and PIO0_3 must be pulled LOW to enter UART ISP mode.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Assuming you have ver 7.4 or higher, once PIO0_3 is sampled LOW, &amp;nbsp;the bootloader configures the UART serial port using pins PIO0_18 and PIO0_19 for RXD and TXD and calls the ISP command handler. Once it's started, it will wait for the Host to send "?"&lt;SPAN&gt;synchronization character. You need to include "CR+LF" on the Host Transmit. You can add this automatically in your terminal program setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;If synchronization is not verified then the auto-baud routine waits again for a synchronization character... You need to resend the "?" character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 22:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667290#M26692</guid>
      <dc:creator>ckphua</dc:creator>
      <dc:date>2017-05-04T22:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 ISP AUTOBAUD SYNCRONIZATION FAILS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667291#M26693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI PHua,&lt;/P&gt;&lt;P&gt;How long do you have to wait after POR before you can run ISP Autobaud ?&lt;/P&gt;&lt;P&gt;The reason is the customer is using another MCU to isp our LPC11u37h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Do you have more detail as to how the autobaud &amp;nbsp;is determined to be sucessful?&lt;/P&gt;&lt;P&gt;page 396 ofUM10462.pdf.&lt;/P&gt;&lt;P&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/19244i1F57FB0893F9E48A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;hy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 21:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667291#M26693</guid>
      <dc:creator>HeMyFAE</dc:creator>
      <dc:date>2017-05-17T21:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11U37 ISP AUTOBAUD SYNCRONIZATION FAILS</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667292#M26694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;If you look at the User Manual, Section 3.7 Startup Behavior Fig 8, it will take about 100uS from power stable to a full internal reset. The boot code takes 55uS to decide to jump to user code.&lt;/P&gt;&lt;P class=""&gt;So I would say about 150uS is needed from power stable to start of Autobaud.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;As spoken, if the user want to check that the autobaud is correct, especially in a machine driven Host (not human typing on PC Terminal), &amp;nbsp;then the Host machine should read the LPC will return ASCII string of ("Synchronized&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;"). The user can also do a Read Part ID (ISP) command to ensure everything is right before start of programming.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Let me know if you still have questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 22:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11U37-ISP-AUTOBAUD-SYNCRONIZATION-FAILS/m-p/667292#M26694</guid>
      <dc:creator>ckphua</dc:creator>
      <dc:date>2017-05-17T22:30:20Z</dc:date>
    </item>
  </channel>
</rss>

