Hey, I am trying to blink LED with PIC32MX220F032B.
Led is connected with resistor to pin RB5.
I am using microC pro for PIC32 IDE/compiler.
I am programming it with ICSP and the hex is written correctly.
This is my code:
I have tried various config bits configurations, I have tried connecting oscillator (12MHz or so) but the LED is always on no matter what I do.
The PIC is not in reset state because I've added the 10k resistor to MCLR as always.
Can anyone help me? Any suggestions are welcome.
Do you know that PIC32 works from 3.3V and not 5V ? MCLR pulled to 3.3V using a 10k resistor ? Zip and post the complete mikroC PRO PIC32 project files. I will check if the project settings are right. What frequency crystal are you using ?
Try the attached project with a 12 MHz crystal. I have not used PLL. I think the problem was with JTAGEN_bit.