2018-01-19 02:15 PM
I am looking for a GUI window in Keil uvision4 to send data
tothe 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 #usart2018-01-20 03:08 AM
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.
2018-01-20 04:11 AM
Keil's UART simulation documentation is here:
http://www.keil.com/support/man/docs/uv4/uv4_sm_uartcommunication.htm