<?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 &amp;quot;Blinky.axf&amp;quot;: not in executable format: File format not recognized in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578279#M23604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by snowball on Tue Jan 14 20:35:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;New user; I have the LPC800 Xpresso dev board, I'm following the instructions in the LPCXpresso user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running LPCXpresso v6.1.2 [Build 177] [2013-11-28] on Mac OS X 10.9.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I imported all of the example projects, plugged in the dev board via USB, build and debug and I get:&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;Error in final launch sequence
&amp;nbsp; Failed to execute MI command:
-file-exec-and-symbols /Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf
Error message from debugger back end:
"/Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf": not in executable format: File format not recognized
&amp;nbsp; "/Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf": not in executable format: File format not recognized
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:35:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:35:40Z</dc:date>
    <item>
      <title>"Blinky.axf": not in executable format: File format not recognized</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578279#M23604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by snowball on Tue Jan 14 20:35:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;New user; I have the LPC800 Xpresso dev board, I'm following the instructions in the LPCXpresso user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running LPCXpresso v6.1.2 [Build 177] [2013-11-28] on Mac OS X 10.9.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I imported all of the example projects, plugged in the dev board via USB, build and debug and I get:&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;Error in final launch sequence
&amp;nbsp; Failed to execute MI command:
-file-exec-and-symbols /Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf
Error message from debugger back end:
"/Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf": not in executable format: File format not recognized
&amp;nbsp; "/Volumes/Work/LPCexpresso/Blinky/Debug/Blinky.axf": not in executable format: File format not recognized
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578279#M23604</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: "Blinky.axf": not in executable format: File format not recognized</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578280#M23605</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 Wed Jan 15 01:09:56 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This implies that something has corrupted the executable (axf) file after it was built.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you change something in the build settings?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggest you clean the project and rebuild it, and if it still does no work, then Post the contents of the Build console here, so we can see if there are any build steps corrupting the file after it is created by the linker.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578280#M23605</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: "Blinky.axf": not in executable format: File format not recognized</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578281#M23606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by snowball on Wed Jan 15 07:48:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't changed any build settings, this is a new install -- I followed the instructions from the LPCXpresso user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had already tried a "Clean 'Blinky'" followed by "Build 'Blinky'" (both for debug) but I still have the same problem.&amp;nbsp; Here's the contents of the build console:&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;09:42:55 **** Build of configuration Debug for project Blinky ****
make all 
Building file: ../src/cr_startup_lpc8xx.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSIS_CORE_LPC8xx -D__LPC8XX__ -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx/inc" -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib/inc" -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/cr_startup_lpc8xx.d" -MT"src/cr_startup_lpc8xx.d" -o "src/cr_startup_lpc8xx.o" "../src/cr_startup_lpc8xx.c"
Finished building: ../src/cr_startup_lpc8xx.c
 
Building file: ../src/crp.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSIS_CORE_LPC8xx -D__LPC8XX__ -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx/inc" -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/crp.d" -MT"src/crp.d" -o "src/crp.o" "../src/crp.c"
Finished building: ../src/crp.c
 
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSIS_CORE_LPC8xx -D__LPC8XX__ -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx" -I"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx/inc" -I"/Volumes/Work/LPCexpresso/lpc800_driver_lib/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.c"
Finished building: ../src/main.c
 
Building target: Blinky.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"/Volumes/Work/LPCexpresso/CMSIS_CORE_LPC8xx/Debug" -L"/Volumes/Work/LPCexpresso/lpc800_driver_lib/Debug" -Xlinker -Map="Blinky.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "Blinky_Debug.ld" -o "Blinky.axf"&amp;nbsp; ./src/cr_startup_lpc8xx.o ./src/crp.o ./src/main.o&amp;nbsp;&amp;nbsp; -llpc800_driver_lib -lCMSIS_CORE_LPC8xx
Finished building target: Blinky.axf
 
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "Blinky.axf"; # arm-none-eabi-objcopy -O binary "Blinky.axf" "Blinky.bin" ; checksum -p LPC812 -d "Blinky.bin";
&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
&amp;nbsp;&amp;nbsp; 2544&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; 132&amp;nbsp;&amp;nbsp; 2680&amp;nbsp;&amp;nbsp;&amp;nbsp; a78Blinky.axf
 

09:42:56 Build Finished (took 569ms)

&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578281#M23606</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: "Blinky.axf": not in executable format: File format not recognized</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578282#M23607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by snowball on Wed Jan 15 08:23:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmmm ... I quit LPCXpresso, removed the workspace, restarted LPCXpresso with a new workspace, reimported, rebuilt and it seemed to work this time around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: I did have an issue running Blinky as LPCXpresso would get timeouts waiting for the LPC-Link, but I found a Red Code support document that talked about Mac OS USB problems and it suggested trying a different USB port or connecting through a hub.&amp;nbsp; I moved the LPCLink to one of the USB ports on my display (instead of the Mac) and it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578282#M23607</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: "Blinky.axf": not in executable format: File format not recognized</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578283#M23608</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 Wed Jan 15 08:33:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging the Blinky example from the LPC812 code bundle works fine for me here (though I'm still running Mac OS 10.7.5 on this particular machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I can see in your log though is that your workspace is at "&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;/Volumes/Work/LPCexpresso/&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt; ". Presumably this isn't your main drive? What actually is it, and how is it formatted? For example - is it "&lt;/SPAN&gt;&lt;I&gt;&lt;STRONG&gt;Mac OS Extended (Case sensitive)&lt;/STRONG&gt;&lt;/I&gt;&lt;SPAN&gt;" maybe?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And where is the new workspace that you are using compared to the original?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/quot-Blinky-axf-quot-not-in-executable-format-File-format-not/m-p/578283#M23608</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:35:42Z</dc:date>
    </item>
  </channel>
</rss>

