Monday, January 22nd 2018, 1:15pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

1

Thursday, February 18th 2016, 11:52am

How to start Trace Capture in SES ?

Hello,


I'm having a J-Trace on my desk and want so see it's potential.

I have no idea how to configure SES to make it record a Instruction Trace or output coverage information.



Could you point me to a comprehensive tutorial how i could use my J-Trace unit to actually record a trace session?



Best regards Peter




SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 376

2

Monday, February 22nd 2016, 10:56am

Hi Peter,

The basic setup in Embedded Studio is in the project properties -> Target Trace Options:
Set Trace Initialize Script to the EnableTrace function of your target script file (i.e. EnableTrace("$(TraceInterfaceType)"))
And set the Trace Interface Type to Trace Port or ETB.

Depending on the device, the trace port might have to be configured.
This can be done in the target script file in the function specified above.
The target script file is a JavaScript, which allows target operations like reading and writing memory.
(Refer to http://studio.segger.com/arm_target_scri…etInterface.htm)

Best regards
Johannes

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

3

Tuesday, March 1st 2016, 3:37pm

this sounds kind of complicated.

do you provide an example on how to start tracing ?

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 376

4

Wednesday, March 2nd 2016, 9:31am

What target device are you using?

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

5

Wednesday, March 2nd 2016, 3:55pm

I'm working on a stm32f429

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 376

6

Wednesday, March 9th 2016, 2:12pm

Hi,

No special configuration is required for the STM32F4.
Simply set "Debugger -> Target Trace Options -> Trace Interface Type" in the Project Properties to "ETB",
connect your J-Trace, start the debug session and open the Execution Trace window.

Regards
Johannes

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

7

Wednesday, March 9th 2016, 2:21pm

are you sure you mean ETB ?

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 376

8

Thursday, March 17th 2016, 9:55am

Hi,

No, sorry. The STM32F4 only has ETM.