cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F051 to get code coverage report

ck.1
Associate III

0693W00000YA4FbQAL.pngHi ,

We have SEGGER J-TRACEpro for CORTEX-M processors . https://shop-us.segger.com/product/j-trace-pro-cortex-m-8-18-00/

We want to take the Code Coverage report . We are using Ozone IDE and loading the .OUT file to the OZONE IDE .

There are 2 cables that are connected to the J-TRACE pro one with normal Segger connector 20 pins that also comes with Segger J-LINK the image is shown below for this cable , this is what I am connecting to the custom board .I know this does not carry the TRACE signals .

0693W00000YA4lmQAD.jpg 

To get the J-TRACE Pro working there is cable shown above This connector is a 19-pin connector (0.05" / 1.27mm). It connects to the target via an 1-1 cable. the connector width is smaller compared to the J-Link Connector cable shown below .

I need documentation for STM32F051 which pins should be connected to the TRACECLK , 4 of TRACEDATA pins of the SEGGER J-TRACE Pro

https://wiki.segger.com/UM08001_J-Link_/_J-Trace_User_Guide#19-pin_JTAG.2FSWD_and_Trace_connector

14 TRACEDATA[0] Input Input Trace data pin 0.

16 TRACEDATA[1] Input Input Trace data pin 1.

18 TRACEDATA[2] Input Input Trace data pin 2.

20 TRACEDATA[3] Input Input Trace data pin 3.

How do we connect the above shown cable to the MCU STM32F051 micro-controller . Is there any documentation for the STM32F051 code coverage report generation using OZONE and J-Trace PRO ? .

Thanks and best wishes,

0693W00000YA4zYQAT.png

1 ACCEPTED SOLUTION

Accepted Solutions

Same issue, it seems like no J-TRACE option

0693W00000YA9OwQAL.png 

Reading RM0091 page 920, only serial wire is supported

0693W00000YA9QEQA1.png 

we dont need to firmware by ourselves, lets talk

View solution in original post

3 REPLIES 3
Javier1
Principal

STM32F051...

we need the specific packaging if you want specific pinout

for example :

STM32F051C4T6 (LQFP package)

I dont have any experience using jlink in this mcu. Are you sure Jlink debugger is supported?

0693W00000YA9D5QAL.pngCubeMx doesnt show the jlink option for debugging

But it does show the jlink option for example in one of the chips im using stm32f105

0693W00000YA9EcQAL.png

we dont need to firmware by ourselves, lets talk

The package details for the MicroProcessor "STM32F051K6U7" UFQFPN 32

STM32F051K6U7 NEC Tray UFQFPN 32 5x5x0.55 mm

Same issue, it seems like no J-TRACE option

0693W00000YA9OwQAL.png 

Reading RM0091 page 920, only serial wire is supported

0693W00000YA9QEQA1.png 

we dont need to firmware by ourselves, lets talk