objcopy problem on Win 7

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

objcopy problem on Win 7

376 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mladen on Mon Mar 08 07:24:53 MST 2010
Hello,
I have a problem with post build utility objcopy.
Here is a post build snippet from output window:
-----------------------------------------------------------------
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size CMSISv1p30_LPC11xx.a; arm-none-eabi-objcopy -O ihex CMSISv1p30_LPC11xx.a CMSISv1p30_LPC11xx.hex;
   text   data    bss    dec    hexfilename
    244      0      0    244     f4core_cm0.o (ex CMSISv1p30_LPC11xx.a)
    868      4      0    872    368system_LPC11xx.o (ex CMSISv1p30_LPC11xx.a)
c:\Elektro\lpcxpresso_3.2\tools\bin\arm-none-eabi-objcopy.exe:CMSISv1p30_LPC11xx.hex: Invalid operation
make[1]: [post-build] Error 1 (ignored)
-----------------------------------------------------------------
Objcopy returns invalid operation so I can't generate *.hex file.
I would be gretefull for any hint.
Thanks,
Mladen.
0 Kudos
2 Replies

334 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mladen on Tue Mar 09 01:01:25 MST 2010
Thanks!
I wasn't aware that I was compiling a library.
It compiles to hex ok.
Thanks.
Mladen.
0 Kudos

334 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Mar 08 08:50:34 MST 2010
You are trying to create a hex from a library - which can't be done. You need to link an application with the library, and then generate hex from that.
0 Kudos