Verifying a serial connection

To verify that your serial connection functions properly:
  1. Open the Console view in the IDE and a command prompt window for Windows.
  2. In the Console view, type the following command: stty raw 115200 par=none bits=8 stopb=1 </dev/ser1
  3. At a Windows command prompt, type the following command: mode com1: baud=115200 parity=n data=8 stop=1
  4. In the Console view, type the following command: cat </dev/ser1
  5. At the Windows command prompt, type the following command: dir \*.* >com1: In the Console view, you'll see a DOS directory listing.
  6. At the Windows command prompt, type the following command: copy com1: con:
  7. In the Console view, type the following command: ls /* >/dev/ser1 At the Windows command prompt, you'll see a QNX Neutrino directory listing.
Now, if you are successful, you were able to confirm that you have a working serial connection between /dev/ser1 and COM1.
Related concepts
Preparing an embedded system for a Windows target
QNX Networking
Verifying a network connection
Related tasks
Linking an embedded system running QNX Neutrino to a Windows network connection