cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get "ERROR with Trace_" errors from the USB-C stack in STM32CubeMonitor?

ChristophR
Associate III

Hi,

lately I realized that there are tracer errors from the USB-C stack in STM32CubeMonitor. I haven't seen them with older version of the USBPD libraries.

Currently I'm using:

- FW pack STM32Cube_FW_G0_V1.5.1

- USBPD core library is now V4.0.0

- USBPD device library is now V3.3.1

Where do these errors come from?

Thanks!

BR, Christoph

0693W00000Nsd2BQAR.png

1 ACCEPTED SOLUTION

Accepted Solutions
Nicolas P.
ST Employee

Hello @Christoph Rüdisser​ 

I don't have issues on my side, but I'm using STM32CubeMonitor-UCPD 1.2.0.

What is your version ?

The parts of trace that you are missing are related to USBStack notifications, or ErrorRecovey CAD states.

View solution in original post

4 REPLIES 4
Nicolas P.
ST Employee

Hello @Christoph Rüdisser​ 

Could you please share the .cpd file so that we can replay the trace on our side to try to see what is wrong ?

Wiki : The trace files are saved in c:\Users\%username%\AppData\Local\Temp\STM32CubeMonitor-UCPD\Acquisition\ with ".cpd" extension.

Thanks

Nicolas

ChristophR
Associate III

Hi @Nicolas P​ 

Thanks for your fast response.

I have attached the cpd file, but I had to remove the filename extension (uploading a cpd file was not allowed).

I've connected and disconnected the STM32G071B-DISCO multiple times, selected different PDOs, initiated datarole swaps and hard resets. I think there is still a problem with hard resets, but I thought I should fix the tracing at first.

The trace contains several of the following errors:

  • ERROR with Trace_Notif
  • ERROR with Trace_PE
  • ERROR with Trace_CAD

Thanks,

Christoph

Nicolas P.
ST Employee

Hello @Christoph Rüdisser​ 

I don't have issues on my side, but I'm using STM32CubeMonitor-UCPD 1.2.0.

What is your version ?

The parts of trace that you are missing are related to USBStack notifications, or ErrorRecovey CAD states.

ChristophR
Associate III

Hi @Nicolas P​ 

I didn't realize that a new version of the CubeMonitor-UCPD is available. I was still using 1.1.1.

With 1.2.0 there are no error messages anymore.

Thanks for your help!

Christoph