Keil Logo

MCB520: Serial Port Examples in Manual Do Not Work


Information in this article applies to:

  • MCB520 Evaluation Boards
  • C51 Version 5.50

SYMPTOMS

When I try and run the example serial port programs in the MCB520 manual either the monitor appears to stop working or I get garbage out of Serial Port 0. Why?

CAUSE

The example programs are incorrect. They were written based on the assumption that the monitor uses Serial Port 0 and timer 2 for communications with dScope. This is incorrect. The monitor uses Serial Port 1 and timer 1. The examples all modify timer 1, which stops the monitor from working.

RESOLUTION

Modify the examples so they use timer 2. Then, communications between the PC and monitor will not be disrupted.

MORE INFORMATION

For more information about the MCB520 evaluation board, refer to the following URL: http://www.keil.com/mcb520


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.