<?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: LPCScrypt - Programming via USB in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619275#M24232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you have a HEX file and not a BINARY file... A hex file is an ascii encoding of binary data. A binary file is just the exact binary data you want written to the memory. LPCScrypt needs binary data, not ascii.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 15:01:26 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2016-11-23T15:01:26Z</dc:date>
    <item>
      <title>LPCScrypt - Programming via USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619274#M24231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem with programming LPC1853 via USB.&lt;/P&gt;&lt;P&gt;My environment : Keil uVision, LPCScrypt 1.8.0, srec_cat (SRecord).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In my HW I have LPC1853 and external SPIFI flash. I would like to exchange code via USB0.&lt;/P&gt;&lt;P&gt;LPCScrypt can't program all memories (two internal memory Banks and ext. flash) . I need to split one final hex file into 4 small peaces - BankA, BankB, SPIFI, EEPROM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Keil recommended to use srec_cat tool to do it. It works fine. I can program via LPCScypt (USB0) SPIFI and EEPROM, but I have a problem with internal flash Banks.&lt;/P&gt;&lt;P&gt;LPCSrypt shows error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11335iB8925EA432000A59/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I tried to program the same hex (WPS15_BankA.hex) via J-Flash (and JTAG) and it works fine. It adds checksum for this bank. And after programming a both banks via J-Flash a device works fine.&lt;/P&gt;&lt;P&gt;LPCScrypt has problem with the size, although I divided internal flash according to the instructions on the 2 banks (each 256kB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Keil instruction how to use srec_cat tool :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.keil.com/support/docs/963.htm" title="http://www.keil.com/support/docs/963.htm"&gt;GENERAL: SPLITTING HEX FILES&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My instructions to split hex :&lt;/P&gt;&lt;P&gt;srec_cat.exe -Output_Block_Size=32 -address-length=4 .\Obj\WPS15.hex -Intel &amp;nbsp;-crop 0x1A000000 0x1A040000 -o .\Obj\WPS15_BankA.hex -Intel&lt;BR /&gt;srec_cat.exe -Output_Block_Size=32 -address-length=4 .\Obj\WPS15.hex -Intel -crop 0x1B000000 0x1B040000 -o .\Obj\WPS15_BankB.hex -Intel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 14:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619274#M24231</guid>
      <dc:creator>mariuszwlodarcz</dc:creator>
      <dc:date>2016-11-23T14:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPCScrypt - Programming via USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619275#M24232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you have a HEX file and not a BINARY file... A hex file is an ascii encoding of binary data. A binary file is just the exact binary data you want written to the memory. LPCScrypt needs binary data, not ascii.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:01:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619275#M24232</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2016-11-23T15:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPCScrypt - Programming via USB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619276#M24233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-userid="286892" data-username="mariuszwlodarczyk" href="https://community.nxp.com/people/mariuszwlodarczyk"&gt;Mariusz Wlodarczyk&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;LPCScrypt can be used to download either plain binary files or binary files wrapped with a header, and other format files are not available.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 24 Nov 2016 07:03:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCScrypt-Programming-via-USB/m-p/619276#M24233</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-11-24T07:03:58Z</dc:date>
    </item>
  </channel>
</rss>

