FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2008 Threads] Retrieving the trace bufferPosted by Richard on March 1, 2008 [moved from private email - please use the forum or Skype option for support unless you have a support contract]
ulTaskEndTrace();
………..
Now I want this buffer tRace in some file, when I use normal method of File datatype in C
It generates error like .
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-fopen.o): In function `_fopen_r':
fopen.c:(.text+0x58): undefined reference to `_open_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-freer.o): In function `_malloc_trim_r':
mallocr.c:(.text+0x48): undefined reference to `_sbrk_r'
mallocr.c:(.text+0x70): undefined reference to `_sbrk_r'
mallocr.c:(.text+0xb4): undefined reference to `_sbrk_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-fseek.o): In function `_fseek_r':
fseek.c:(.text+0xf4): undefined reference to `_fstat_r'
fseek.c:(.text+0x35c): undefined reference to `_fstat_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-makebuf.o): In function `__smakebuf_r':
makebuf.c:(.text+0x40): undefined reference to `_fstat_r'
makebuf.c:(.text+0x104): undefined reference to `isatty'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-mallocr.o): In function `_malloc_r':
mallocr.c:(.text+0x428): undefined reference to `_sbrk_r'
mallocr.c:(.text+0x5c0): undefined reference to `_sbrk_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-stdio.o): In function `__sclose':
stdio.c:(.text+0xc): undefined reference to `_close_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-stdio.o): In function `__sseek':
stdio.c:(.text+0x30): undefined reference to `_lseek_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-stdio.o): In function `__swrite':
stdio.c:(.text+0x90): undefined reference to `_lseek_r'
stdio.c:(.text+0xb4): undefined reference to `_write_r'
c:/winarm/bin/../lib/gcc/arm-elf/4.1.2/../../../../arm-elf/lib\libg.a(lib_a-stdio.o): In function `__sread':
stdio.c:(.text+0xd8): undefined reference to `_read_r'
collect2: ld returned 1 exit status
make: *** [LPC2210.elf] Error 1
Plz guide me ……………..
RE: Retrieving the trace bufferPosted by Richard on March 1, 2008 You have no method of accessing files linked into your application - probably because you don't have a file system to which the data can be written.
Depending on your debug interface, it is normal to retrieve the raw data file through the debugger and save it to a file on your host computer.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|