<?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>LPCXpresso IDE中的主题 How right extract binary image from axf file?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571075#M20429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stomascik on Mon Feb 08 03:35:03 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want use USB mass storage firmware update mode. How extract binary image from axf file? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case when LPC link is connected to target device I build (for example LPCXpresso1343_blinky sample), active Debug mode, then IDE download firmware, and sample work fine. Then I use command (on axf created by IDE from debug directory):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"arm-none-eabi-objcopy -O binary LPCXpresso1343_blinky.axf LPCXpresso1343_blinky.bin", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;connect LPC1343 by USB, and replace firmware.bin with extracted LPCXpresso1343_blinky.bin, and device don't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When working firmware and extracted are compared, there is difference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Comparing files LPCXpresso1343_blinky.bin and FIRMWARE.BIN &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001C: 00 DA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001D: 00 CC &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001E: 00 FF &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001F: 00 EF &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why this difference? What I do wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Slavo&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338180"&gt;1100090_Nancy.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:02:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:02:13Z</dc:date>
    <item>
      <title>How right extract binary image from axf file?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571075#M20429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stomascik on Mon Feb 08 03:35:03 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want use USB mass storage firmware update mode. How extract binary image from axf file? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case when LPC link is connected to target device I build (for example LPCXpresso1343_blinky sample), active Debug mode, then IDE download firmware, and sample work fine. Then I use command (on axf created by IDE from debug directory):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"arm-none-eabi-objcopy -O binary LPCXpresso1343_blinky.axf LPCXpresso1343_blinky.bin", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;connect LPC1343 by USB, and replace firmware.bin with extracted LPCXpresso1343_blinky.bin, and device don't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When working firmware and extracted are compared, there is difference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Comparing files LPCXpresso1343_blinky.bin and FIRMWARE.BIN &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001C: 00 DA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001D: 00 CC &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001E: 00 FF &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0000001F: 00 EF &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why this difference? What I do wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Slavo&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338180"&gt;1100090_Nancy.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571075#M20429</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: How right extract binary image from axf file?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571076#M20430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Mon Feb 08 04:51:16 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP parts require that the vector table is checksumed. If the checksum si invalid, the part refuses to start. This is described in the User Guide for the part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The debugger automatically writes the correct checksum when downloading the image, but when using a binary image, the image needs to contain the correct checksum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a utility provide for this in the binary directory. Just call it with a single argument - the name of the binary file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;checksum file.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to read this forum thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.trimm.net/showthread.php?t=13&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571076#M20430</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How right extract binary image from axf file?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571077#M20431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by stomascik on Mon Feb 08 05:04:35 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks. That's what i miss. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Slavo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571077#M20431</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How right extract binary image from axf file?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571078#M20432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ktownsend on Mon Feb 08 11:11:02 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a simple tutorial (though it's a bit late in this case):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.microbuilder.eu/Blog/10-01-12/Creating_Valid_LPC1343_Binaries_in_LPCXpresso.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-right-extract-binary-image-from-axf-file/m-p/571078#M20432</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:02:15Z</dc:date>
    </item>
  </channel>
</rss>

