Serial Port Internal Loopback Test Failed

 

Serial port loopback pin-outs & Parallel port loockback pin-outs, wiring diagrams. Home » Hardware » Serial and Parallel Loopback Plugs » How to make your own loop back plugs. How to make your own loop back plugs. You have done a poor job soldering the wires and shorted out some additional pins or failed to make a good termination on.

Active3 years, 2 months ago
$begingroup$Test
  • A simple serial interface loopback test, called paperclip test, is sometimes used to identify serial ports of a computer and verify operation. It utilizes a terminal emulator application to send characters, with flow control set to off, to the serial port and receive the same back.
  • See More: DOS - Modem Failed INternal Loopback Test. (COM1) and secondary (COM2) address for the serial interface, When to change - To change the integrated serial interface to COM2 when adding an additional serial device addressed as COM1. For example a modem”. › Serial Port Communication Under MS-DOS 6.22.
  • 6 Common Communication Problems Involving Serial Connections. The Files Manager in the Advanced settings on the datalogger allows logging traffic on a serial port.
  • RXTX Loopback Test Program(1) Filed under. Or RXTX library has internal bug. So, here’s some simple loopback test program to test the RXTX. Note that you will need the RS232 loopback plug (it’s pin-3 and pin-2 are connected), like the schematic below, to use the program. * Get the serial port input stream * @return The.

I have connected pin 2 to pin 3, pin 4 to pin 5, and pin 6 to pin 20.

Can someone please tell me if this is the correct wiring for loopback testing a parallel port?

Ia am using BurnInTest 7.1 Pro by PassMark Software for the test. Is this the right software for this job? This is the error I receive.

Corruption. Data received didn't match data sent. Check plug is connected.

The image above shows the program window 52 seconds into the test.

The image above shows the status window 1 minute and 47 seconds into the test.

As you can tell by the images posted above, there is something wrong. How is it possible to send 40 bytes and recieve 80 bytes? I mean how can you receive twice as much as you send? This makes no sense to me. Does it make sense to you? You can see that the number of errors shown in this window is 39, which is more or less the same amount redundant data that was received.

80-40=40≈39

Can I trust these results? I have used the same program to loopback test a serial port and it did, and after 15 minutes of testing it gave me a big 'PASSED' message in green letter. So I know it works for serial port testing. But does that make it trustworthy/reliable for parallal port testing?

A DB25 connector can be used either for parallel communication or for serial communication. A DE9 connector can only be used for serial communciation. My mistake here was that I wired a DB25 connector for serial communication, instead of parallel. After rewiring the loopback test passed flawlessly.

See the answer below for the proper wiring of a DB25 for parallel communication.

Here are some images that show the same test being done with the proper parallel wiring. I have taken these screenshots with respect to the elapsed time of the previous ones, so you can compare them.

Main program window, 52 seconds into the test.

The status window, 1 minute and 47 seconds into the test.

S2 gt i9100 md5 price. Are you looking for the stock ROM firmware of your device Samsung Galaxy S2 GT I9100?

Passing the test..

The test result window.

Main program window showing test duration, number of cycles, operations and result.

The DB25 connector..

Here's a picture of the connector. It's a female connector. This made jumpering harder for me.

I didn't have a proper, insulated wire with the right size. So I used a 1.0 mm diameter brass wire instead. It's a good thing it's sturdy and yet soft enough for easy bending. I made sure not to touch any adjecent conductor. It's hard to find electrical wire with the diameter of 1 mm, they are rare. This 1 mm was a perfect fit. It can be slightly thicker, but not less than that. You can use a paper clip, a.k.a. 'paper clip test', but it's a bit sturdier (thicker) and hard to work with.

Samir
SamirSamir
$endgroup$

2 Answers

$begingroup$

The PassMark web site, the company whose software is being used, provides the loopback connection pin-outs for the relevant types of connectors, including 9 pin DE-9 Serial, 25 pin DB-25 Serial, and 25-pin DB-25 Parallel.

The pin-out that failed was for DB-25 Serial connectors. The DB-25 parallel port loopback connection is provided:

  • Data 0 and Error status (Pin 2 & 15)
  • Data 1 and Select status (3 & 13)
  • Data 2 and Paper out status (4 & 12)
  • Data 3 and Acknowledge status (5 & 10)
  • Data 4 and Busy status (6 & 11)

Serial Port Loopback Test Software

They also provide a diagram, of the male DB-25 connector as seen from its rear:

Also relevant, PassMark recommends that the parallel port be set to ECP or EPP mode, and not SPP mode, for loopback testing to work.

Anindo Ghosh

Ethernet Loopback Test

Anindo Ghosh

Ethernet Loop Back Test

46.8k8 gold badges89 silver badges174 bronze badges
$endgroup$$begingroup$

Communications over a parallel port is half-duplex, not full-duplex as it is on a serial port. As such, the 'plug' needs to contain active circuitry — a data latch plus some handshaking logic — in order to do a valid 'loopback test'. Simply jumpering some pins with wires is not sufficient.

EDIT: As Anindo points out, there is a way to communicate 4 or 5 bits at a time over a parallel port, full duplex, without external logic. This is how the old 'LapLink' cables worked. However, most newer parallel port devices (printers and scanners, etc.) use the port in 8-bit half-duplex mode, and this was the sort of test I assumed you were talking about.

FailedDave TweedDave Tweed
133k11 gold badges168 silver badges287 bronze badges
$endgroup$

Not the answer you're looking for? Browse other questions tagged wiringporttestingparallel-port or ask your own question.

Copyright © 2020 d5jxi.netlify.com