MatrixPhreak
New Member
Hi, I'm new to the forums and haven't done much browsing around. But I've got a problem and I hope you can help me.
I've been trying, in vain, to program a PIC16F872 using Picc. First, my MPLAB says I don't have "PCM" installed, so it won't compile but I got around that by getting the CCS PICC Compiler.
Soooo, I throw my code into that, compile a .hex file, import that to MPLAB, hit program, and all seems to work right. Until I apply power to the circuit, however... at which point nothing happens. I've checked and rechecked the wiring, and the only thing that seems dubious is the clock (I'm using one of those two-pronged crystal oscillators and I'm a little confused over the placement of the capacitors).
If anyone could help me out by telling me how to wire that chip up or giving me just some simple sample code to test out, it would be much appreciated. Or, if it's a problem with how I'm sending code to the microcontroller, perhaps that could be fixed too?
Any help is appreciated, though... and thank you in advance
I've been trying, in vain, to program a PIC16F872 using Picc. First, my MPLAB says I don't have "PCM" installed, so it won't compile but I got around that by getting the CCS PICC Compiler.
Soooo, I throw my code into that, compile a .hex file, import that to MPLAB, hit program, and all seems to work right. Until I apply power to the circuit, however... at which point nothing happens. I've checked and rechecked the wiring, and the only thing that seems dubious is the clock (I'm using one of those two-pronged crystal oscillators and I'm a little confused over the placement of the capacitors).
If anyone could help me out by telling me how to wire that chip up or giving me just some simple sample code to test out, it would be much appreciated. Or, if it's a problem with how I'm sending code to the microcontroller, perhaps that could be fixed too?
Any help is appreciated, though... and thank you in advance