- Tue Apr 15, 2008 10:21 am
#46462
I can't seem to get my chips to work. I'm just using a test LED and blink code. This is my circuit and code:
Please let me know what might be the problem. I can't seem to see it.
thanks.
Ps. here is the hex for my blink code (put in text file and save with .hex extention to test)
I was also trying to test with a 16f648a on port A and B with no luck either.
Code: Select all
No matter what pin (except MCLR and VDD) the LED won't light up. I know the LED works, I know the chip is getting power, and I know the MCLR res is 10k. I also verified the code on the chip after I tried it in the circuit to see if the circuit was erasing the chip, but it verified fine.HIGH PORTD.1
loop:
High 0 ' Turn on LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Low 0 ' Turn off LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
End
Please let me know what might be the problem. I can't seem to see it.
thanks.
Ps. here is the hex for my blink code (put in text file and save with .hex extention to test)
Code: Select all
I'm using picBasic Pro, IC-Prog to program on a PG2C. I haven't had any problems before using winPic to program, but it was giving me some problems lately so I switched over.:020000040000FA
:1000000028EF00F0046A036EFF0E0326D8A0042632
:10001000D8A025EF00F0030E026EDF0E02D8F4D751
:10002000026AE80F016E021EFC0ED8A003D0012662
:10003000D8B0FDD701260400023EF9D701B000D0A8
:1000400001A202D0000000D0120000010400120042
:100050008382959281809390010E046EF40ED3DF1B
:1000600081909390010E046EF40ECDDFF3D7030060
:02007000FED7B9
:020000040030CA
:04000000FFF9FFFF06
:02000600FBFFFE
:00000001FF
I was also trying to test with a 16f648a on port A and B with no luck either.