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


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