А ведь у меня есть PCI-COM на чипе производства Oxford. Посмотрим работу с ним, квитирование отключено, 2 стоп-бита.
BRKT1A:
BRKT2:Код:=================================== BRKT1 - Test COM-port BREAK Part #1a =================================== Test 1: Ask HX Server for 0.3 ms BREAK.. Recived bytes: «374» Test 2: Ask HX Server for 1 ms BREAK.. Recived bytes: «000» Test 3: Ask HX Server for 2 ms BREAK.. Recived bytes: «000» Test 4: Ask HX Server for 20 ms BREAK.. Recived bytes: «000» Test 5: Ask HX Server for 50 ms BREAK.. Recived bytes: «000» =================================== BRKT1 - Test COM-port BREAK Part #1a =================================== Test 1: Ask HX Server for 0.3 ms BREAK.. Recived bytes: «374» Test 2: Ask HX Server for 1 ms BREAK.. Recived bytes: «000» Test 3: Ask HX Server for 2 ms BREAK.. Recived bytes: «000» Test 4: Ask HX Server for 20 ms BREAK.. Recived bytes: «000» Test 5: Ask HX Server for 50 ms BREAK.. Recived bytes: «000»
BRKT3E:Код:=================================== BRKT2 - Test COM-port BREAK Part #2 =================================== Test 1: Send SHORT BREAK.. «370» Test 2: Send 1 byte BREAK.. _Break_«000» Test 3: Send 2 byte BREAK.. _Break_«000» Test 4: Send 3 byte BREAK.. _Break_«000» Test 5: Send 10 byte BREAK.. _Break_«000» Test 6: Send 20 byte BREAK.. _Break_«000» Test 7: Send Bad Frame 1 .. _Break_«000»«036»0«301» Test 8: Send Bad Frame 2 .. _Break_«000»~«366»«377» =================================== BRKT2 - Test COM-port BREAK Part #2 =================================== Test 1: Send SHORT BREAK.. «370» Test 2: Send 1 byte BREAK.. _Break_«000» Test 3: Send 2 byte BREAK.. _Break_«000» Test 4: Send 3 byte BREAK.. _Break_«000» Test 5: Send 10 byte BREAK.. _Break_«000» Test 6: Send 20 byte BREAK.. _Break_«000» Test 7: Send Bad Frame 1 .. _Break_«000»«036»0«301» Test 8: Send Bad Frame 2 .. _Break_«000»~«366»«377»
BRKT4:Код:=================================== BRKT3 - Test COM-port BREAK Part #3e =================================== Ask HX Server for 50 ms BREAK.. 00000000 10000000 00000000 10000000 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 Test completed =================================== BRKT3 - Test COM-port BREAK Part #3e =================================== Ask HX Server for 50 ms BREAK.. 00000000 10000000 00000000 10000000 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00000000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 00010000 10000001 Test completed
Код:=================================== BRKT4 - Test COM-port BREAK Part #4 =================================== Test 1: Send 0377 - Wait half bits - set 1 byte BREAK _Error_«017»«340» Test 2: Send 0377 - Wait half bits - set 2 byte BREAK _Error__Error_«017»«000»«200» Test 3: Send 0377 - Wait half bits - set 8 byte BREAK _Error__Error_«017»«000»«000»«000»«000»«000»«000»«000»_Error+0__Error_«000»«370» Ask HX Server for ECHO: 'AB' - Wait 100 ms - Read bytes.. A Ask HX Server for ECHO: 'ABC' - Wait 100 ms - Read bytes.. A Test completed =================================== BRKT4 - Test COM-port BREAK Part #4 =================================== Test 1: Send 0377 - Wait half bits - set 1 byte BREAK _Error_«017»«340» Test 2: Send 0377 - Wait half bits - set 2 byte BREAK _Error__Error_«017»«000»«200» Test 3: Send 0377 - Wait half bits - set 8 byte BREAK _Error__Error_«017»«000»«000»«000»«000»«000»«000»«000»_Error+0__Error_«000»«370» Ask HX Server for ECHO: 'AB' - Wait 100 ms - Read bytes.. A Ask HX Server for ECHO: 'ABC' - Wait 100 ms - Read bytes.. A Test completed




Ответить с цитированием