I've written a simple door alarm program for the 12F509 but I am getting an unknown processor error message. I've put the #chip 12F509 directive at the start and checked that p12F509.inc is in the appropriate directory. It compiles OK when I use #chip 12F675.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems to be an issue with gputils not supporting the 12F509. You'll need to download and install MPLAB, and then alter the C:\Program Files\GCBASIC\assemble.bat file so that is as follows:
I've written a simple door alarm program for the 12F509 but I am getting an unknown processor error message. I've put the #chip 12F509 directive at the start and checked that p12F509.inc is in the appropriate directory. It compiles OK when I use #chip 12F675.
This seems to be an issue with gputils not supporting the 12F509. You'll need to download and install MPLAB, and then alter the C:\Program Files\GCBASIC\assemble.bat file so that is as follows:
@ECHO OFF
C:\Program Files\Microchip\MPASM Suite\mpasmwin /c- /o- /q+ /l+ /x- /w1 compiled.asm