<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Yes, I am running mplab x ide 1.60, and the mcc18, I have selected V2_Experimental (followed the instructions in Firmware-Development.odt)... </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Below is the full output, hope it provides more info:</div><div><div>CLEAN SUCCESSFUL (total time: 1s)</div><div>make -f nbproject/Makefile-V2_Experimental.mk SUBPROJECTS= .build-conf</div><div>make[1]: Entering directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'</div><div>make -f nbproject/Makefile-V2_Experimental.mk dist/V2_Experimental/production/OVMS.X.production.hex</div><div>make[2]: Entering directory
`C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'</div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>"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 </div><div>MPLINK 4.40, Linker</div><div>Device Database Version 1.3</div><div>Copyright (c) 1998-2011 Microchip Technology Inc.</div><div>Error - section '.code_vehicle.o' can not fit the section. Section '.code_vehicle.o' length=0x000004f4</div><div>Errors : 1</div><div><br></div><div>make[2]: Leaving directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'</div><div>make[1]: Leaving directory `C:/Documents_and_Settings/Niko/MPLABXProjects/OVMS.X'</div><div>make[2]: *** [dist/V2_Experimental/production/OVMS.X.production.hex] Error 1</div><div>make[1]: *** [.build-conf] Error 2</div><div>make: *** [.build-impl] Error 2</div><div><br></div><div>BUILD FAILED (exit value 2, total time: 1m 7s)</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size:
12pt;"><br></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Mark Webb-Johnson <mark@webb-johnson.net><br> <b><span style="font-weight: bold;">To:</span></b> OVMS Developers <ovmsdev@lists.teslaclub.hk> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 27, 2012 11:26 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Ovmsdev] Problem building the project<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv797275687"><div><div>Did you download mplab-x (the Java environment), and mcc18 (the microchip c compiler)?</div><div><br></div><div>Regards, Mark<br><br>On 28 Dec, 2012, at 5:45 AM, Nikolay Shishkov <<a rel="nofollow" ymailto="mailto:nshishkov@yahoo.com" target="_blank" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Hello, </span></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color:
transparent; font-style: normal;">This is my first message, I am trying to get the module talking to Think City EV.</div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">I installed the iDE and compiler, downloaded the repository, opened</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">the project and did "Clean and Build Project" and got this error.</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Error - section '.code_vehicle.o' can not fit the section. Section</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">'.code_vehicle.o' length=0x000004f4</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">I searched the list, and the forum and did not find any reference to</span><br style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">this error. Any idea?</span><br style="color: rgb(34, 34, 34);
font-family: arial, sans-serif; font-size: 13px;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Could it be that I have not connected the pic3 and the board?</span></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;"><br></span></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px;">Thanks in advance,</span></div><div style="color: rgb(34, 34, 34); font-size: 13px; font-family: arial, sans-serif; background-color: transparent; font-style: normal;"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size:
13px;">Nikolay</span></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a rel="nofollow" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</span><br></div></blockquote></div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>OvmsDev mailing list<br><a ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br><br><br> </div> </div> </div></body></html>