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 2014 Threads] trace and Assigns a namePosted by pierreculot on March 4, 2014 Hello,
I could implement the trace to test.
In the example and the soft from percepio the Queue have a name. While in my test they have a name like "queue#1" in the percepio soft.
I think I did the right thing:
define configQUEUEREGISTRYSIZE 16
vQueueAddToRegistry (xQueue (signed char *) "q1");
I'm on FreeRTOS 7.5.2.
Note: tasks name works well!
Kr,
Pierre
trace and Assigns a namePosted by rtel on March 4, 2014
Hello,
I could implement the trace to test.
In the example and the soft from percepio the Queue have a name. While
in my test they have a name like "queue#1" in the percepio soft.
I think I did the right thing:
define configQUEUEREGISTRYSIZE 16
vQueueAddToRegistry (xQueue (signed char *) "q1");
I'm on FreeRTOS 7.5.2.
I have just tried this in FreeRTOS version 8, and in that version
calling vQueueAddToRegistry() will in turn call the
traceQUEUEREGISTRYADD() macro, and the queue name as seen in the trace
is set within that macro.
The trace macros have been updated, and it is possible that in prior
versions you had to call vTraceSetQueueName() manually, although I don't
recall having to do that.
Can you step through traceQUEUEREGISTRYADD() in your debugger? In my
version I see it calling prvTraceGetObjectNumber(), then
prvTraceGetObjectType(), then vTraceSetObjectName() - with the name of
the queue being set in the call to vTraceSetObjectName().
Regards.
trace and Assigns a namePosted by pierreculot on March 5, 2014 In 7.5.2, there were not traceQUEUEREGISTRYADD ().
I upgraded to version 8, but trace soft gives me an error message:
Failed to load trace: Invalid control marker value (debug marker 1)
vTraceInitTraceData() and uiTraceStart() returns without error.
There is something else to configure with version 8?
kr,
Pierre
trace and Assigns a namePosted by davedoors on March 5, 2014 According to http://www.freertos.org/upgrading-to-FreeRTOS-V8.html the trace macros in FreeRTOS 8 need FreeRTOS+Trace version 2.6 or later.
trace and Assigns a namePosted by pierreculot on March 5, 2014 Hello Dave,
You are right. But where to download V2.6?
Is the Tracealyzer-Linux-v2.6.0.exe works? The last one for FreeRTOS on the Percepio website is V2.5...
Pierre
trace and Assigns a namePosted by johankraft on March 5, 2014 Hi all,
Johan at Percepio here. I just want to emphasize that FreeRTOS v8 comes with an updated trace recorder for FreeRTOS+Trace v2.6. Traces from this recorder does not work in FreeRTOS+Trace v2.5 or earlier, but the updated version of FreeRTOS+Trace has not been released yet. Unfortunately this was delayed one week more as we have decided to make some additional changes. It should be out on Friday (March 7th).
The upside is several new features. This is the largest update since v2.3 and includes better support for timers, tracing of dynamic memory allocation and full support for FreeRTOS v8, including the new Event Group objects.
Best Regards
Johan Kraft
Percepio AB
trace and Assigns a namePosted by pierreculot on March 5, 2014 Johan, thank you for that clarification.
Pierre
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|