<?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: ISP programmer synchronization</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549065#M13765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by djonesboni on Wed Jan 14 06:02:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: capiman&lt;/STRONG&gt;&lt;BR /&gt;Can you try lpc21isp? Or if you have a supported OS, perhaps FlashMagic?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpc21isp fits my needs. It will save me a lot of work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it also do not work yet, it gets stuck on synchronization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem may be with the serial bus itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We use a rs485 bus and sp485 transceivers, which need set DE and RE to transmit and clear them to receive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The ISP bootloader is not aware of that, so it cannot transmit or receive (at least not both).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would a rs232 bus (with max232 transceivers) be fine for programming?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to find out what are these bytes that I'm receiving (they only appear when the board has power).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:50:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:50:07Z</dc:date>
    <item>
      <title>ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549063#M13763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by djonesboni on Tue Jan 13 22:23:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to program a LPC2366 via ISP (UART0).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I send the '\x3F' (= '?') char for synchronization and the device don't send the synchronization string "Synchronized\x0D\x0A". Instead it sends back a '\x60' char.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;pre&amp;gt;tx=[ len=1 0x 3F ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tx="?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rx=[ len=1 0x 60 ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rx="`"&amp;lt;/pre&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried several baud rates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;50 bps up to 230400 bps I got the same ('`' '\x60').&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Higher baud rates get other responses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;460800 up to 1152000 I get 'p' '\x70'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1500000 up to 2500000 I get 'x' '\x78'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3000000 up to 4000000 I get '\xFC'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Resending several times the synchronization char does the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The device is started with LOW level on P2.10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What may be wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549063#M13763</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549064#M13764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by capiman on Tue Jan 13 22:49:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try lpc21isp? Or if you have a supported OS, perhaps FlashMagic?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549064#M13764</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549065#M13765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by djonesboni on Wed Jan 14 06:02:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: capiman&lt;/STRONG&gt;&lt;BR /&gt;Can you try lpc21isp? Or if you have a supported OS, perhaps FlashMagic?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lpc21isp fits my needs. It will save me a lot of work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it also do not work yet, it gets stuck on synchronization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem may be with the serial bus itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We use a rs485 bus and sp485 transceivers, which need set DE and RE to transmit and clear them to receive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The ISP bootloader is not aware of that, so it cannot transmit or receive (at least not both).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would a rs232 bus (with max232 transceivers) be fine for programming?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to find out what are these bytes that I'm receiving (they only appear when the board has power).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549065#M13765</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549066#M13766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Jan 14 06:19:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: djonesboni&lt;/STRONG&gt;&lt;BR /&gt;Would a rs232 bus (with max232 transceivers) be fine for programming?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ISP isn't very fast&amp;nbsp;&amp;nbsp; :D &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So using a MAX2322 (UART &amp;lt;-&amp;gt; RS232) or FTDI (UART &amp;lt;-&amp;gt; USB) should work without problems&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549066#M13766</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549067#M13767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by djonesboni on Wed Jan 21 08:06:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case fast/slow doesn't matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it must be cheap :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549067#M13767</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: ISP programmer synchronization</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549068#M13768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Jan 21 08:27:56 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The simplest and cheapest is probably to use a USB to serial converter with 3.3V logic levels, and just a connector on the board.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ISP-programmer-synchronization/m-p/549068#M13768</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:50:09Z</dc:date>
    </item>
  </channel>
</rss>

