Maybe I am missing something in the documentation, but I cannot find where to configure a second serial port and assign it as a VTREG S1IN and S1OUT. I am able to debug the first serial port using SIN and SOUT. Any help is appreciated
Hi! I have a trouble in RS232 serial programming,that is I send data to terminal through Com1,the terminal should feed back data to PC though Com1,but no data in receiving buffer at all in fact. I can make sure Sending data has no problem,but the key is I don't receive data. I want to know in RS232 communication,the relationship between thread of sending data and thread receiving data? Thanks very much! Best regard! huangjianhua 2003/4/17
Hi there, I have the same big problem. When I using COM1 for simulation with uPSD, no data is comming back to SIN. I use "Advanced Port Monitor" and see that the device that is linked to COM1 is responding... I think that uVision has a firewall for incomming data :)) Maybe someone has an answer... Marius Cerlinca P.S. If I use a script like the one that follows, is working, but I want real answer from the device I want to connect to uPSD. define int seri_index; signal void seri_start (float baudrate) { seri_index = 0; for (seri_index = 0; seri_index<6 ; seri_index++) { SIN = serial_input_buffer[seri_index]; swatch (1.0 / ((baudrate/10.0) + 20.0)); } } define button "Send Data" , "seri_start(1200)"
Exactly which uPSD device? I show that we support both serial ports on some of them. Jon
Hi again, I use DK3200 with uPSD 3234A. The device I try to connect over simulated serial port is Feig M02 RFI reader. Like I said already, the data is going out from uVision to M02, M02 is responding, but nothing comes back to uVision simulator... Marius Cerlinca P.S. Any help is useful...
and again.. I'm speaking about first serial port.
View all questions in Keil forum