Pumpkin, Inc.

Pumpkin User Forums

Error to compile salvo demo project d3 fan controller

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Error to compile salvo demo project d3 fan controller

Postby localcrack » Wed May 06, 2009 8:35 am

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"

localcrack
 

Re: Error to compile salvo demo project d3 fan controller

Postby memorymem » Wed May 27, 2009 6:01 am

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.
memorymem
 
Posts: 3
Joined: Tue May 26, 2009 11:00 pm

Re: Error to compile salvo demo project d3 fan controller

Postby localcrack » Tue Jun 16, 2009 5:57 am

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).]

localcrack
 

Re: Error to compile salvo demo project d3 fan controller

Postby long18751813 » Tue Jul 07, 2009 8:10 am

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
long18751813
 


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 0 guests

cron