English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 25 August 2017, 22:10   #21
ppill
CON: artist
 
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
On the two Amigas setup the CD (carrier detect) signal is off.
ppill is offline  
Old 25 August 2017, 22:19   #22
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by ppill View Post
On the two Amigas setup the CD (carrier detect) signal is off.
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.
Toni Wilen is offline  
Old 25 August 2017, 22:20   #23
ppill
CON: artist
 
ppill's Avatar
 
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).
Attached Files
File Type: txt winuae_log.txt (25.6 KB, 103 views)
ppill is offline  
Old 26 August 2017, 18:07   #24
Toni Wilen
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.
Toni Wilen is offline  
Old 26 August 2017, 19:25   #25
ppill
CON: artist
 
ppill's Avatar
 
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.
ppill is offline  
Old 26 August 2017, 20:01   #26
Toni Wilen
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.
Toni Wilen is offline  
Old 26 August 2017, 20:23   #27
ppill
CON: artist
 
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
Still not working here
ppill is offline  
Old 26 August 2017, 20:53   #28
Toni Wilen
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)
Toni Wilen is offline  
Old 26 August 2017, 21:11   #29
ppill
CON: artist
 
ppill's Avatar
 
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.
ppill is offline  
Old 26 August 2017, 21:23   #30
Toni Wilen
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..
Toni Wilen is offline  
Old 26 August 2017, 21:28   #31
ppill
CON: artist
 
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
There we go. Time was 20:53.
Attached Files
File Type: uae ami1200.uae (12.6 KB, 54 views)
ppill is offline  
Old 26 August 2017, 21:50   #32
Toni Wilen
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.
Toni Wilen is offline  
Old 26 August 2017, 22:01   #33
ppill
CON: artist
 
ppill's Avatar
 
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.
Attached Files
File Type: txt winuaelog_.txt (25.7 KB, 117 views)
ppill is offline  
Old 27 August 2017, 08:31   #34
Toni Wilen
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.
Toni Wilen is offline  
Old 27 August 2017, 08:52   #35
modrobert
old bearded fool
 
modrobert's Avatar
 
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.
modrobert is offline  
Old 27 August 2017, 10:06   #36
ppill
CON: artist
 
ppill's Avatar
 
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.).
ppill is offline  
Old 27 August 2017, 10:32   #37
Toni Wilen
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).
Toni Wilen is offline  
Old 27 August 2017, 11:10   #38
ppill
CON: artist
 
ppill's Avatar
 
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.
ppill is offline  
Old 27 August 2017, 12:09   #39
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by ppill View Post
What the options should be when ueaserial.device is ticked?
They are completely separate (uaeserial.device does not affect other options) except it is not possible to open same PC port twice.

Quote:
With no serial chosen and just uaeserial.device ticked WinUAE crashes when Term tries to open it.
Fixed. Looks like this got broken few releases ago..
Toni Wilen is offline  
Old 27 August 2017, 13:20   #40
ppill
CON: artist
 
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
IT WORKS!
ppill is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.17868 seconds with 15 queries