0
\$\begingroup\$

I'm simulating this circuit below in Proteus 8.1. It basically consists of a switch that, when pressed should send a signal to port A, and then port B should light a LED.

Schematic

I am using PIC18F4550, and the exact error I am getting is: $MCLR$ is low processor is in reset.

How can I solve this?

\$\endgroup\$
2
  • 3
    \$\begingroup\$ You'll need to provide a lot more information. For starters, how about a schematic of your circuit? And what software are you using that prints out that message? \$\endgroup\$
    – Dan Laks
    Commented Oct 1, 2014 at 16:17
  • \$\begingroup\$ I am using proteus 8.1, this is my circuit imgur.com/06UprRP \$\endgroup\$
    – Ruben
    Commented Oct 1, 2014 at 16:21

1 Answer 1

3
\$\begingroup\$

One obvious problem is that you don't have power connected to the processor. You also left the PGM pin floating.

Since nothing is connected to the oscillator pins, you have to make sure the processor is configured to run from the internal oscillator.

Otherwise, a 10 kΩ pullup on MCLR to Vdd is fine.

\$\endgroup\$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.