I get this output and messages not defined .
Also the ASM file has a SLEEP and I do not want my program to stop Ignition until the power is switch off !
Finding source files:
D:\#Allumage_jV\ProgrammePIC\Olivier120611.gcb: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\a-d.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\pwm.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\rs232.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\eeprom.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\sound.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\stdbasic.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\7segment.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\lcd.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\ps2.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\timer.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\system.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\hwspi.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\keypad.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\random.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\string.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\usart.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\i2c.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\hwi2c.h: found
Loading source files …
5% 11% 16% 21%
26% 32% 37% 42% 47%
53% 58%
63% 68% 74% 79% 84% 89% 95% 100%
Reading compiler directives …
Reading chip data …
E:\Program Files\GCBASIC\chipdata\18F1220.dat
Locating subroutines in program memory …
Calculating CONFIG …
Writing output to compiled.asm …
Done (Compile time: 3.277 seconds)
Summary:
Read by GCBASIC:
Input lines: 425
Variables: 87
Constants: 223
Subroutines: 173
Message CHIPUSAGE not defined in messages.dat!
Message USEDPROGRAM not defined in messages.dat!15592048
Message USEDRAM not defined in messages.dat!68256
Looks like a version of messages.dat that does not match the version of gcbasic.exe. Thanks for telling me, I've uploaded a new update that hopefully fixes this!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this output and messages not defined .
Also the ASM file has a SLEEP and I do not want my program to stop Ignition until the power is switch off !
------- Capture Output -------
> "E:\Program Files\GCBASIC\GCBASIC.exe" "D:\#Allumage_jV\ProgrammePIC\Olivier120611.gcb"
Great Cow BASIC (0.9 21/8/2012)
Compiling D:\#Allumage_jV\ProgrammePIC\Olivier120611.gcb …
Finding source files:
D:\#Allumage_jV\ProgrammePIC\Olivier120611.gcb: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\a-d.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\pwm.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\rs232.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\eeprom.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\sound.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\stdbasic.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\7segment.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\lcd.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\ps2.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\timer.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\system.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\hwspi.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\keypad.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\random.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\string.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\usart.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\i2c.h: found
E:\Program Files\GCBASIC\INCLUDE\LOWLEVEL\hwi2c.h: found
Loading source files …
5% 11% 16% 21%
26% 32% 37% 42% 47%
53% 58%
63% 68% 74% 79% 84% 89% 95% 100%
Reading compiler directives …
Reading chip data …
E:\Program Files\GCBASIC\chipdata\18F1220.dat
Chip Settings:
Chip Model: 18F1220
Chip Family: PIC (16)
Clock MHz: 8
RAM: 256
Running compiler scripts …
Building memory map …
Finding and compiling #IFDEF directives …
Replacing defines with values … 1%
2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22%
23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40%
41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67%
68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 95% 96% 97% 98% 99% 100%
Compiling subroutines/functions:
Main
PULSERECEIVED
STARTTIMER
CLEARTIMER
STOPTIMER
SINITTIMER0
INITTIMER1
SINITTIMER1
SINITTIMER3
INITSYS
SYSMULTSUB16
SYSDIVSUB16
SYSCOMPEQUAL
SYSCOMPEQUAL16
SYSCOMPLESSTHAN16
Delay_MS
Adding data lookup tables …
Allocating RAM to variables …
Tidying Code …
Locating subroutines in program memory …
Calculating CONFIG …
Writing output to compiled.asm …
Done (Compile time: 3.277 seconds)
Summary:
Read by GCBASIC:
Input lines: 425
Variables: 87
Constants: 223
Subroutines: 173
Message CHIPUSAGE not defined in messages.dat!
Message USEDPROGRAM not defined in messages.dat!15592048
Message USEDRAM not defined in messages.dat!68256
Assembling program …
Building symbol table …
Generating machine code … 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11%
12% 13% 14% 15% 16% 17%
18% 19% 20% 21% 22% 23%
24% 25% 26% 27% 28%
29% 30% 31% 32% 33%
34% 35% 36% 37% 38%
39% 40% 41% 42% 43%
44% 45% 46% 47% 48%
49% 50% 51% 52% 53%
54% 55% 56% 57% 58% 59% 60%
61% 62% 63% 64% 65%
66% 67% 68% 69% 70%
71% 72% 73% 74% 75% 76%
77% 78% 79% 80% 81%
82% 83% 84% 85% 86%
87% 88% 89% 90% 91%
92% 93% 94% 95% 96% 97% 98% 99% 100%
Program assembled successfully!
Downloading program …
Calling E:\Program Files\Microchip\pk2cmd\pk2cmd.exe
PK2DeviceFile.dat device file not found.
> Terminated with exit code 0.
Looks like a version of messages.dat that does not match the version of gcbasic.exe. Thanks for telling me, I've uploaded a new update that hopefully fixes this!