Minesgeek
10-23-2006, 12:49 AM
Hello,
I'm just getting into programming pic's, and I'm using a pic in my senior design project. I have an issue programming a PIC16F627A, the software has been tested on a PIC16F84, but I would like to use the '627A for the internal oscillator. I'm using an EPIC programmer with a PICBASIC PRO 2.45 compiler, and the MELABS Beta 4.0 loader software. Here is the code (hardly qualifies as programming):
output PORTA.0
input PORTA.1
dir1 var PORTA.1
led VAR PORTA.0
loop:
LED = DIR1
goto loop
end
This is just test code I'm trying to get to run, all it is meant to do is turn on an LED on PORTA.0, when I press a switch attached to PORTA.1. Works just fine with the 'F84, all I change is the compiler/loader option from 'F84 to the '627A, and change the configuration file to internal oscillator. I don't change the circuitry from 'F84 to the '627 except for removing the 2 caps and the crystal. With these same changes I can get both to run a simple blink program. Any suggestions and/or advice is greatly appreciated.
Thanks,
Minesgeek
I'm just getting into programming pic's, and I'm using a pic in my senior design project. I have an issue programming a PIC16F627A, the software has been tested on a PIC16F84, but I would like to use the '627A for the internal oscillator. I'm using an EPIC programmer with a PICBASIC PRO 2.45 compiler, and the MELABS Beta 4.0 loader software. Here is the code (hardly qualifies as programming):
output PORTA.0
input PORTA.1
dir1 var PORTA.1
led VAR PORTA.0
loop:
LED = DIR1
goto loop
end
This is just test code I'm trying to get to run, all it is meant to do is turn on an LED on PORTA.0, when I press a switch attached to PORTA.1. Works just fine with the 'F84, all I change is the compiler/loader option from 'F84 to the '627A, and change the configuration file to internal oscillator. I don't change the circuitry from 'F84 to the '627 except for removing the 2 caps and the crystal. With these same changes I can get both to run a simple blink program. Any suggestions and/or advice is greatly appreciated.
Thanks,
Minesgeek