Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists