<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>Tried with a patched full version mcc18, and now get the same results on windows as Linux and Mac. Exactly the same flash usage.<div><br></div><div>Conclusion is that Microchip have messed something up (accidentally or deliberately) in the Lite version of mcc18 for Windows. The mac and linux versions appear to work just fine.<br><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 28 Dec, 2012, at 11:49 PM, Nikolay Shishkov <<a href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); 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;"><span>Thanks for the workaround Mark, I will give it a try and report back.</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal; ">Thanks everyone else for suggestions and replication of the problem.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal; ">I found a page with the old C18 compiler downloads, which one do you think is worth a try?</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal; ">Here is the
page:</div><div style="background-color: transparent;"><a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073">http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073</a><br></div><div style="background-color: transparent; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; "><br></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 <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>><br> <b><span style="font-weight: bold;">To:</span></b> OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, December 28, 2012
4:25 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="yiv2087650953"><div><br></div>Another workaround (for windows):<div><br></div><div><ol class="yiv2087650953MailOutline"><li>Go to Project Properties</li><li>Click on Manage Configurations</li><li>Duplicate the "V2_Experimental" configuration to make a "V2_Think" configuration, then Apply this</li><li>Choose the "V2_Think" configuration, MCC18, General, Preprocessor macro definitions, and remove all the CAR_* definitions, except for CAR_NONE and CAR_THINKCITY. Apply these and go back to the project.</li><li>Choose the V2_Think configuration.</li><li>For each of the vehicle_*.c files, except vehicle_thinkcity.c and vehicle_none.c, choose Properties and then "Exclude from build".</li></ol></div><div><br></div><div>You should then be able to build, but using 86% of flash (not good).</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 28 Dec, 2012, at 11:04 PM, Mark
Webb-Johnson <<a rel="nofollow" ymailto="mailto:mark@webb-johnson.net" target="_blank" href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:</div><br class="yiv2087650953Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap:break-word;">Seems to be Microchip have broken something on Windows (perhaps intentionally?).<div><br></div><div>The lite C18 compiler no longer seems to optimise at all, or does a useless job with it. That means the code size is 3 to 5 times as large as with the Mac OSX or Linux C18 compilers.</div><div><br></div><div>I tried C18 v3.43, but it has the same problem. I tried the new XC8, but that is a non-trivial swap (things like 'rom' no longer seem to work).</div><div><br></div><div>Nikolay: Do you have access to a Linux or Mac computer to build this on? I'll keep trying, but I don't think there is a simple solution for this.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On
28 Dec, 2012, at 10:12 PM, Michael Balzer <<a rel="nofollow" ymailto="mailto:dexter@expeedo.de" target="_blank" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>> wrote:</div><br class="yiv2087650953Apple-interchange-newline"><blockquote type="cite">
<div>
Mark,<br>
<br>
I'm working on Linux, MPLAB-X 1.41 & MCC18 3.40.<br>
<br>
It seems only the windows version is broken?<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="yiv2087650953moz-cite-prefix">Am 28.12.2012 14:23, schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote type="cite">
Michael,
<div><br>
</div>
<div>Do you work under windows with MPLAB-X and MCC18?</div>
<div><br>
</div>
<div>I had a look at Nikolay's machine, and it all seemed ok. Now
trying to install on my laptop. Slow slow slow...</div>
<div><br>
</div>
<div>Mark.</div>
<div><br>
<div>
<div>On 28 Dec, 2012, at 6:06 PM, Michael Balzer <<a rel="nofollow" ymailto="mailto:dexter@expeedo.de" target="_blank" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>
wrote:</div>
<br class="yiv2087650953Apple-interchange-newline">
<blockquote type="cite">
<div> Hi Nikolay, welcome
:-)<br>
<br>
did you check the Google results for platform config
specific hints on this? Seems to be a quite common MPLAB
problem.<br>
<br>
Also, you cannot use the IDE configurations right off from
the repository, you need to edit them at least once, as
MPLAB then adjusts some internal paths +x. Some adjustment
will be done automatically on building to find a working
compiler, but I wouldn't rely on that to be complete. Also
restarting MPLAB after that first config change might be
necessary, I had to do that a few times (but on other
errors).<br>
<br>
Mark, I had to do this in commit
9eaa71c1e6ccae21cf9dcfe8fd8a4e22666830ba:<br>
- can_capapilities changed to rom pointer<br>
...because it wouldn't work otherwise, so I think the rom
keyword just declares the pointer type to be a rom address
and is correct & necessary.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="yiv2087650953moz-cite-prefix">Am 28.12.2012 01:28, schrieb
Mark Webb-Johnson:<br>
</div>
<blockquote type="cite">
<div><br>
</div>
Interesting. Michael Jochum had a similar error a few
months back, but he was using an older MPLAB. He
switched to mplab-x on his mac, and the problem went
away, so we never tried upgrading his mplab on his PC.
<div><br>
</div>
<div>Can you double-check the project build settings for
mcc18, and ensure all optimisations are enabled, and
you are not doing a debug build?</div>
<div><br>
</div>
<div>Unless anyone else has any ideas, I think I'll have
to try to install mplab-x on my windows laptop and see
if I can recreate the problem.</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
</div>
<div>P.S. The other day, I did notice that the "rom
BOOL" function definitions in vehicle.c are incorrect.
ROM constants obviously can't be modified, but these
needs to be. But, it seems that the mcc18 compiler
can't handle rom based pointers to code anyway, so
auto-changes them to ram based variables for us (which
is why we never noticed the problem before). I don't
think this is your problem, but perhaps you could try
to change the "rom BOOL (*vehicle_fn_*" definitions in
vehicle.h and vehicle.c to just "BOOL ..." (ie;
without the ROM prefix) and see if that fixes
anything.</div>
<div><br>
<div>
<div>
<div>On 28 Dec, 2012, at 6:53 AM, Nikolay Shishkov
wrote:</div>
<br class="yiv2087650953Apple-interchange-newline">
<blockquote type="cite">
<div>
<div style="background-color:rgb(255, 255,
255);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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\h</a> -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"<a rel="nofollow" href="x-msg://1220/">\\..\\lib</a> -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 face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Mark Webb-Johnson <<a rel="nofollow" ymailto="mailto:mark@webb-johnson.net" target="_blank" href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>><br>
<b><span style="font-weight:bold;">To:</span></b>
OVMS Developers <<a rel="nofollow" ymailto="mailto:ovmsdev@lists.teslaclub.hk" target="_blank" href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a>>
<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>
<div id="yiv2087650953">
<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="
background-color:rgb(255, 255, 255);">
<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><a rel="nofollow" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br>
</div>
</blockquote>
</div>
</div>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a rel="nofollow" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a rel="nofollow" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a rel="nofollow" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a rel="nofollow" class="yiv2087650953moz-txt-link-freetext" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="yiv2087650953mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
OvmsDev mailing list
<a rel="nofollow" class="yiv2087650953moz-txt-link-abbreviated" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a rel="nofollow" class="yiv2087650953moz-txt-link-freetext" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="yiv2087650953moz-signature">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
<span><dexter.vcf></span>_______________________________________________<br>
OvmsDev mailing list<br>
<a rel="nofollow" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a rel="nofollow" class="yiv2087650953moz-txt-link-freetext" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="yiv2087650953mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
OvmsDev mailing list
<a rel="nofollow" class="yiv2087650953moz-txt-link-abbreviated" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a rel="nofollow" class="yiv2087650953moz-txt-link-freetext" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="yiv2087650953moz-signature">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
<span><dexter.vcf></span>_______________________________________________<br>OvmsDev mailing list<br><a rel="nofollow" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br><a rel="nofollow" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br></blockquote></div><br></div></div></blockquote></div><br></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></div>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></div></body></html>