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




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

Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

New FAQ page about the FreeRTOS kernel and Amazon FreeRTOS.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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