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


Trace Facility on Atmel644

Posted by Fallback on November 23, 2007
Hi folks,

I'm trying to get the Trace running on my Atmel644 but encountering alot of issues.
At first I enabled the USE_TRACE_FACILITY in the FreeRTOSConfig.h. After that I declared a
#define BUFFER_SIZE = 100;
struct xBuffer
unsigned long ulDummy; // This will get alligned
char pcBuffer[ BUFFER_SIZE ];
struct xBuffer pcBufferStruct;

as said in an older post.

Now I can start the vTaskStartTrace(pcBufferStruct.pcBuffer, BUFFER_SIZE) in my main function and the ulTaskEndTrace() at the end of one task. Everything's fine until this point.

Now I have no clue how to get the data out of my memory. I'm using AVRStudio by the way. I tried to use the Quickwatch function in debug mode on pcBufferStruct.pcBuffer but it's only showing 100 zeros, no data inserted there.
The other problem is, that this is only in debug mode in AVRSTudio.

Even if I could get the Trace to run, I must get the stack out of my Atmel644. How do I do this without any debugger like ICE50? I've only the STK500.

So, I know, alot of questions but I hope that someone could answer one or two.

Your help is appreciated, thx,

RE: Trace Facility on Atmel644

Posted by Dmitriy on November 26, 2007
All I can Advice.

Put BreakPoint in AVRStudio here

void vTaskSwitchContext( void )
/* listGET_OWNER_OF_NEXT_ENTRY walks t............
same priority get an equal share of the processor time. */
listGET_OWNER_OF_NEXT_ENTRY( pxCurrentTCB, .............

[ 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