Quality RTOS & Embedded Software

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


SAM4S Xplained FreeRTOS Trace

Posted by owaisfazal on August 15, 2014

Hello everyone,

Recently I am working on the SWO interface of SAM4S Xplained board (Not Xplained Pro). I am running FreeRTOS on this board and trying to work with the integrated Trace tool available in Atmel Studio 6.2. However, I am unable to start the trace recorder after clock initialization because an error message pops up indicating that the connected emulator does not support SWO. I have double checked it on the web documents available for SAM4S Xplained at this link


It clearly indicates that the J-Link OB supports JTAG/SWD + SWO interface. Does anyone here have any experience with this. If so please let me know.

Regards, Owais.

SAM4S Xplained FreeRTOS Trace

Posted by davedoors on August 15, 2014

Is this related to the trace tool or just related to any swo output? Make sure you are connected using swd rather than jtag.

SAM4S Xplained FreeRTOS Trace

Posted by owaisfazal on August 15, 2014

The message that I am getting is that the emulator does not support SWO output, however I have checked it in the documents on SAM4S Xplained and it clearly indicates that the OB J-Link available on SAM4S Xplained supports SWO Interface. I am using SWD to program the board but still it shows the same message.

SAM4S Xplained FreeRTOS Trace

Posted by johankraft on August 18, 2014

It appears as the J-Link version used on the SAM4S Xplained support SWD but not SWO. We have the same issue with this board. If running Seggers own tool J-Link Commander and trying the command "SWOStat" you also get a similar error message, so it is not just Atmel Studio...

SAM4S Xplained FreeRTOS Trace

Posted by owaisfazal on August 18, 2014

Thanks for sharing your experience, I am also trying to get Trace via SAM-ICE on SAM4S-EK board but it seems SAM-ICE does not support SWO either.

[ 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.

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.


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


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