Quality RTOS & Embedded Software

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


Loading

vWriteTraceToBuffer() bugs CodeWarrior

Posted by Francois Bouchard on February 25, 2009
Hello all,

My goal is to use tracecon application to view the kernel activity. but the call to vWriteTraceToBuffer is causing exceptions into my program. Anyone has used this utility on ColdFire with CodeWarrior?

I might have to change a bit the code of this macro function, but I prefer not to. Any hints would be appreciated...

OneFranck

RE: vWriteTraceToBuffer() bugs CodeWarrior

Posted by Francois Bouchard on February 25, 2009
Well let me refine my post. I was'nt correctly calling vTaskStartTrace(), providing it some wrong parameters.

I will allocate some memory to my pcBuffer before calling to vTaskStartTrace()

RE: vWriteTraceToBuffer() bugs CodeWarrior

Posted by Francois Bouchard on February 25, 2009
hehe, took me a while figuring out that my board has no disk and cannot save file, this is really funny. Since I cant save the trace file I'm looking at the trace Macros...

here is my question: How can I use the trace macros to pause and resume a timer in order to count the Idle TIme??

Is it possible?

thx


RE: vWriteTraceToBuffer() bugs CodeWarrior

Posted by MEdwards on February 25, 2009
Some IDEs allow you to copy a RAM buffer to a file on the host.

Search for trace macros and traceTASK_SWITCHED_IN in the forum I think you will find some solutions.

RE: vWriteTraceToBuffer() bugs CodeWarrior

Posted by Francois Bouchard on February 26, 2009
Thanks Medwards,
I have implemented the two macros (SWITCHED_IN and OUT) and got something working with my timers library.


[ 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