cancel
Showing results for 
Search instead for 
Did you mean: 

Stop SWV

Shimjith
Visitor

Hi,

I am launching Serial wire viewer from external application.

The below  command allows the user to access the serial wire viewer console mode,

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

STM32_Programmer_CLI.exe -c port=swd SN=37FF6F063143433931081843 -swv freq=25 portnumber=0 -RA

This  launch the viewer but user has to press E to exit the terminal to get back to the application. 

Is it possible to Exit the terminal after specific time to the SWV? I am trying to pass E�? buttons on the keyboard.

But not able to pass from external application as it open new terminal 

Shimjith

1 REPLY 1
Pavel A.
Evangelist III

But not able to pass from external application as it open new terminal 

A Windows application can open console of another console application and write to it, causing that application to see input. For more details see Win32 documentation.