cancel
Showing results for 
Search instead for 
Did you mean: 

send data to serial Keil uvision

Muzahir Hussain
Associate III
Posted on January 19, 2018 at 23:15

I am looking for a GUI window in Keil uvision4 to send data

to

the serial. When I open serial window (USART &sharp1-3), I am not able to type any characters on the screen to send to the serial.

Is there a way to manually type data that will be seen by the simulating environment (uvision) as having been received on the serial port?

#uart-ft-serial-communications #keil #usart
2 REPLIES 2
Andrew Neil
Evangelist
Posted on January 20, 2018 at 12:08

I'm not quite clear what you're asking.

Are you talking about sending data from the PC to a real hardware target?

For doing that, I would recommend that you just use one of the may terminal programs available - eg, TeraTerm, PuTTY, RealTerm - rather than mess about with uVision.

If you're talking about doing this entirely within the Keil uVision simulation environment, then you should be asking on the Keil forum; as that's all Keil stuff - nothing to do with ST.

But I would say that, with on-chip debug, it's probably easier to do this kind of thing on the actual target hardware -rather than mess about with simulation.

Posted on January 20, 2018 at 12:11

Keil's UART simulation documentation is here:

http://www.keil.com/support/man/docs/uv4/uv4_sm_uartcommunication.htm