ARM Technical Support Knowledge Articles

PORT 1 ERROR MESSAGE BOX

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

I'm running the debugger and I receive the following error message:

PORT 1 ERROR

You have tried to modify a port pin which is configured as output!

Why am I receiving this message?

ANSWER

This error happens when you try to input some data into Port PIN and, at the same time, you're outputting data.

For example, the instruction

P1 ^= 0x01;               /* Toggle P1.0 each time we print */

During the execution of this instruction, if you manually try to change the state of the physical P1.0 PIN ( Pins ) you will receive this error message. It means that you are outputting and inputting a signal over the port pin at the same time.

RESOLUTION

You may modify Port Pins when you are not outputting data over it.

Article last edited on: 2004-04-20 13:28:23

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential