Keil Logo

MCB520: WRITING TO PORT 1 CAUSES PROBLEMS WITH DEBUGGER


Information in this article applies to:

  • MCB520 Evaluation Boards

SYMPTOMS

I am using the MCB520 Evaluation Board and debugger with MON51. Whenever I write to Port 1 on the board I lose communication with dScope. What is going on?

CAUSE

Pins P1.2 and P1.3 are used as RXD1 and TXD1 respectively for transmit and receive of Serial Interface 1 on the MCB520. When you write to these pins it destroys the serial communications between the MCB520 board and the debugger.

RESOLUTION

You can solve this problem by using Serial Interface 0 on the MCB520. This is achieved by rebuilding the MON51 monitor program for Serial Interface 0 (you can rebuild the Monitor by running 'Install' in the MON51 directory). Refer to the section titled 'Install Invocation' in the MON51.HLP file inside the BIN directory.

The original monitor supplied with the MCB520 board is stored on EPROM. This can be erased and the new monitor programmed in. Alternatively the new monitor can be placed into RAM or some other type of memory.

You must plug your serial cable into the connector marked SIO 0 on the MCB520. Ensure that switches SW2-7 (T0) and SW2-8 (R0) are set to the ON position to connect Serial Interface 0 to the microcontroller.

MORE INFORMATION

More information can be found in the MCB520 Evaluation Board User's Guide.

Serial Ports 0 and 1 are described on page 21. The microcontroller port pin assignments are described on page 23. The switched T0 and R0 are described on page 61.

Last Reviewed: Tuesday, July 19, 2005


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.