Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 124 Posts 6 Joined 2003-05-29 00:00 23-year member UID 2589 Gender Male
Status Offline
When I send data to the COM port, the program sometimes thinks the COM port is occupied, but actually it isn't.
What method can I use to solve this problem
Credits 306 Posts 81 Joined 2003-05-10 00:00 23-year member UID 1988 Gender Male
Status Offline
Old programs have poor compatibility.
1. First use the serial port with a Windows program, then after exiting try the DOS program again.
2. Check whether there are any special settings in the BIOS (especially on laptops).
3. Then the only choice is to exit the system and enter DOS mode
Credits 124 Posts 6 Joined 2003-05-29 00:00 23-year member UID 2589 Gender Male
Status Offline
Let me bump this again myself.
I hope that before sending data to the COM port, I can first forcibly clear the previous data, or make the program think the COM port is idle.
Many thanks to everyone for the help