What are the reasons for the serial port display garbled?

Source: Internet
Author: User
Tags error code

When the communication baud rate is 38400, the communication is normal, and the data (ASCII code) on the arm board shows normal.

But when the baud rate is 115200, the data of the solution will appear garbled phenomenon!

Use ARM2103 to send information to the computer, with the Serial Port Height wizard, always receive the error code.

Baud rate for several stalls, such as 9600 4800 2400 1200 (I used the crystal is 11M more points of that) and so have tried are garbled difference is a garbled come fast a garbled serial line 23 feet short connect to the normal spontaneous download to the SCM program is not a problem.

Really do not know, the reason appears in where!

1.USB to the problem of serial port

Solution: I used a 12-dollar kind of U-string, there have been garbled, change a good will be okay

2. The problem of the baud rate is not synchronized

WORKAROUND: The baud rate set on both sides is the same, causing problems like this

3. When the communication baud rate is 38400, the communication is normal, the data (ASCII code) on the arm board shows normal.

But when the baud rate is 115200, the data of the solution will appear garbled phenomenon!

Workaround: No

4. Use ARM2103 to send information to the computer, with the Serial Port Height wizard to see, has been receiving the error code

Solution: I used the 44b0 has been shown garbled problem, on the HyperTerminal display;

Later found in the boot assembler set the frequency of 60M, but in the initialization of the serial port is 40M, in the C language program forgot to reset the frequency

Oh, after the change is good

I don't know if this is you.

My current problem: is garbled, baud rate is the same! See if the problem is displayed:

This is really the reason, the following targeted ...

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.