[Ovmsdev] Problem building the project
Nikolay Shishkov
nshishkov at yahoo.com
Fri Dec 28 06:53:32 HKT 2012
Yes, I am running mplab x ide 1.60, and the mcc18, I have selected V2_Experimental (followed the instructions in Firmware-Development.odt)...
Below is the full output, hope it provides more info:
CLEAN SUCCESSFUL (total time: 1s)
make -f nbproject/Makefile-V2_Experimental.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'
make -f nbproject/Makefile-V2_Experimental.mk dist/V2_Experimental/production/OVMS.X.production.hex
make[2]: Entering directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/UARTIntC.o UARTIntC.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/crypt_base64.o crypt_base64.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/crypt_hmac.o crypt_hmac.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/crypt_md5.o crypt_md5.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/crypt_rc4.o crypt_rc4.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/led.o led.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/net.o net.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/net_msg.o net_msg.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/net_sms.o net_sms.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/ovms.o ovms.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/params.o params.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/utils.o utils.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/inputs.o inputs.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/diag.o diag.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle_teslaroadster.o vehicle_teslaroadster.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle_twizy.o vehicle_twizy.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle_voltampera.o vehicle_voltampera.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle.o vehicle.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle_none.o vehicle_none.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mcc18.exe" -p18F2685 -k -DOVMS_SPEEDO_EXPERIMENT -DOVMS_CAR_NONE -DOVMS_CAR_TESLAROADSTER -DOVMS_CAR_VOLTAMPERA -DOVMS_CAR_RENAULTTWIZY -DOVMS_CAR_OBDII -DOVMS_HW_V2 -DOVMS_DIAGMODULE -DOVMS_INTERNALGPS -ml -oa- -I "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\h -fo build/V2_Experimental/production/vehicle_obdii.o vehicle_obdii.c
"C:\Program Files\Microchip\mplabc18\v3.40\bin\mplink.exe" -p18f2685 -w -m"build/memorymap" -z__MPLAB_BUILD=1 -u_CRUNTIME -l "C:\Program Files\Microchip\mplabc18\v3.40\bin"\\..\\lib -o dist/V2_Experimental/production/OVMS.X.production.cof build/V2_Experimental/production/UARTIntC.o build/V2_Experimental/production/crypt_base64.o build/V2_Experimental/production/crypt_hmac.o build/V2_Experimental/production/crypt_md5.o build/V2_Experimental/production/crypt_rc4.o build/V2_Experimental/production/led.o build/V2_Experimental/production/net.o build/V2_Experimental/production/net_msg.o build/V2_Experimental/production/net_sms.o build/V2_Experimental/production/ovms.o build/V2_Experimental/production/params.o build/V2_Experimental/production/utils.o build/V2_Experimental/production/inputs.o build/V2_Experimental/production/diag.o build/V2_Experimental/production/vehicle_teslaroadster.o build/V2_Experimental/production/vehicle_twizy.o
build/V2_Experimental/production/vehicle_voltampera.o build/V2_Experimental/production/vehicle.o build/V2_Experimental/production/vehicle_none.o build/V2_Experimental/production/vehicle_obdii.o
MPLINK 4.40, Linker
Device Database Version 1.3
Copyright (c) 1998-2011 Microchip Technology Inc.
Error - section '.code_vehicle.o' can not fit the section. Section '.code_vehicle.o' length=0x000004f4
Errors : 1
make[2]: Leaving directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'
make[1]: Leaving directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'
make[2]: *** [dist/V2_Experimental/production/OVMS.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1m 7s)
________________________________
From: Mark Webb-Johnson <mark at webb-johnson.net>
To: OVMS Developers <ovmsdev at lists.teslaclub.hk>
Sent: Thursday, December 27, 2012 11:26 PM
Subject: Re: [Ovmsdev] Problem building the project
Did you download mplab-x (the Java environment), and mcc18 (the microchip c compiler)?
Regards, Mark
On 28 Dec, 2012, at 5:45 AM, Nikolay Shishkov <nshishkov at yahoo.com> wrote:
Hello,
>
>
>This is my first message, I am trying to get the module talking to Think City EV.
>
>
>I installed the iDE and compiler, downloaded the repository, opened
>the project and did "Clean and Build Project" and got this error.
>
>Error - section '.code_vehicle.o' can not fit the section. Section
>'.code_vehicle.o' length=0x000004f4
>
>I searched the list, and the forum and did not find any reference to
>this error. Any idea?
>Could it be that I have not connected the pic3 and the board?
>
>
>Thanks in advance,
>Nikolay
_______________________________________________
>OvmsDev mailing list
>OvmsDev at lists.teslaclub.hk
>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
_______________________________________________
OvmsDev mailing list
OvmsDev at lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20121227/bc4c7384/attachment.htm>
More information about the OvmsDev
mailing list