For some chips (16f886 for example) GCBasic compiles, but there seems to be some problem in converting the .asm file to .hex.
The following is the top part of the compile.err file that is created.
compiled.asm:8:Error Unknown processor.
C:\Program Files\gputils\header\P16F886.inc:556:Error Processor type is undefined.
The p16f886.inc file does exist in the appropriate directory and I have a new version of gpasm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I've found the problem. It seems that some of the common processors are already contained in the gpasm.exe file. If you want to program more unusual processors the gputils header file needs to be in the same file as gpasm.
I had the gpasm in the same file as GCBasic , but the confusing part is it worked ok for many processors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For some chips (16f886 for example) GCBasic compiles, but there seems to be some problem in converting the .asm file to .hex.
The following is the top part of the compile.err file that is created.
compiled.asm:8:Error Unknown processor.
C:\Program Files\gputils\header\P16F886.inc:556:Error Processor type is undefined.
The p16f886.inc file does exist in the appropriate directory and I have a new version of gpasm
Ok I've found the problem. It seems that some of the common processors are already contained in the gpasm.exe file. If you want to program more unusual processors the gputils header file needs to be in the same file as gpasm.
I had the gpasm in the same file as GCBasic , but the confusing part is it worked ok for many processors.