Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

trace and Assigns a name

Posted 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 name

Posted 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 name

Posted 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 name

Posted 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 name

Posted 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 name

Posted 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 name

Posted by pierreculot on March 5, 2014

Johan, thank you for that clarification. Pierre


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner