How to use serial Debugging tools

Source: Internet
Author: User

Boast serial debugging tools can be used as a Universal serial debugging tool.

Serial debugging tools can be used to debug serial communication programs. At this time: Serial debugging tool as one end, serial communication program as the other end. When debugging, one end is sent and the other end is received. Multi-machine case, with a serial line connection 2 computers on it. Note: The computer interface is always a needle! This will require a serial port with holes in both ends. Check whether the serial port of the computer is normal: If only 1 computers, can be short connect the serial port 2, 3 pins (however, carefully burned the serial port!) at this time can use the Serial debugging tool to send data, if the serial port function is normal, the receiving window of the Serial debugging tool will have data echo; otherwise, the serial port function is not normal. Of course, 1 computers can also use the Serial Debugging tools to debug the serial communication program, then do not need hardware, but the need for virtual serial software tools

can also be used as a boast-led, domestic digital weighing sensor communication debugging tools. In the process of developing PC software, the software of this tool is written according to the actual needs of the computer. For the serial communication debugging brought convenience. In the process of software writing, some typical functions of SSCOM32.exe are referenced and some improvements are made.

If the 2 terminals are the serial port on this computer, be sure to verify that the serial Port debugging assistant opens the serial port you specified.

The parameter settings are shown in the following figure

Click "Open serial Port", the red area on the left turns green to open successfully, if not successful, please switch serial port option to "COM2", "COM3" and so on.

Using 16-In-System debugging

With 16-In-system debugging, you can use the 16-in-debug serial port data to verify the package of other software.

On the left, find the text displayed in 16, and click the check box.

The information received after the opening of the serial port is displayed in 16, while the information sent is also sent in 16 format.

Use string to send and receive

If you select the ASCII display check box, enter the ASCII code transfer mode.

In this mode, the received and sent strings will be displayed and sent with the original invariant.

Note: If you have non-ASCII characters, you may not display them correctly.

Using File transfer features

With the file transfer feature, you can transfer files on 2 computers, which can be used for certain situations.

First by the receiving end after opening the serial port, press the Receive File button.

When you select a file, press the Send button,

(Vista if you choose to send a file button has no effect, please set this program to use the compatibility mode of the program, Windows XP SP2 compatibility mode)

The file starts the transfer, at which point you can see the progress bar sent at the 2 end.

After sending, the software will prompt!

Main functions such as:

1. Automatically search the serial port and open the serial port

2. Receive data can be used for hexadecimal and ASCII switching

3. When receiving data, the cursor always appears on the last line

4. Can send data to the specified serial port in 16 or ASCII format

5. Send data regularly

6. Monitor serial events in thread, no data, no receive

7. Can send special instruction read and write boast digital sensor inside code, modify address

8. Receive data can be saved as a file, or you can open a saved data file

9. Serial port opening process, can modify the communication parameters, such as baud rate

10. Automatically record the last operation parameters, such as serial number, baud rate, etc.

At the same time, it avoids several problems of SSCOM32.exe:

1. The motherboard does not have the serial port, cannot open the software

2. USB to the serial port, if the software is running in the process, unplug the USB plug, the software can not shut down the problem

3. Switch between Chinese and English

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.