Page 1 of 1

Error to compile salvo demo project d3 fan controller

PostPosted: Wed May 06, 2009 8:35 am
by localcrack
When I compile the salvo demo project located in c:salvodemod3

I get following errors

please anybody help me to solve this error

Build C:salvodemod3sysjfan_ctrl for device 12C509A
Using driver C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe

Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvodemod3main.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrc imer.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcdelay.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcinit.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcinittask.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcmem.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcqins.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcsched.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -C C:salvosrcutil.c --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:Program FilesHI-TECH SoftwarePICCSTD9.60inpicc.exe" -ofan_ctrl.cof -mfan_ctrl.map --runtime=default,+clear,+init,-keep,+osccal,-download,-ramtest,-resetbits main.obj timer.obj delay.obj init.obj inittask.obj mem.obj qins.obj sched.obj util.obj --chip=12C509A -IC:salvodemod3sysj -IC:salvoinc -P --opt=default,+asm,-debug,-speed,+space,9 --warn=0 -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error [491] ; . can't find 0x13 words for psect "rbss_0" in segment "BANK0"
Error [593] ; . can't find 0x1 words (0x1 withtotal) for psect "code_ptr" in segment "BANK0"


Re: Error to compile salvo demo project d3 fan controller

PostPosted: Wed May 27, 2009 6:01 am
by memorymem
hi, the ram of p12c509a is too small because the compiler is picc 9.60 ,you can change the mcu to pic16xx ,then complier again. you can get a fine.

Re: Error to compile salvo demo project d3 fan controller

PostPosted: Tue Jun 16, 2009 5:57 am
by localcrack
I want to compile it with PIC12c509a.
The original application note is given for pic12c509a

quote:
Originally posted by memorymem:
hi, the ram of p12c509a is too small because the compiler is picc 9.60 ,you can change the mcu to pic16xx ,then complier again. you can get a fine.

[This message has been edited by localcrack (edited June 16, 2009).]


Re: Error to compile salvo demo project d3 fan controller

PostPosted: Tue Jul 07, 2009 8:10 am
by long18751813
Executing: "C:Program FilesHI-TECH SoftwarePICC9.50BINPICC.EXE" -C -E"main.cce" "main.c" -O"main.obj" -I"C:incuser" -I"C:salvoinc" -I"C:salvodemod3sysj" -I"C:salvoinc" -Zg9 -O -ASMLIST -Q -MPLAB -12C509A
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: "C:Program FilesHI-TECH SoftwarePICC9.50BINPICC.EXE" -E"SALVO_12C509_2.lde" "C:salvodemod3main.obj" -M"SALVO_12C509_2.map" -O"SALVO_12C509_2.cof" -O"SALVO_12C509_2.hex" -Q -MPLAB -12C509A
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
Error[500] : undefined symbols:
_OSSchedRtn (C:salvodemod3main.obj)_OStcbArea (C:salvodemod3main.obj)?_TaskBeep1 (C:salvodemod3main.obj)?_TaskReadKeys1 (C:salvodemod3main.obj)_OSSched (C:salvodemod3main.obj)?_TaskReadKeys2 (C:salvodemod3main.obj)_OSTimer (C:salvodemod3main.obj)_OSInit (C:salvodemod3main.obj)?_OSSaveRtnAddr (C:salvodemod3main.obj)?_OSDelay (C:salvodemod3main.obj)_OSSaveRtnAddr (C:salvodemod3main.obj)_OSDelay (C:salvodemod3main.obj)_OSCreateTask (C:salvodemod3main.obj)?_TaskSpinFan1 (C:salvodemod3main.obj)
BUILD FAILED: Wed Jul 08 12:10:27 2009