<?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: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595562#M31444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lonwalker on Fri Mar 06 16:11:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good catch R2D2.&amp;nbsp; I did not notice the difference between environment variable ${BuildArtifactFileName} and ${BuildArtifactFileBaseName}. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have corrected that and it looks like I have a srec file is as expected- number of bytes correct and a checksum for the Vector 7 byte locations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Programmer now read-verifies after programming. &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 21:35:49 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:35:49Z</dc:date>
    <item>
      <title>arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595555#M31437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lonwalker on Thu Mar 05 14:45:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to generate a hex file in SREC format for a PE-Micro Cyclone programmer to utilize for programming LPC824 devices.&amp;nbsp;&amp;nbsp;&amp;nbsp; I used the following Xpresso (v7.6) post-build step to somewhat of success: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;arm-none-eabi-objcopy -O srec ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.s19&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am however finding out that the Programmer is failing a read-verify after programming locations 001C-001F.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I learn from the LPC824 data sheet that these locations are reserved for Cotrex-M0+ exception vector for validating the first 7 vector locations.&amp;nbsp; The 8 location (vector 7) should contain a 2's complement sum of the first 7 vectors. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My programmer device, PEMicro Cyclone for ARM, *does* appear to program everything correctly, but complains during the read-verify after programming that the expected data for vector 7 is 0000 0000h instead of what the device actually has;&amp;nbsp; something like 1DDB FFFF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the objcopy generated SREC programming file data the utility is setting the expected data for locations 001C-001F to zeros instead of the 2's complement of checksum of vectors 0-6: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;S017000053593930312D4261724C6974653832342E73313929&lt;BR /&gt;S11300000020001049010000C9010000D1010000D6&lt;BR /&gt;S113001000000000000000000000000000000000DC&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not found any 'true'&amp;nbsp; PDF type documentation on&lt;/SPAN&gt;&lt;STRONG&gt; arm-none-eabi-objcopy &lt;/STRONG&gt;&lt;SPAN&gt;utility other than the command line help- Is there any that anyone knows of?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to make the utility compute the checksum of the first 7 vectors, 2's complement that, and then generate SREC data for vector 7 (address locations 001c-001f) ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe there is something else going on here I am not just aware of???, but as always in engineering- time is of the essence here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in&amp;nbsp; advance for any help you could lend, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595555#M31437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595556#M31438</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 Thu Mar 05 14:55:04 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you try to generate a bin + checksum before?&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%2Ffaq%2Flpcxpresso%2Fimage-checksums" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/image-checksums&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595556#M31438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595557#M31439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Mar 05 14:57:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Documentation for all the tools is in the IDE. Help-&amp;gt;Help Contents and search for objcopy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To create checksum, see:&lt;/SPAN&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%2Ffaq%2Flpcxpresso%2Fimage-checksums" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/image-checksums&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also find these are useful:&lt;/SPAN&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%2Ffaq%2Flpcxpresso%2Fpost-processing-linked-application" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/post-processing-linked-application&lt;/A&gt;&lt;/SPAN&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%2Ffaq%2Flpcxpresso%2Fgenerating-srec-binary-and-ihex-files" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/generating-srec-binary-and-ihex-files&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595557#M31439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595558#M31440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lonwalker on Fri Mar 06 11:22:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;THANKS- CLOSER, BUT STILL NOT QUITE WORKING FOR ME: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, is there ANY .PDF documentation covering the objcopy utility???&amp;nbsp;&amp;nbsp;&amp;nbsp; The command line help is very top level vague. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I am now doing the following processes as outlined in FAQs reviewed;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1..&amp;nbsp; I do a AXF to SREC (just to see what is generated that way): &lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;arm-none-eabi-objcopy -v -O srec "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.S1"&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.. I do a AXF to SREC, then AXF to BIN, CHECKSUM BIN, then BIN TO SREC&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"&lt;BR /&gt;checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"&lt;BR /&gt;arm-none-eabi-objcopy -I binary -O srec ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.s19&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The S19 data generated indicates that checksum data is now defined for address 001C - 001F is 34000000,&amp;nbsp; I have yet to confirm if this is correct?&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The srec data for this range:&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;S017000053593930312D4261724C6974653832342E73313929&lt;BR /&gt;S2140000007F454C4601010100000000000000000092&lt;BR /&gt;S214000010 020028000100000049010000 34000000 32&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem now is that my Cyclone programmer software now complains during of its generation of its data program image that it finds an invalid detected address in range: &lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;Checking range of S records.&amp;nbsp;&amp;nbsp;&amp;nbsp; Invalid address detected.&lt;BR /&gt;Invalid addresses in srecord block from #000080000 to $0000800F.&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[u]Upon Analyzing the srec files generated from the steps above:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/u]The first srec generation from the AXF directly only uses S1 records (2 byte offset addresses); and details data for the range of 0-17EB hex&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The binary file of the AXF conversion generates a file 07EC bytes big--- and is what I would of expected. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The binary FILE to srec generation file uses S2 type records (3 byte offset addresses), but goes 'overboard' with defining data in the ranges of: 0 to like 033C07 hex. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WHY????&amp;nbsp; The binary file was only 07ECh bytes big??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Generated srec file snipet from the binary file:&lt;BR /&gt;&lt;/STRONG&gt;&lt;I&gt;S017000053593930312D4261724C6974653832342E73313929&lt;BR /&gt;S2140000007F454C4601010100000000000000000092&lt;BR /&gt;S214000010 020028000100000049010000 34000000 32&lt;BR /&gt;S2140000202814030002020005340020000300280004&lt;BR /&gt;S21400003012000F0001000000008000000000000019&lt;BR /&gt;.&lt;BR /&gt;.&amp;nbsp; (bunch of contiguous data between)&lt;BR /&gt;.&lt;BR /&gt;S214033BE06573005F5F61656162695F696469766DCD&lt;BR /&gt;S214033BF06F6400436869705F53595343544C5F5076&lt;BR /&gt;S20D 033C00 6F776572446F776E005E&lt;BR /&gt;S804000000FB&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for any help you can lend. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595558#M31440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595559#M31441</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 Fri Mar 06 12:37:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be useful to post your bin file&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"&lt;BR /&gt;checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"&lt;BR /&gt;arm-none-eabi-objcopy -v -I binary -O srec "${BuildArtifactFileBaseName}.bin" "${BuildArtifactFileBaseName}.srec"&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595559#M31441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595560#M31442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lonwalker on Fri Mar 06 14:00:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Find attached the Binary file and the generated Hex file that seems to be too big. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding the '-v' verbose switch to the last OBJCOPY.&amp;nbsp;&amp;nbsp; obtained the&amp;nbsp; following console result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;Building target: SY901-BarLite824.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -L"C:\Users\lonni219\Documents\PROJECT-NXP\SY901-LiteBar824\SY901-BarLite824\lpc_chip_82x-V215_REV1\Debug" -Xlinker -Map="SY901-BarLite824.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "SY901-BarLite824_Debug.ld" -o "SY901-BarLite824.axf"&amp;nbsp; ./src/BITest.o ./src/Init.o ./src/Inputs.o ./src/Modes.o ./src/SY901LiteBar.o ./src/SysTick.o ./src/cr_startup_lpc82x.o ./src/crp.o ./src/inmux.o ./src/iocon.o ./src/mtb.o ./src/swm.o&amp;nbsp;&amp;nbsp; -llpc_chip_82x-V215_REV1&lt;BR /&gt;Finished building target: SY901-BarLite824.axf&lt;BR /&gt; &lt;BR /&gt;make --no-print-directory post-build&lt;BR /&gt;Performing post-build steps&lt;BR /&gt;arm-none-eabi-size "SY901-BarLite824.axf" ; arm-none-eabi-objcopy -v -O srec "SY901-BarLite824.axf" "SY901-BarLite824.S1" ; arm-none-eabi-objcopy -v -O binary "SY901-BarLite824.axf" "SY901-BarLite824.bin" ; checksum -p LPC824 -d "SY901-BarLite824.bin" ; arm-none-eabi-objcopy -v -I binary -O srec SY901-BarLite824.axf SY901-BarLite824.s19&lt;BR /&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hexfilename&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 6112&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp; 192&amp;nbsp;&amp;nbsp; 6312&amp;nbsp;&amp;nbsp; 18a8SY901-BarLite824.axf&lt;BR /&gt;copy from `SY901-BarLite824.axf' [elf32-littlearm] to `SY901-BarLite824.S1' [srec]&lt;BR /&gt;copy from `SY901-BarLite824.axf' [elf32-littlearm] to `SY901-BarLite824.bin' [binary]&lt;BR /&gt;Created checksum 0xefffdb1d at offset 0x1c in file SY901-BarLite824.bincopy from `SY901-BarLite824.axf' [binary] to `SY901-BarLite824.s19' [srec]&lt;BR /&gt;&lt;/I&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595560#M31442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595561#M31443</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 Fri Mar 06 14:35:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Your bin is OK&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your srec is faulty because you generate it from axf&amp;nbsp; :(( &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;arm-none-eabi-objcopy -v -I binary -O srec SY901-BarLite824[color=#f00].axf[/color] SY901-BarLite824.s19&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As shown above input file has to be the bin file here&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;copy from `LPC15_BL_APP.axf' [elf32-littlearm] to `LPC15_BL_APP.bin' [binary]&lt;BR /&gt;Created checksum 0xfdffb306 at offset 0x1c in file LPC15_BL_APP.bincopy from `LPC15_BL_APP.bin' [binary] to `LPC15_BL_APP.srec' [srec]&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595561#M31443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-objcopy:  Generating SREC file for stand alone programming of LPC-824 devices</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595562#M31444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lonwalker on Fri Mar 06 16:11:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good catch R2D2.&amp;nbsp; I did not notice the difference between environment variable ${BuildArtifactFileName} and ${BuildArtifactFileBaseName}. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have corrected that and it looks like I have a srec file is as expected- number of bytes correct and a checksum for the Vector 7 byte locations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Programmer now read-verifies after programming. &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 21:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/arm-none-eabi-objcopy-Generating-SREC-file-for-stand-alone/m-p/595562#M31444</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:49Z</dc:date>
    </item>
  </channel>
</rss>

