Skip to main content
1 of 5

Checking if microchip or soft is broken

I'm build a circuit with a pic18F4550, I'm trying to power up 8 leds, but I get no output voltage from any output pin.

I suspect the pic might be broken because while building the circuit I made two mistakes:

  • I wired the 5v regulator wrongly, and supplied 9v to the pic for the first time
  • on one side of the pic I connected power to vss and ground to vcc

However, after noticing my mistakes and fixing them, I reprogrammed pic and got no error (I'm using MPlabX and PicKit2). Also the pic is not heating up or anything like that.

I triple checked all the wires and schematics, but there is only 5v in the two vcc pins, and 0v in the output ports.

This is my program:

void main(void){
    TRISD = 0x00;
    PORTD = 0xFF;
}

Could my pic be broken? and how can I check or debug the issue? I'm newbie at both soft and electronics.