2025-05-06 8:00 AM
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
2025-05-06 12:55 PM
> 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.