mrcube_ns
Advanced Member level 1
Hi all,
I have some strange behavior. I made some small test code for 18F4520.
When I compile this sample code with old PICC18 v9.51, everything works, but when I compile it with PICC18 v9.80 I get error 902?!?!?!
I use MPLAB 8.10 with Hi-tech compilers.
V9.80:
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.obj".
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cce".
Clean: Deleted file "Test.cof".
Clean: Done.
Executing: "D:\Program Files\HI-TECH Software\PICC-18\9.80\bin\picc18.exe" -C -E"Test.cce" "Test.c" -O"Test.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18F4520
(902) no chip name specified; use "PICC18 --CHIPINFO" to see available chip names
Skipping link step. Not all sources built successfully.
BUILD FAILED: Sat Apr 28 23:26:49 2012
v9.51 STD:
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cce".
Clean: Done.
Executing: "D:\Program Files\HI-TECH Software\PICC-18\STD\9.51\bin\picc18.exe" -C -E"Test.cce" "Test.c" -O"Test.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18F4520
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Executing: "D:\Program Files\HI-TECH Software\PICC-18\STD\9.51\bin\picc18.exe" -E"Test.lde" "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.obj" -M"Test.map" -O"Test.cof" -O"Test.hex" -Q -MPLAB -18F4520
Memory Summary:
Program space used 2C4h ( 708) of 8000h bytes ( 2.2%)
Data space used 17h ( 23) of 600h bytes ( 1.5%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
External data memory None available
ID Location space used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits used 0h ( 0) of 7h words ( 0.0%)
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Loaded D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cof.
BUILD SUCCEEDED: Sat Apr 28 23:33:38 2012
Any ideas?
How to solve error 902?
Thanks in advance.
Mr.Cube
I have some strange behavior. I made some small test code for 18F4520.
When I compile this sample code with old PICC18 v9.51, everything works, but when I compile it with PICC18 v9.80 I get error 902?!?!?!
I use MPLAB 8.10 with Hi-tech compilers.
V9.80:
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.obj".
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cce".
Clean: Deleted file "Test.cof".
Clean: Done.
Executing: "D:\Program Files\HI-TECH Software\PICC-18\9.80\bin\picc18.exe" -C -E"Test.cce" "Test.c" -O"Test.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18F4520
(902) no chip name specified; use "PICC18 --CHIPINFO" to see available chip names
Skipping link step. Not all sources built successfully.
BUILD FAILED: Sat Apr 28 23:26:49 2012
v9.51 STD:
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cce".
Clean: Done.
Executing: "D:\Program Files\HI-TECH Software\PICC-18\STD\9.51\bin\picc18.exe" -C -E"Test.cce" "Test.c" -O"Test.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18F4520
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Executing: "D:\Program Files\HI-TECH Software\PICC-18\STD\9.51\bin\picc18.exe" -E"Test.lde" "D:\Archive for DVD\Projekti\PIC18F4520 test\Test.obj" -M"Test.map" -O"Test.cof" -O"Test.hex" -Q -MPLAB -18F4520
Memory Summary:
Program space used 2C4h ( 708) of 8000h bytes ( 2.2%)
Data space used 17h ( 23) of 600h bytes ( 1.5%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
External data memory None available
ID Location space used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits used 0h ( 0) of 7h words ( 0.0%)
Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Loaded D:\Archive for DVD\Projekti\PIC18F4520 test\Test.cof.
BUILD SUCCEEDED: Sat Apr 28 23:33:38 2012
Any ideas?
How to solve error 902?
Thanks in advance.
Mr.Cube