VOGONS


Serial port error !!

Topic actions

First post, by tonychen35

User metadata
Rank Newbie
Rank
Newbie

Hi !! all friends !! This is my frist post !!
My problem is about serial port com 1 .
This my dosbox.conf :
core=auto
cycles=10000
cycleup=500
cycledown=20

serial1=directserial realport:com1 rxdelay:100 irq:4
serial2=directserial realport:com2 rxdelay:100 irq:3
serial3=disabled
serial4=disabled

When i connect my interface , the com2 is ok , but com1 have problem .
The error massege :

Serial1: errors occured:Framing 1 ,Parity 0,Overrun 0 (IFO:0) , Break 1

How can i do ? I use DOSBOX 0.70 ..
Please help me !!!Sorry about my english !!

Reply 1 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Do the errors prevent you form doing something? If not ignore it.

If COM1 and 2 are ports on the mainboard (not USB or something) its most likely an issue with the connected device. Could be wrong baud rate too. Might help if you elaborate what you need two ports for.

1+1=10

Reply 2 of 8, by tonychen35

User metadata
Rank Newbie
Rank
Newbie

Hi !! Hal9000 !!
How can i download "More serial port improvement" from your homepage ?
I must use 2 comports , because software must have , com2 is send signal and com1 is receive signal .
I use DOSBOX to diagnostic my car . The software is UNISCAN 183.
The interface link :
http://www.fuzing.com/vli/0022536e0232/Uniscan-version-183

I have download ".DLL package" to the DOSBOX directory , and start dosbox.exe , it show me the error massage : "can`t find program input point SDL_strlcat"(***SDL.dll).

Please help me !!

Reply 3 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

DOSBox 0.70 does have the improvements already. No need to download from my homepage.

I'm afraid DOSBox can't provide the precise timing needed to emulate the car protocol. Or maybe try with rxdelay:0.

1+1=10

Reply 4 of 8, by tonychen35

User metadata
Rank Newbie
Rank
Newbie

Hal9000 !! thanks !!
I think the car protocol is ok with dosbox .
Because the interface between pc has communication , the LED will be flash .
I want to know ,why have Break:1 ?
How can i test comport ?

thank you !! * 1000 times !!^_^

Reply 5 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Those errors can even occur when you plug in. Or might be part of the communication...

1+1=10

Reply 6 of 8, by manocao

User metadata
Rank Newbie
Rank
Newbie

here are two debug files created with dosbox-debug.exe in megabuild6 for com1.
http://www.megaupload.com/?d=9F7KWU6R
with directserial, only cycles=auto works (cycles=max makes visa 1.83 crash at the beginning).
with nullmodem server (and vspe), cycles=max works faster
com2 still blinks ok but com1 does nothing
please take a look to debug files, maybe you find the communication problem.
dosbox-debug.exe gives a lot of info, i can see what dbcodici.exe is doing/calling at every moment, it is great!

Reply 7 of 8, by manocao

User metadata
Rank Newbie
Rank
Newbie

ps: the problem about visa crashing in dosbox with directserial was the configuration cycles=max

when i select cycles=auto, it runs very slowly (3000 cycles) but doesnt crash at all

Reply 8 of 8, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Another great necroposting.

[Thread moved and locked]