Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Trace features

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Trace features
Moderator:
JFMD

Post Reply
Follow this topic



Trace features

Doug McClean posted on 15 Jun 2011 3:38 PM PST
Top Contributor
38 Forum Posts

I've not yet had occasion to use them, but the datasheets mention all sorts of details about tracing features of the PSoC 5.

There seem to be two interfaces for tracing, one called SWV that uses 1 pin (in addition to the two already used for SWD) and one called TRACEPORT that uses 5 pins.

What are the pros and cons? What sort of connector should these pins be routed to for connection with a debugging device?

How do you go about watching/reading one of these traces? I don't see any obvious buttons in the debug menu, but it may just be because I don't have appropriate hardware attached.

Why does the PSoC Creator design-wide resources editor (on the System tab) only have a checkbox for "Enable Trace" if there are two trace interfaces? Which interface does this enable? Is it possible to enable the other?




Re: Trace features

yfs posted on 17 Jun 2011 07:26 AM PST
Cypress Employee
77 Forum Posts

SWV is a single-wire trace port that allows you to stream info off-chip without interrupting the prcessor. You can use it in a simple "printf" mode or set it up to do PC sampling, variable watches or notify you of events like interrupts. It's a really cool chip feature that, unfortunately, we do not have support for in PSoC Creator or MiniProg3 at this time. We're hoping to address that soon but I do not have a timeline for you yet.

The trace feature is the ARM embedded trace macrocell (ETM) which supports instruction tracing through 4 extra pins. While you get more information out of that interface it does cost you those pins, which is often a tricky proposition in our space. The support story is similar on the software side.

Hope this helps. Sorry I cannot tell you all about the software feature today.

-- mgs.

 



Re: Trace features

Doug McClean posted on 17 Jun 2011 02:16 PM PST
Top Contributor
38 Forum Posts

OK, I will keep an eye out for that in the future. :)

Thanks for the info.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20