I just downloaded and installed GCBASIC and tried to compile a very simple program and recieved the error listed below. Can anyone point me to what I need to do to correct this? Thanks in advance!
00007 ;Set up the assembler options (Chip type, clock source, other bits and pieces)
00008 LIST p=18F4525, r=DEC
00009 #include <P18F4525.inc>
00001 LIST
00002
00003 ;==========================================================================
00004 ; $Id: p18f4525.inc,v 1.6 2006/08/19 02:39:39 craigfranklin Exp $
00005 ; MPASM PIC18F4525 processor include
00006 ;
00007 ; (c) Copyright 1999-2005 Microchip Technology, All rights reserved
00008 ;==========================================================================
00009
01327 LIST
Error [174] : Unknown opcode "CONFIG"
00010 CONFIG WDT=OFF, LVP=OFF, MCLRE=OFF, OSC=HS
00011
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can't help you if this is some sort of Linux thing. The .dat file seems fine for the 18f4525 blink led under MPASM for Windows 9X (Ver. 5.20). So try updating to newer MPASM? And, make sure that you have installed the update zip from the GCBasic Website/latest build.
00007 ;Set up the assembler options (Chip type, clock source, other bits and pieces)
00008 LIST P=18F4525, R=DEC
00009 #INCLUDE <P18F4525.INC>
00001 LIST
00002
00003 ;==========================================================================
00004 ; MPASM PIC18F4525 processor include
00005 ;
00006 ; (c) Copyright 1999-2007 Microchip Technology, All rights reserved
00007 ;==========================================================================
00008
01333 LIST
02 1F 1E 03 81 0F C0 000010 CONFIG WDT=OFF, LVP=OFF, MCLRE=OFF, OSC=HS
F E0 0F 40
00011
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This error is due to a lack of caution by me! When I released the last version, I assumed that gputils would support the CONFIG directive like MPASM. Unfortunately, it didn't at the time, and so this has caused trouble for people using 18Fs.
I just downloaded and installed GCBASIC and tried to compile a very simple program and recieved the error listed below. Can anyone point me to what I need to do to correct this? Thanks in advance!
00007 ;Set up the assembler options (Chip type, clock source, other bits and pieces)
00008 LIST p=18F4525, r=DEC
00009 #include <P18F4525.inc>
00001 LIST
00002
00003 ;==========================================================================
00004 ; $Id: p18f4525.inc,v 1.6 2006/08/19 02:39:39 craigfranklin Exp $
00005 ; MPASM PIC18F4525 processor include
00006 ;
00007 ; (c) Copyright 1999-2005 Microchip Technology, All rights reserved
00008 ;==========================================================================
00009
01327 LIST
Error [174] : Unknown opcode "CONFIG"
00010 CONFIG WDT=OFF, LVP=OFF, MCLRE=OFF, OSC=HS
00011
Can't help you if this is some sort of Linux thing. The .dat file seems fine for the 18f4525 blink led under MPASM for Windows 9X (Ver. 5.20). So try updating to newer MPASM? And, make sure that you have installed the update zip from the GCBasic Website/latest build.
00007 ;Set up the assembler options (Chip type, clock source, other bits and pieces)
00008 LIST P=18F4525, R=DEC
00009 #INCLUDE <P18F4525.INC>
00001 LIST
00002
00003 ;==========================================================================
00004 ; MPASM PIC18F4525 processor include
00005 ;
00006 ; (c) Copyright 1999-2007 Microchip Technology, All rights reserved
00007 ;==========================================================================
00008
01333 LIST
02 1F 1E 03 81 0F C0 000010 CONFIG WDT=OFF, LVP=OFF, MCLRE=OFF, OSC=HS
F E0 0F 40
00011
sorry for my english
is possible only case-sensitive error??
deselect it in your programmer and retry again (ignore error)
auguri piero
This error is due to a lack of caution by me! When I released the last version, I assumed that gputils would support the CONFIG directive like MPASM. Unfortunately, it didn't at the time, and so this has caused trouble for people using 18Fs.
The simplest solution is to download and install the latest version of gputils from http://gputils.sourceforge.net/ .
Another option is to download the latest version of GCBASIC, and use the built in assembler; this is explained at https://sourceforge.net/forum/message.php?msg_id=4286525