Compiler problem
Posted: Mon Aug 08, 2016 1:27 am
I have a project in F7 that uses a PIC18F252, but will not compile to generate a HEX file...........errors reported as per below. No problem when compiling and assembling with boostC in FC6.
In an attempt to discover where the problem is, I have systematically removed each and every part/component of the program until there is only the Start and End icon and the processor. Error messages still occur. It seems the issue is with the PIC18F252..............
Starting a new project with just start and end icons and a PIC18F252 generates the same message when compiling. Also tried a PIC18F258 and a PIC 18F452 with the same results..........
Can anyone help please -
Thanks
Richard
Target folder: E:\COMMON~1\FLOWCO~2\DUSTSE~1
Source name: E:\COMMON DATA\Flowcode 7\Dust Sensor\Dust module_compiler_testoing.fcfx
Title:
Description:
Device: PIC.18F.18F452
Generated by: Flowcode v7.0.0.4
Date: Monday, August 08, 2016 11:59:25
Users: 1
Registered to: XXXXXXXX
Licence key: YYYYYY
http://www.flowcode.co.uk
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe --chip=18F452 "Dust module_compiler_testoing.c" --MSGDISABLE=359,1273,1388
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Microchip MPLAB XC8 C Compiler (Free Mode) V1.36
Build date: Jan 14 2016
Part Support Version: 1.36
Copyright (C) 2016 Microchip Technology Inc.
License type: Node Configuration
Employing 18F452 errata work-arounds:
* Address 4000h boundary
* Faulty table reads at -40 degrees C
* GOTO instruction at reset vector must be preceded by NOP
* Peripherals can misbehave if BSR = 15
* DAW instruction may improperly clear CARRY bit
* Specifically disable interrupt sources during tblwt instruction
* Writes to flash must target opposite side of 4000h boundary
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Dust module_compiler_testoing.cmf: 325: (908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
FINISHED
In an attempt to discover where the problem is, I have systematically removed each and every part/component of the program until there is only the Start and End icon and the processor. Error messages still occur. It seems the issue is with the PIC18F252..............
Starting a new project with just start and end icons and a PIC18F252 generates the same message when compiling. Also tried a PIC18F258 and a PIC 18F452 with the same results..........
Can anyone help please -
Thanks
Richard
Target folder: E:\COMMON~1\FLOWCO~2\DUSTSE~1
Source name: E:\COMMON DATA\Flowcode 7\Dust Sensor\Dust module_compiler_testoing.fcfx
Title:
Description:
Device: PIC.18F.18F452
Generated by: Flowcode v7.0.0.4
Date: Monday, August 08, 2016 11:59:25
Users: 1
Registered to: XXXXXXXX
Licence key: YYYYYY
http://www.flowcode.co.uk
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe --chip=18F452 "Dust module_compiler_testoing.c" --MSGDISABLE=359,1273,1388
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Microchip MPLAB XC8 C Compiler (Free Mode) V1.36
Build date: Jan 14 2016
Part Support Version: 1.36
Copyright (C) 2016 Microchip Technology Inc.
License type: Node Configuration
Employing 18F452 errata work-arounds:
* Address 4000h boundary
* Faulty table reads at -40 degrees C
* GOTO instruction at reset vector must be preceded by NOP
* Peripherals can misbehave if BSR = 15
* DAW instruction may improperly clear CARRY bit
* Specifically disable interrupt sources during tblwt instruction
* Writes to flash must target opposite side of 4000h boundary
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 1 is not unsigned long of base 16
Dust module_compiler_testoing.cmf: 181: (1437) CMF error: token 4 is not unsigned long of base 10
Dust module_compiler_testoing.cmf: 325: (908) exit status = 1
(908) exit status = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
FINISHED