<?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: UART3 boot: no reply from '1830 after sending image in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541344#M12266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Thu Jul 25 08:03:59 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that my downloaded program _was_ starting.&amp;nbsp; Contrary to what is stated in the LPC1800 user manual you do _not_ get an 'OK\r\n' or 'FAILED\r\n' response from the boot ROM code after you send the image.&amp;nbsp; If the image is OK, it runs.&amp;nbsp; If it's not, then nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If only I could get back all the hours I've wasted in the past year due to errors in the LPC1800 user manaul, I could go on vacation for all of August...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:24:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:24:24Z</dc:date>
    <item>
      <title>UART3 boot: no reply from '1830 after sending image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541342#M12264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Wed Jul 24 14:39:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been successful placing the processor into UART3 boot mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I send '?' and receive 'OK\r\n'.&amp;nbsp; So far, so good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I send the header+image, I never get any sort of response (it's supposed to reply 'OK\r\n' or 'FAILED\r\n').&amp;nbsp; The most likely thing I can think of is that I'm not constructing the header correctly, but I can't see anything wrong.&amp;nbsp; I pad the image tself out to a 512 byte boundary, and then send a header that looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;da ff 0d 00 00 00 00 00 00 00 00 00 ff ff ff ff&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Byte 0 (da) means AES inactive, no hash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Byte 1 is reserved and unused hash-adjust bits.&amp;nbsp; Reserved bits are all 1's, I've tried all 1's and all 0's for unused hash-adjust bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bytes 2-3 (0d 00) are the image size (in 512-byte blocks) -- 13 in this case.&amp;nbsp; I've tried both little-endian and big-endian format for this field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bytes 4-11 are the hash value (not used).&amp;nbsp; I've tried all 1's and all 0's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bytes 12-15 are reserved and must be all 1's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I send the image itslef which comprises 13 blocks of 512 bytes each.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I expect a response of 'OK\r\n' or 'FAILED\r\n', but I get nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've concluded that the user manual description of either the hader or the UART boot protocol is wrong (no big surprise, I found dozens of errors in the manual).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I find accurate information about the UART boot protocol and the binary header format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541342#M12264</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: UART3 boot: no reply from '1830 after sending image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541343#M12265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Alaric on Thu Jul 25 04:20:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this link below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fproject%2Fdfu-download-programming-utility-and-security-lpcdfusec-tool%2Fdfusec-download-support" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/project/dfu-download-programming-utility-and-security-lpcdfusec-tool/dfusec-download-support&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can use the tool to generate a image with the necessary header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541343#M12265</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: UART3 boot: no reply from '1830 after sending image</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541344#M12266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Grant.Edwards on Thu Jul 25 08:03:59 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It turns out that my downloaded program _was_ starting.&amp;nbsp; Contrary to what is stated in the LPC1800 user manual you do _not_ get an 'OK\r\n' or 'FAILED\r\n' response from the boot ROM code after you send the image.&amp;nbsp; If the image is OK, it runs.&amp;nbsp; If it's not, then nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If only I could get back all the hours I've wasted in the past year due to errors in the LPC1800 user manaul, I could go on vacation for all of August...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART3-boot-no-reply-from-1830-after-sending-image/m-p/541344#M12266</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:24:24Z</dc:date>
    </item>
  </channel>
</rss>

