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] [February 2009 Threads] vWriteTraceToBuffer() bugs CodeWarriorPosted 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 CodeWarriorPosted 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 CodeWarriorPosted 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 CodeWarriorPosted 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 CodeWarriorPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|