Skip to main content
Muzahir Hussain
Associate III
January 19, 2018
Question

send data to serial Keil uvision

  • January 19, 2018
  • 1 reply
  • 1932 views
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
This topic has been closed for replies.

1 reply

Andrew Neil
Super User
January 20, 2018
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.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
January 20, 2018
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

 
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.