Difference between revisions of "RS232"

From vice-emu
Jump to: navigation, search
(Created page with " here i will track some things regarding rs232 emulation, and perhaps fix things while at it ~~~~ == using a real RS232 port == === linux === /dev/ttyUSB0 === windows ===...")
 
m (windows)
Line 12: Line 12:
 
  COMx[:][baud=b][parity=p][data=d][stop=s][to={on|off}][xon={on|off}][odsr={on|off}][octs={on|off}][dtr={on|off|hs}][rts={on|off|hs|tg}][idsr={on|off}]
 
  COMx[:][baud=b][parity=p][data=d][stop=s][to={on|off}][xon={on|off}][odsr={on|off}][octs={on|off}][dtr={on|off|hs}][rts={on|off|hs|tg}][idsr={on|off}]
  
* finding out what COM port the usb adapter ended up might be tricky, you can use a tool like "Keyspan Serial Assistant"
+
* finding out what COM port the usb adapter ended up might be tricky, you can use a tool like "Keyspan Serial Assistant"
  
 
== rs232 over ip ==
 
== rs232 over ip ==

Revision as of 19:29, 25 July 2019

here i will track some things regarding rs232 emulation, and perhaps fix things while at it Gpz (talk) 19:29, 25 July 2019 (CEST)

using a real RS232 port

linux

/dev/ttyUSB0

windows

COMx[:][baud=b][parity=p][data=d][stop=s][to={on|off}][xon={on|off}][odsr={on|off}][octs={on|off}][dtr={on|off|hs}][rts={on|off|hs|tg}][idsr={on|off}]
  • finding out what COM port the usb adapter ended up might be tricky, you can use a tool like "Keyspan Serial Assistant"

rs232 over ip

piping to an external program

driver issues

handling of DTR and RTS seems to be completely missing. rs232dev_set_status, rs232dev_get_status, rs232dev_set_bps apparently are not called by the layer above