25 August 2017, 22:10 | #21 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
On the two Amigas setup the CD (carrier detect) signal is off.
|
25 August 2017, 22:19 | #22 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
I don't think PC serial port can drive CD signal (input only). Amiga uses CIAs which can be configured in either direction.
It also depends on null modem cable wiring, I think most of them connect DTR to CD or something similar. |
25 August 2017, 22:20 | #23 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
DTR = 1 appears in the log. The last part of the log are the commands i'm sending over and the amiga responds (disk drive activity).
|
26 August 2017, 18:07 | #24 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Does win32 Putty in serial port mode also work? (Amiga side DSR gets activated)
I used putty in testing and I couldn't find anything special in sources. |
26 August 2017, 19:25 | #25 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Putty works fine (aside from some character translation hickups). I use Tera Term since it supports Zmodem out of the gate and can be made more amiga shell friendly.
|
26 August 2017, 20:01 | #26 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
It is really fixed now.
Changing baudrate reset DTR state. It is possible GetCommState() returned current state in some older Windows version (not the default) or previously baud rate was not changed. |
26 August 2017, 20:23 | #27 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Still not working here
|
26 August 2017, 20:53 | #28 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Did you confirm file was updated? (not cached or something)
|
26 August 2017, 21:11 | #29 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
About shows Public Beta 2 2017.08.26, exe's size 14 623 744. Same results.
|
26 August 2017, 21:23 | #30 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Date and size don't help much, size is aligned to page size (or something larger). Time is more important.
Also attach your config because this makes no sense anymore.. |
26 August 2017, 21:28 | #31 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
There we go. Time was 20:53.
|
26 August 2017, 21:50 | #32 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
And another attempt, it really looks like there is device or windows version specific differences..
Include also log. |
26 August 2017, 22:01 | #33 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Time 21:47.
The only difference is that I don't get a "Can't find DSR" or something like that from Term when I start it and the A600 hasn't loaded the AUX: yet. The same message appeared on the two real Amigas setup. |
27 August 2017, 08:31 | #34 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Unfortunately it looks like your adapter has issues. "Normal" terminal programs set initial DTR and RTS/CTS mode at startup, when opening serial port handle and this works fine.
WinUAE initializes both in inactive state, then it follows Amiga CIA chip writes, and any state change after init seems to be ignored in your system (EscapeCommFunction(handle, onoff ? SETDTR: CLRDTR);). Log shows call return no error but it still does nothing. |
27 August 2017, 08:52 | #35 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
|
ppill,
Perhaps your old "working" XP install used a vendor specific driver for the prolific USB device, but your current Windows installed a native driver? These USB to serial devices are nothing but trouble in my experience, partly the reason why I use my A1200 for everything serial related in the lab. |
27 August 2017, 10:06 | #36 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Figured it had something to do with the drivers (they're vendor specific). Oh well a new adapter is on its way, based on a different chip and I'll let you know how that works.
Thanks Toni for taking the time to check this. At least now it should work with better adapters A cool feature might be adding a winser.device in WinUAE that would talk to the serial port directly (passing all the SER CIA stuff). Or maybe emulating some of the clockport, zorro serial adapters that came out (SilverSurfer etc.). |
27 August 2017, 10:32 | #37 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
uaeserial.device? Each unit number is mapped to PC serial port (COM3 = unit 3 etc)
Note that you it never set DTR when opened (vs what serial.device does), this is fixed in yesterday's update. For some odd reason serial.device API does not have any way to manually set/reset DTR (or other control lines). |
27 August 2017, 11:10 | #38 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
What the options should be when ueaserial.device is ticked?
When I choose my serial port from the pull down menu. Tick rts/cts and uaeserial.device, Term fails to open it (unit 1 since it's COM1 on the PC). With no serial chosen and just uaeserial.device ticked WinUAE crashes when Term tries to open it. |
27 August 2017, 12:09 | #39 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
They are completely separate (uaeserial.device does not affect other options) except it is not possible to open same PC port twice.
Quote:
|
|
27 August 2017, 13:20 | #40 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
IT WORKS!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PC Serial to Amiga Serial | lesta_smsc | support.Hardware | 48 | 02 December 2015 10:14 |
serial.device troubles | dannystaple | New to Emulation or Amiga scene | 3 | 03 June 2005 11:00 |
AVIOutput troubles | Dr.Venom | support.WinUAE | 4 | 30 May 2004 13:04 |
MCP troubles..? | Error | support.WinUAE | 11 | 22 January 2004 09:57 |
530T troubles. | Miggy2TheMax | support.Hardware | 28 | 15 April 2002 03:36 |
|
|