Common problems connecting a PC to an embedded device:
1. Yes, you usually need the ground wire, unless you are running the PC
on the same power supply as the embedded device, in which case you
already have a ground wire coming in a different way.
2. If this is a laptop and you are out in the field, unplug the car
charger from the laptop. The inverters used can create nasty ground
loops that mess up communications and in rare occasions can blow up the
serial port on your embedded device.
3. Ensure you are running the correct software on your PC, that knows
the protocol to talk to the embedded device. Is your device talking
Modbus, AT modem commands, some proprietary protocol, etc?
4. Ensure no other software is running on the PC which might be using
the serial port. In general, only one program can use the serial port
at a time.
5. Ensure that the port settings match in the PC software and the
embedded device. Baud rate, parity, stop bits, etc. are important.
6. Some devices are expecting hardware handshaking on the serial port.
If this is the case, you either need to disable hardware handshaking,
or else hook up the extra pins needed on the serial port (RTS/CTS,
DTR/DSR, etc.) as well as just RX, TX, and GND.
Hope this helps!
Tim Kirk
[email protected]
Rogue Engineering Inc
http://www.rogue-engr.com