Quote by Merlin
if you look at the ASM file, are the variables set?
This is from my ASM file:
Code
COMPILERREV .EQU 1F8h ; const
COMPILERBUILD_Y .EQU 00Eh ; const
COMPILERBUILD_M .EQU 006h ; const
COMPILERBUILD_D .EQU 001h ; const
COMPILEYEAR .EQU 00Eh ; const
COMPILEMONTH .EQU 006h ; const
COMPILEDAY .EQU 009h ; const
COMPILEHOUR .EQU 00Bh ; const
COMPILEMINUTE .EQU 023h ; const
PROJECTBUILD .EQU 02Fh ; const
OPTIMISERREV .EQU 0302h ; const
OPTIMISERBUILD .EQU 0B00h ; const
The only odd thing is a little different number format.
This is from serial simulator output:
Code
43 6F 6D 70 69 6C 65 72 52 65 76 20 20 20 20 3D
C o m p i l e r R e v =
20 35 30 34 0D 0A 43 6F 6D 70 69 6C 65 72 42 75
5 0 4 . . C o m p i l e r B u
69 6C 64 20 20 3D 20 30 31 2E 30 36 2E 32 30 31
i l d = 0 1 . 0 6 . 2 0 1
34 0D 0A 43 6F 6D 70 69 6C 65 54 69 6D 65 20 20
4 . . C o m p i l e T i m e
20 20 3D 20 30 39 2E 30 36 2E 32 30 31 34 20 31
= 0 9 . 0 6 . 2 0 1 4 1
31 3A 33 35 0D 0A 50 72 6F 6A 65 63 74 42 75 69
1 : 3 5 . . P r o j e c t B u i
6C 64 20 20 20 3D 20 34 37 0D 0A 4F 70 74 69 6D
l d = 4 7 . . O p t i m
69 73 65 72 52 65 76 20 20 20 3D 20 30 0D 0A 4F
i s e r R e v = 0 . . O
70 74 69 6D 69 73 65 72 42 75 69 6C 64 20 3D 20
p t i m i s e r B u i l d =
30 0D 0A 54 45 45 45 45 45 45 45 45 45 53 54 21
0 . . T E E E E E E E E E S T !
I have prepared the simplest project and I will send it to you and Rolf.
UPDATE:
Simple project sent to PM.
Quote
Have you enough frame space? More efficient on frame is...
That's the first thing I try. Sim shows that limit was never reached, and I have just tested your example with an empty project and stack and frame at 100, and the problem is still the same.