My PIC18F4550 works fine when connected to the PicKit2 debugger, but now that I want to run the device by itself it refuses to turn on. I have set the MCLR pin to high and still it does not turn on. Is there something I'm missing?
MCLR still needs a resistor pulled high... and make sure your FOSC settings are correct. I ran into many problems just because the OSC setting was different heh
MCLR still needs a resistor pulled high... and make sure your FOSC settings are correct. I ran into many problems just because the OSC setting was different heh
Yes I'm using a 20Mhz crystal. I'm using a PIC18F4550 which is on the FS USB board, and have replicated the parts of the demo board relevant to the USB part of the program (just two LEDs and the USB connections really). Then I have a IR detector which pulses an input into pin 17 for capture. (I'm making an IR remote that just acts like a keyboard to the computer to provide shortcut key combinations).
This might sound stupid but...
Did you program the chip or are did you simply use it in DEBUG and disconnected then tried to run it alone? There is a difference from using it in MPLAB and Programming it you know.
This might sound stupid but...
Did you program the chip or are did you simply use it in DEBUG and disconnected then tried to run it alone? There is a difference from using it in MPLAB and Programming it you know.