cancel
Showing results for 
Search instead for 
Did you mean: 

auto start SWV

T B
Associate II

Hi,

the Serial wire viewer (SWV) has a command-line option.

This only launch the viewer and the user has to press R to start.

Is it possible to directly start the SWV?

Or is there a shell trick for this?

- Thomas

*********************************************

Manual

STM32_Programmer_CLI.exe -c port=swd -swv freq=32 portnumber=0

C:\Users\ST\swvLog\example.log

Serial wire viewer (SWV) command

-SWV

Description: This command allows the user to access the serial wire viewer console mode,

which displays the printf data sent from the target through SWO.

In this mode (see Figure 105) the user can start and stop the reception of the SWO data by pressing, respectively, the “R�? and “S�? buttons on the keyboard. T

1 ACCEPTED SOLUTION

Accepted Solutions
Aziz BRIGUI
ST Employee

Hello @Bacteriuslocher​,

Thank you for posting,

You can use the option -RA along with the command you mentioned in order to start the CLI SWV automatically.

If you have any further questions, do not hesitate to ask.

Best regards,

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Aziz BRIGUI
ST Employee

Hello @Bacteriuslocher​,

Thank you for posting,

You can use the option -RA along with the command you mentioned in order to start the CLI SWV automatically.

If you have any further questions, do not hesitate to ask.

Best regards,

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.