To verify that your serial connection functions properly:
- Open the Console view in the IDE and a command prompt window for Windows.
- In the Console view, type the following command:
stty raw 115200 par=none bits=8 stopb=1 </dev/ser1
- At a Windows command prompt, type the following command:
mode com1: baud=115200 parity=n data=8 stop=1
- In the Console view, type the following command:
cat </dev/ser1
- At the Windows command prompt, type the following command:
dir \*.* >com1:
In the Console view, you'll see a DOS directory listing.
- At the Windows command prompt, type the following command:
copy com1: con:
- 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.