Hello,
I am porting an application that uses freeRTOS from the LPC2000 family
to the NXP Cortex M3. I use a custom board with an LPC1756, and
Crossworks for MAC OS. I get a linker error with Crossworks and before
I contact Rowley I would like to confirm this error is not specific to
the demo project I am using. Crossworks works just fine for all the
other projects I have, just not that one from the freeRTOS demo. And
yes, my Crossworks version is legit (Thanks again Paul).
The closest freeRTOS demo I could find for this microcontroller/board
was for the LPC1768 for GCC Rowley. In the past I've found that
reusing the demo the freeRTOS projects as a starting point saves huge
hassle. I started removing most of the demo code of this project, as I
do not have an ethernet interface, and I usually run strip down blinky
tests first anyways.
Once I stripped down the project the linker could not resolve
vEMAC_ISR, which I fixed by declaring a dummy function. The last
linker error I am get is something similar to the following (not in
front of my computer right now):
ld error Could not execute "/Applications/Crossworks"
It looks like Crossworks is struggling a bit to find the ld
application. What I noticed is that by default Crossworks installed in
"/Applications/Crossworks 2 for ARM" (again not sure if this is
exactly the path, the point is this is a different path than what the
error is reporting - could the white spaces be the cause of the
issue?).
What is interesting is that Crosswork does compile and link other (non
freeRTOS) projects just fine, just not that one from the freeRTOS
demo.
Has anybody else seen this error before? Why does it seem to be
specific to freeRTOS projects? Is the path to the linker tools set
somewhere in the solution/project that comes with freeRTOS?
I Googled the issue and found a similar report of this error in a post
from a user on the Rowley website, about a year ago. The user seems to
have fixed the issue by reinstalling Crossworks... I'm hoping I can
solve this issue without having to do that.
Thanks,
Jean
NXP Cortex M3 ports - GCC Rowley
Started by ●November 10, 2010
Reply by ●November 10, 20102010-11-10
> Has anybody else seen this error before? Why does it
seem to be
> specific to freeRTOS projects? Is the path to the linker tools set
> somewhere in the solution/project that comes with freeRTOS?
> I Googled the issue and found a similar report of this error in a post
> from a user on the Rowley website, about a year ago. The user seems to
> have fixed the issue by reinstalling Crossworks... I'm hoping I can
> solve this issue without having to do that.
Make sure that you don't have a directory "/Applications/Crossworks" or a
file that's "/Applications/Crossworks" or whatever your error is being
reported at.
You can enable the Build Log to display all the command lines being
executed. Go into the Output Window and select the Transcript, right click,
check Echo Build Command Lines. Build. See what's trying to be run.
-- Paul.
> specific to freeRTOS projects? Is the path to the linker tools set
> somewhere in the solution/project that comes with freeRTOS?
> I Googled the issue and found a similar report of this error in a post
> from a user on the Rowley website, about a year ago. The user seems to
> have fixed the issue by reinstalling Crossworks... I'm hoping I can
> solve this issue without having to do that.
Make sure that you don't have a directory "/Applications/Crossworks" or a
file that's "/Applications/Crossworks" or whatever your error is being
reported at.
You can enable the Build Log to display all the command lines being
executed. Go into the Output Window and select the Transcript, right click,
check Echo Build Command Lines. Build. See what's trying to be run.
-- Paul.
Reply by ●November 10, 20102010-11-10
Hey thanks for the lightning fast reply! Will try this tonight when I get
home - going to be a long day at work.
Jean
On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
> > Has anybody else seen this error before? Why does it seem to be
> > specific to freeRTOS projects? Is the path to the linker tools set
> > somewhere in the solution/project that comes with freeRTOS?
> > I Googled the issue and found a similar report of this error in a post
> > from a user on the Rowley website, about a year ago. The user seems to
> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
> > solve this issue without having to do that.
>
> Make sure that you don't have a directory "/Applications/Crossworks" or a
> file that's "/Applications/Crossworks" or whatever your error is being
> reported at.
>
> You can enable the Build Log to display all the command lines being
> executed. Go into the Output Window and select the Transcript, right click,
> check Echo Build Command Lines. Build. See what's trying to be run.
>
> -- Paul.
>
>
>
home - going to be a long day at work.
Jean
On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
> > Has anybody else seen this error before? Why does it seem to be
> > specific to freeRTOS projects? Is the path to the linker tools set
> > somewhere in the solution/project that comes with freeRTOS?
> > I Googled the issue and found a similar report of this error in a post
> > from a user on the Rowley website, about a year ago. The user seems to
> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
> > solve this issue without having to do that.
>
> Make sure that you don't have a directory "/Applications/Crossworks" or a
> file that's "/Applications/Crossworks" or whatever your error is being
> reported at.
>
> You can enable the Build Log to display all the command lines being
> executed. Go into the Output Window and select the Transcript, right click,
> check Echo Build Command Lines. Build. See what's trying to be run.
>
> -- Paul.
>
>
>
Reply by ●November 10, 20102010-11-10
Oups just realized I meant to send this to the freeRTOS mailing list, not
the LPC2000...
On Wed, Nov 10, 2010 at 8:54 AM, Jean-Sebastien Stoezel <
j...@gmail.com> wrote:
> Hey thanks for the lightning fast reply! Will try this tonight when I get
> home - going to be a long day at work.
>
> Jean
>
> On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
>
>> > Has anybody else seen this error before? Why does it seem to be
>> > specific to freeRTOS projects? Is the path to the linker tools set
>> > somewhere in the solution/project that comes with freeRTOS?
>> > I Googled the issue and found a similar report of this error in a post
>> > from a user on the Rowley website, about a year ago. The user seems to
>> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
>> > solve this issue without having to do that.
>>
>> Make sure that you don't have a directory "/Applications/Crossworks" or a
>> file that's "/Applications/Crossworks" or whatever your error is being
>> reported at.
>>
>> You can enable the Build Log to display all the command lines being
>> executed. Go into the Output Window and select the Transcript, right
>> click,
>> check Echo Build Command Lines. Build. See what's trying to be run.
>>
>> -- Paul.
>>
>>
>>
the LPC2000...
On Wed, Nov 10, 2010 at 8:54 AM, Jean-Sebastien Stoezel <
j...@gmail.com> wrote:
> Hey thanks for the lightning fast reply! Will try this tonight when I get
> home - going to be a long day at work.
>
> Jean
>
> On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
>
>> > Has anybody else seen this error before? Why does it seem to be
>> > specific to freeRTOS projects? Is the path to the linker tools set
>> > somewhere in the solution/project that comes with freeRTOS?
>> > I Googled the issue and found a similar report of this error in a post
>> > from a user on the Rowley website, about a year ago. The user seems to
>> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
>> > solve this issue without having to do that.
>>
>> Make sure that you don't have a directory "/Applications/Crossworks" or a
>> file that's "/Applications/Crossworks" or whatever your error is being
>> reported at.
>>
>> You can enable the Build Log to display all the command lines being
>> executed. Go into the Output Window and select the Transcript, right
>> click,
>> check Echo Build Command Lines. Build. See what's trying to be run.
>>
>> -- Paul.
>>
>>
>>
Reply by ●November 10, 20102010-11-10
> Oups just realized I meant to send this to the
freeRTOS mailing list, not
the LPC2000...
So what? You know I hang around here.
On other subject, is anybody considering Kinetis? I've just ordered a
couple of Tower systems with K40 and K60 devices.
-- Paul.
the LPC2000...
So what? You know I hang around here.
On other subject, is anybody considering Kinetis? I've just ordered a
couple of Tower systems with K40 and K60 devices.
-- Paul.
Reply by ●November 10, 20102010-11-10
Hahaha, just didn't want to pollute the list with a message that
wasn't
really intended for it. I wasn't just targeting you either in particular
with this email ;)
On Wed, Nov 10, 2010 at 8:58 AM, Paul Curtis wrote:
> > Oups just realized I meant to send this to the freeRTOS mailing list,
> not the LPC2000...
>
> So what? You know I hang around here.
>
> On other subject, is anybody considering Kinetis? Ive just ordered a
> couple of Tower systems with K40 and K60 devices.
>
> -- Paul.
>
>
>
really intended for it. I wasn't just targeting you either in particular
with this email ;)
On Wed, Nov 10, 2010 at 8:58 AM, Paul Curtis wrote:
> > Oups just realized I meant to send this to the freeRTOS mailing list,
> not the LPC2000...
>
> So what? You know I hang around here.
>
> On other subject, is anybody considering Kinetis? Ive just ordered a
> couple of Tower systems with K40 and K60 devices.
>
> -- Paul.
>
>
>
Reply by ●November 10, 20102010-11-10
> The closest freeRTOS demo I could find for this
> microcontroller/board was for the LPC1768 for GCC Rowley. In the past
> I've found that reusing the demo the freeRTOS projects as a starting
> point saves huge hassle.
Yes - that is why the demos are provided - to help get people running as
quickly as possible. Even if the demo target environment is not an
exact match, it still provides an example starting point.
> I started removing most of the demo code of
> this project, as I do not have an ethernet interface, and I usually
> run strip down blinky tests first anyways. Once I stripped down the
> project the linker could not resolve vEMAC_ISR, which I fixed by
> declaring a dummy function.
This will be because vEMAC_ISR is referenced from the interrupt vector
table. The best thing to do is to replace the reference with whatever
the default interrupt handler is (basically, whatever is loaded into all
the other unused vectors).
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
> microcontroller/board was for the LPC1768 for GCC Rowley. In the past
> I've found that reusing the demo the freeRTOS projects as a starting
> point saves huge hassle.
Yes - that is why the demos are provided - to help get people running as
quickly as possible. Even if the demo target environment is not an
exact match, it still provides an example starting point.
> I started removing most of the demo code of
> this project, as I do not have an ethernet interface, and I usually
> run strip down blinky tests first anyways. Once I stripped down the
> project the linker could not resolve vEMAC_ISR, which I fixed by
> declaring a dummy function.
This will be because vEMAC_ISR is referenced from the interrupt vector
table. The best thing to do is to replace the reference with whatever
the default interrupt handler is (basically, whatever is loaded into all
the other unused vectors).
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.
Reply by ●November 10, 20102010-11-10
Hum, there's no "/Applications/Crossworks" folder, I only have
"/Applications/Crossworks for ARM 2.0"
I've enabled the log as you suggested and here is what I get. It all goes
fine until the linker is invoked. Again this only occurs for that specific
project. Any other suggestions?
Thanks,
Jean
Rebuilding RTOSDemo in configuration THUMB Flash Debug 1 error
Compiling tasks.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/tasks.d" -MQ "THUMB
Flash Debug/tasks.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/tasks.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tasks.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3"
Compiling list.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/list.d" -MQ "THUMB
Flash Debug/list.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/list.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/list.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t"
Compiling queue.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/queue.d" -MQ "THUMB
Flash Debug/queue.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/queue.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/queue.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm"
Compiling port.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/port.d" -MQ "THUMB
Flash Debug/port.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/portable/GCC/ARM_CM3/port.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/port.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg"
Compiling heap_2.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/heap_2.d" -MQ
"THUMB Flash Debug/heap_2.o" -quiet -Wall -Wextra -gdwarf-2
-fno-dwarf2-cfi-asm -fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/portable/MemMang/heap_2.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/heap_2.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9"
Compiling main.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/main.d" -MQ "THUMB
Flash Debug/main.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/main.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/main.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN"
Assembling thumb_crt0.s
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -E -mcpu=cortex-m3
-mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp -mfloat-abi=soft
-nostdinc "-isystem/Applications/CrossWorks for ARM 2.0/include"
"-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/thumb_crt0.d" -MQ
"THUMB Flash Debug/thumb_crt0.o" -quiet -lang-asm "/Applications/CrossWorks
for ARM 2.0/source/thumb_crt0.s" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/thumb_crt0.o" --gdwarf2
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa"
Assembling LPC1700_Startup.s
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -E -mcpu=cortex-m3
-mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp -mfloat-abi=soft
-nostdinc "-isystem/Applications/CrossWorks for ARM 2.0/include"
"-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/LPC1700_Startup.d"
-MQ "THUMB Flash Debug/LPC1700_Startup.o" -quiet -lang-asm
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/LPC1700_Startup.s
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/LPC1700_Startup.o" --gdwarf2
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL"
Generating linker script
Linking RTOSDemo.elf 1 error
"/Applications/CrossWorks for ARM 2.0/gcc/bin/ld" -X -ereset_handler
--omagic --fatal-warnings -EL
"-T/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/RTOSDemo.ld" -Map "THUMB Flash Debug/RTOSDemo.map" -u_vectors -o
"THUMB Flash Debug/RTOSDemo.elf" --start-group "THUMB Flash Debug/tasks.o"
"THUMB Flash Debug/list.o" "THUMB Flash Debug/queue.o" "THUMB Flash
Debug/port.o" "THUMB Flash Debug/heap_2.o" "THUMB Flash Debug/main.o" "THUMB
Flash Debug/thumb_crt0.o" "THUMB Flash Debug/LPC1700_Startup.o"
"/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/lib/liblpc1000_v7m_t_le.a"
"/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/lib/cmsis_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libdebugio_bkpt_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libm_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libcpp_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libdebugio_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_targetio_impl_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/lib_vfprintf_long_nwp_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/lib_vfscanf_long_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_user_libc_v7m_t_le.a"
/Applications/CrossWorks for ARM 2.0/bin/crossscript
"load("/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for
ARM/packages/targets/LPC1000/LPC1000_LinkPatch.js");patch("/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/RTOSDemo.elf");"
Can't start process /Applications/CrossWorks
Build failed
On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
> > Has anybody else seen this error before? Why does it seem to be
> > specific to freeRTOS projects? Is the path to the linker tools set
> > somewhere in the solution/project that comes with freeRTOS?
> > I Googled the issue and found a similar report of this error in a post
> > from a user on the Rowley website, about a year ago. The user seems to
> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
> > solve this issue without having to do that.
>
> Make sure that you don't have a directory "/Applications/Crossworks" or a
> file that's "/Applications/Crossworks" or whatever your error is being
> reported at.
>
> You can enable the Build Log to display all the command lines being
> executed. Go into the Output Window and select the Transcript, right click,
> check Echo Build Command Lines. Build. See what's trying to be run.
>
> -- Paul.
>
>
>
"/Applications/Crossworks for ARM 2.0"
I've enabled the log as you suggested and here is what I get. It all goes
fine until the linker is invoked. Again this only occurs for that specific
project. Any other suggestions?
Thanks,
Jean
Rebuilding RTOSDemo in configuration THUMB Flash Debug 1 error
Compiling tasks.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/tasks.d" -MQ "THUMB
Flash Debug/tasks.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/tasks.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tasks.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpCDJzo3"
Compiling list.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/list.d" -MQ "THUMB
Flash Debug/list.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/list.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/list.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp8oAk5t"
Compiling queue.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/queue.d" -MQ "THUMB
Flash Debug/queue.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/queue.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/queue.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpPBtXBm"
Compiling port.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/port.d" -MQ "THUMB
Flash Debug/port.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/portable/GCC/ARM_CM3/port.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/port.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpH43bCg"
Compiling heap_2.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/heap_2.d" -MQ
"THUMB Flash Debug/heap_2.o" -quiet -Wall -Wextra -gdwarf-2
-fno-dwarf2-cfi-asm -fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/../../Source/portable/MemMang/heap_2.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/heap_2.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmp4LNXO9"
Compiling main.c
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -fmessage-length=0
-mcpu=cortex-m3 -mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp
-mfloat-abi=soft -nostdinc "-isystem/Applications/CrossWorks for ARM
2.0/include" "-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/main.d" -MQ "THUMB
Flash Debug/main.o" -quiet -Wall -Wextra -gdwarf-2 -fno-dwarf2-cfi-asm
-fno-builtin
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/main.c
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/main.o"
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpeIoSzN"
Assembling thumb_crt0.s
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -E -mcpu=cortex-m3
-mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp -mfloat-abi=soft
-nostdinc "-isystem/Applications/CrossWorks for ARM 2.0/include"
"-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/thumb_crt0.d" -MQ
"THUMB Flash Debug/thumb_crt0.o" -quiet -lang-asm "/Applications/CrossWorks
for ARM 2.0/source/thumb_crt0.s" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/thumb_crt0.o" --gdwarf2
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpN2rxZa"
Assembling LPC1700_Startup.s
"/Applications/CrossWorks for ARM 2.0/gcc/bin/cc1" -E -mcpu=cortex-m3
-mthumb -mthumb-interwork -mlittle-endian -mfpu=vfp -mfloat-abi=soft
-nostdinc "-isystem/Applications/CrossWorks for ARM 2.0/include"
"-isystem/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for ARM/packages/include"
"-I/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/include" -I../../Source/include
-I../Common/include -I../../Source/portable/GCC/ARM_CM3
-I../Common/ethernet/uIP/uip-1.0/uip -I. -I./webserver -I./LPCUSB
-D__ARM_ARCH_7M__ -D__CROSSWORKS_ARM -D__CROSSWORKS_MAJOR_VERSION=2
-D__CROSSWORKS_MINOR_VERSION=0 -D__CROSSWORKS_REVISION=7
-D__TARGET_PROCESSOR=LPC1756 -DOSCILLATOR_CLOCK_FREQUENCY000000
-DPACK_STRUCT_END=__attribute((packed))
-DALIGN_STRUCT_END=__attribute((aligned(4))) -DCONFIGURE_USB -DFULL_SPEED
-D__THUMB -D__FLASH_BUILD -DDEBUG -MD "THUMB Flash Debug/LPC1700_Startup.d"
-MQ "THUMB Flash Debug/LPC1700_Startup.o" -quiet -lang-asm
/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/LPC1700_Startup.s
-o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL"
"/Applications/CrossWorks for ARM 2.0/gcc/bin/as" --traditional-format
-mcpu=cortex-m3 -mthumb -mthumb-interwork -EL -mfpu=vfp -mfloat-abi=soft
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL" -o
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/LPC1700_Startup.o" --gdwarf2
rm
"/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/tmpuQ6yFL"
Generating linker script
Linking RTOSDemo.elf 1 error
"/Applications/CrossWorks for ARM 2.0/gcc/bin/ld" -X -ereset_handler
--omagic --fatal-warnings -EL
"-T/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/RTOSDemo.ld" -Map "THUMB Flash Debug/RTOSDemo.map" -u_vectors -o
"THUMB Flash Debug/RTOSDemo.elf" --start-group "THUMB Flash Debug/tasks.o"
"THUMB Flash Debug/list.o" "THUMB Flash Debug/queue.o" "THUMB Flash
Debug/port.o" "THUMB Flash Debug/heap_2.o" "THUMB Flash Debug/main.o" "THUMB
Flash Debug/thumb_crt0.o" "THUMB Flash Debug/LPC1700_Startup.o"
"/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/lib/liblpc1000_v7m_t_le.a"
"/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks
for ARM/packages/targets/LPC1000/lib/cmsis_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libdebugio_bkpt_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libm_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libcpp_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libdebugio_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_targetio_impl_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/lib_vfprintf_long_nwp_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/lib_vfscanf_long_v7m_t_le.a"
"/Applications/CrossWorks for ARM 2.0/lib/libc_user_libc_v7m_t_le.a"
/Applications/CrossWorks for ARM 2.0/bin/crossscript
"load("/Users/jean-sebastienstoezel/Library/Rowley Associates
Limited/CrossWorks for
ARM/packages/targets/LPC1000/LPC1000_LinkPatch.js");patch("/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB
Flash Debug/RTOSDemo.elf");"
Can't start process /Applications/CrossWorks
Build failed
On Wed, Nov 10, 2010 at 8:49 AM, Paul Curtis wrote:
> > Has anybody else seen this error before? Why does it seem to be
> > specific to freeRTOS projects? Is the path to the linker tools set
> > somewhere in the solution/project that comes with freeRTOS?
> > I Googled the issue and found a similar report of this error in a post
> > from a user on the Rowley website, about a year ago. The user seems to
> > have fixed the issue by reinstalling Crossworks... I'm hoping I can
> > solve this issue without having to do that.
>
> Make sure that you don't have a directory "/Applications/Crossworks" or a
> file that's "/Applications/Crossworks" or whatever your error is being
> reported at.
>
> You can enable the Build Log to display all the command lines being
> executed. Go into the Output Window and select the Transcript, right click,
> check Echo Build Command Lines. Build. See what's trying to be run.
>
> -- Paul.
>
>
>
Reply by ●November 11, 20102010-11-11
Hello Jean-Sebastien,
Thursday, November 11, 2010, 12:02:27 AM, you wrote:
Hum, there's no "/Applications/Crossworks" folder, I only have "/Applications/Crossworks for ARM 2.0" I've enabled the log as you suggested and here is what I get. It all goes fine until the linker is invoked. Again this only occurs for that specific project. Any other suggestions? |
Yes.
Thanks, Jean "/Applications/CrossWorks for ARM 2.0/gcc/bin/ld" -X -ereset_handler --omagic --fatal-warnings -EL "-T/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB Flash Debug/RTOSDemo.ld" -Map "THUMB Flash Debug/RTOSDemo.map" -u_vectors -o "THUMB Flash Debug/RTOSDemo.elf" --start-group "THUMB Flash Debug/tasks.o" "THUMB Flash Debug/list.o" "THUMB Flash Debug/queue.o" "THUMB Flash Debug/port.o" "THUMB Flash Debug/heap_2.o" "THUMB Flash Debug/main.o" "THUMB Flash Debug/thumb_crt0.o" "THUMB Flash Debug/LPC1700_Startup.o" "/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks for ARM/packages/targets/LPC1000/lib/liblpc1000_v7m_t_le.a" "/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks for ARM/packages/targets/LPC1000/lib/cmsis_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libdebugio_bkpt_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libm_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libc_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libcpp_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libdebugio_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libc_targetio_impl_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/lib_vfprintf_long_nwp_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/lib_vfscanf_long_v7m_t_le.a" "/Applications/CrossWorks for ARM 2.0/lib/libc_user_libc_v7m_t_le.a" |
Note: there are quotation marks around the call to ld (the first parameter on the command line).
/Applications/CrossWorks for ARM 2.0/bin/crossscript "load("/Users/jean-sebastienstoezel/Library/Rowley Associates Limited/CrossWorks for ARM/packages/targets/LPC1000/LPC1000_LinkPatch.js");patch("/Users/jean-sebastienstoezel/Desktop/FreeRTOSV6.1.0/Demo/CORTEX_LPC1756_GCC_Rowley/THUMB Flash Debug/RTOSDemo.elf");" |
There aren't any on this one.
This is possibly a post-link command to invoke CrossScript to patch in the correct checksum. You can edit the post-link command to add the quotation marks.
-- Paul.
__._,_.___
__,_._,___
Reply by ●November 11, 20102010-11-11
Paul,
Too much bad blood with Motorola(and later Freescale) and their
6805. However in the past 3 years I gave them a second chance. So, we do
have some HCS08 designs that have been created in last few years. And still
the same bull$&*!, We cannot get parts due too crazy lead times. And their
favorite thing to screw the designer; obsolete parts. They still to this
day has too many flavors of MPUs waiting for obsoleteness. If you are not
automotive they do not care. So I do not plan on using Freescale's Kinetis
chips. I will wait for NXP's M4 cores.
My two cents,
Michael Freeman
Update Systems, Inc
-----Original Message-----
From: l... [mailto:l...]On Behalf Of
Paul Curtis
Sent: Wednesday, November 10, 2010 8:59 AM
To: l...
Subject: RE: [lpc2000] NXP Cortex M3 ports - GCC Rowley
> Oups just realized I meant to send this to the freeRTOS mailing list,
not the LPC2000...
So what? You know I hang around here.
On other subject, is anybody considering Kinetis? I've just ordered a
couple of Tower systems with K40 and K60 devices.
-- Paul.
Too much bad blood with Motorola(and later Freescale) and their
6805. However in the past 3 years I gave them a second chance. So, we do
have some HCS08 designs that have been created in last few years. And still
the same bull$&*!, We cannot get parts due too crazy lead times. And their
favorite thing to screw the designer; obsolete parts. They still to this
day has too many flavors of MPUs waiting for obsoleteness. If you are not
automotive they do not care. So I do not plan on using Freescale's Kinetis
chips. I will wait for NXP's M4 cores.
My two cents,
Michael Freeman
Update Systems, Inc
-----Original Message-----
From: l... [mailto:l...]On Behalf Of
Paul Curtis
Sent: Wednesday, November 10, 2010 8:59 AM
To: l...
Subject: RE: [lpc2000] NXP Cortex M3 ports - GCC Rowley
> Oups just realized I meant to send this to the freeRTOS mailing list,
not the LPC2000...
So what? You know I hang around here.
On other subject, is anybody considering Kinetis? I've just ordered a
couple of Tower systems with K40 and K60 devices.
-- Paul.