Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-20-2015, 12:51 AM   #1811 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
A bit of progress - I unpacked the Siemens motor. I need a connector for the encoder (I was not sure it had not been included in the motor packing). I also need connectors for the liquid cooling.

I removed my Warp 9 (series DC motor) from where it was installed, in the WIKISPEED motor module. It is ready to be mounted face to face with the AC motor. This is a bit of a strange way to test the AC controller, but it should allow for load testing.

I have a wheeled pallet set up to hold both motors, I found the required joy couplers ... a bit of alignment is required, some brackets to hold everything down ... it will likely take me a couple of weeks to get it all the way it needs to be.

I'll get some pictures and some video posted later this week. I don't get much done in the evenings, so I can at least get the documentation done!

Mike

  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
MPaulHolmes (04-20-2015)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-26-2015, 01:54 AM   #1812 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
MPLAB X license?

I see lots of links to purchase the compiler - I appear to have missed how to activate it for free.

Can someone forward me a link? I appear to be having a senior moment .. or perhaps a senior weekend ..
  Reply With Quote
Old 04-26-2015, 03:10 AM   #1813 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
I don't think you need to activate it.
When you install it, it installs as the free version by default (complete with de-optimisations ).
If you then want to use the purchased version you go to their website. Purchase a license key and apply it to your free installation.
You can purchase a full license or request a 60 trial of the fully licensed version.

Here is an extract from their install documentation.
Quote:
When you install an MPLAB XC C compiler, you are installing an unlicensed compiler.
This means that you are running under a FREE license and you have access to the
minimum amount of code optimization and support. For greater optimization and sup-
port, jump to the licensing sites that are listed near the end of the installation. Acquire
a regular or evaluation license, and activate the license.
  Reply With Quote
Old 04-26-2015, 02:53 PM   #1814 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by Astro View Post
I don't think you need to activate it.
When you install it, it installs as the free version by default (complete with de-optimisations ).
Here's a log from compiling one of the samples
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/lulcm/MPLABXProjects/Explorer16dsPIC33F_1.X'
make -f nbproject/Makefile-default.mk dist/default/production/Explorer16dsPIC33F_1.X.production.hex
make[2]: Entering directory 'C:/Users/lulcm/MPLABXProjects/Explorer16dsPIC33F_1.X'
pic30-elf-cc1.exe: warning: General License error, please install a license
Microchip MPLAB C30 License Manager Version (Build Date Oct 28 2011).
Copyright (c) 2008 Microchip Technology Inc. All rights reserved.
The dsPIC language tools key is not in the registry.

Options have been disabled due to invalid license
Visit Microchip Technology Inc to purchase a new key.
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=33FJ256GP710 -MMD -MF build/default/production/main.o.d -o build/default/production/main.o main.c
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -omf=elf -mcpu=33FJ256GP710 -o dist/default/production/Explorer16dsPIC33F_1.X.production.elf build/default/production/main.o -Wl,--defsym=__MPLAB_BUILD=1,-Map="dist/default/production/Explorer16dsPIC33F_1.X.production.map",-Tp33FJ256GP710.gld
pic30-elf-cc1.exe: warning: General License error, please install a license
Microchip MPLAB C30 License Manager Version (Build Date Oct 28 2011).

Copyright (c) 2008 Microchip Technology Inc. All rights reserved.
The dsPIC language tools key is not in the registry.
Options have been disabled due to invalid license
Visit Microchip Technology Inc to purchase a new key.
"C:\Program Files (x86)\Microchip\MPLAB C30\bin"\\pic30-bin2hex dist/default/production/Explorer16dsPIC33F_1.X.production.elf -omf=elf
make[2]: Leaving directory 'C:/Users/lulcm/MPLABXProjects/Explorer16dsPIC33F_1.X'
make[1]: Leaving directory 'C:/Users/lulcm/MPLABXProjects/Explorer16dsPIC33F_1.X'

BUILD SUCCESSFUL (total time: 3s)
Loading code from C:/Users/lulcm/MPLABXProjects/Explorer16dsPIC33F_1.X/dist/default/production/Explorer16dsPIC33F_1.X.production.hex...
Loading completed
So these lines are just nag lines?

pic30-elf-cc1.exe: warning: General License error, please install a license
The dsPIC language tools key is not in the registry.
Options have been disabled due to invalid license
pic30-elf-cc1.exe: warning: General License error, please install a license
The dsPIC language tools key is not in the registry.
Options have been disabled due to invalid license

And the only thing that really matters is ....

BUILD SUCCESSFUL (total time: 3s)
Loading completed

I guess it has been *WAY* too long since I used Microchip stuff.

Hopefully I won't have any further newbie questions!

It does appear to be a bit user hostile, not user friendly. But perhaps it's just me.
  Reply With Quote
Old 04-26-2015, 07:10 PM   #1815 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
I just tried a couple of builds to see what output i received.
I am using Linux not Windows so the output is a bit different but i didn't get any nag lines with XC16 whereas i do with a project using XC8?
Also the nag lines in XC8 are trying to be informative and helpful.
Maybe somebody using the Windows version of the compiler could check and see if their compiler output is similar to yours.

XC8 build
Code:
CLEAN SUCCESSFUL (total time: 55ms)
make -f nbproject/Makefile-XC8_PIC16F1827.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
make  -f nbproject/Makefile-XC8_PIC16F1827.mk dist/XC8_PIC16F1827/production/BMSMaster.X.production.hex
make[2]: Entering directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/configuration_bits.p1  configuration_bits.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/interrupts.p1  interrupts.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/main.p1  main.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/system.p1  system.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/UARTPIC16.p1  UARTPIC16.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/lcd_drv.p1  lcd_drv.c 
"/opt/microchip/xc8/v1.21/bin/xc8" --pass1  --chip=16F1827 -Q -G  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/XC8_PIC16F1827/production/user.p1  user.c 
"/opt/microchip/xc8/v1.21/bin/xc8"  --chip=16F1827 -G -mdist/XC8_PIC16F1827/production/BMSMaster.X.production.map  --double=24 --float=24 --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"     -odist/XC8_PIC16F1827/production/BMSMaster.X.production.elf  build/XC8_PIC16F1827/production/configuration_bits.p1 build/XC8_PIC16F1827/production/interrupts.p1 build/XC8_PIC16F1827/production/main.p1 build/XC8_PIC16F1827/production/system.p1 build/XC8_PIC16F1827/production/UARTPIC16.p1 build/XC8_PIC16F1827/production/lcd_drv.p1 build/XC8_PIC16F1827/production/user.p1     
:: warning: (1273) Omniscient Code Generation not available in Free mode

Memory Summary:
    Program space        used   FB0h (  4016) of  1000h words   ( 98.0%)
    Data space           used    EAh (   234) of   180h bytes   ( 60.9%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    Configuration bits   used     2h (     2) of     2h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)


Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Free mode.
The MPLAB XC8 PRO compiler output for this code could be 1555 words smaller.
See http://microchip.com for more information.

Microchip MPLAB XC8 C Compiler V1.21
Copyright (C) 2013 Microchip Technology Inc.
License type: Node Configuration

make[2]: Leaving directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'
make[1]: Leaving directory '/home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X'

BUILD SUCCESSFUL (total time: 24s)
Loading code from /home/jase/MPLABXProjects/BMSMaster_CRW_MPLABX_v1.3/BMSMaster.X/dist/XC8_PIC16F1827/production/BMSMaster.X.production.hex...
Loading completed
XC16 build
Code:
CLEAN SUCCESSFUL (total time: 1s)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/jase/MPLABXProjects/ACInductionController'
make  -f nbproject/Makefile-default.mk dist/default/production/ACInductionController.production.hex
make[2]: Entering directory '/home/jase/MPLABXProjects/ACInductionController'
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   ACInductionController.c  -o build/default/production/ACInductionController.o  -c -mcpu=30F4011  -MMD -MF "build/default/production/ACInductionController.o.d"        -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   UART4011.c  -o build/default/production/UART4011.o  -c -mcpu=30F4011  -MMD -MF "build/default/production/UART4011.o.d"        -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"/opt/microchip/xc16/v1.24/bin/xc16-gcc"   -o dist/default/production/ACInductionController.production.elf  build/default/production/ACInductionController.o build/default/production/UART4011.o      -mcpu=30F4011        -omf=elf -Wl,,--defsym=__MPLAB_BUILD=1,,--script=p30F4011.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/ACInductionController.production.map",--report-mem 


Program Memory  [Origin = 0x100, Length = 0x7f00]

section                    address   length (PC units)   length (bytes) (dec)
-------                    -------   -----------------   --------------------
.text                        0x100               0x170           0x228  (552)
.const                       0x270               0xff0          0x17e8  (6120)
.text                       0x1260              0x1a60          0x2790  (10128)
.dinit                      0x2cc0               0x174           0x22e  (558)

                     Total program memory used (bytes):         0x43ce  (17358) 35%


Data Memory  [Origin = 0x800, Length = 0x800]

section                    address      alignment gaps    total length  (dec)
-------                    -------      --------------    -------------------
.ndata                       0x800                   0           0x1ac  (428)
.nbss                        0x9ac                   0           0x188  (392)
.ndata                       0xb34                   0            0x58  (88)
.nbss                        0xb8c                   0            0x40  (64)

                        Total data memory used (bytes):          0x3cc  (972) 47%


Dynamic Memory Usage

region                     address                      maximum length  (dec)
------                     -------                      ---------------------
heap                             0                                   0  (0)
stack                        0xbcc                               0x434  (1076)

                        Maximum dynamic memory (bytes):          0x434  (1076)

"/opt/microchip/xc16/v1.24/bin"/xc16-bin2hex dist/default/production/ACInductionController.production.elf -a  -omf=elf 
make[2]: Leaving directory '/home/jase/MPLABXProjects/ACInductionController'
make[1]: Leaving directory '/home/jase/MPLABXProjects/ACInductionController'

BUILD SUCCESSFUL (total time: 16s)
Loading code from /home/jase/MPLABXProjects/ACInductionController/dist/default/production/ACInductionController.production.hex...
Loading completed
  Reply With Quote
Old 04-28-2015, 09:32 AM   #1816 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Hello! Sorry, I am In Houston for my wife's uncle's funeral. I wish I had sent the updated software to someone now, since I was robbed at gunpoint here. I was carrying the laptop toward my wife's cousins apartment. The robber had what looked like a 357 handgun. I think what saved me was the one diaper I took out of the car just before being robbed. He even got my keys and stole our car with everything in it (filled with all our stuff since we just drove it all the way over here 1140 miles). And about a solid year worth of work, with all my software, and dozens of schematics and PCB layouts. Down the toilet! Haha
__________________
kits and boards
  Reply With Quote
Old 04-28-2015, 12:10 PM   #1817 (permalink)
EV Builder
 
LouMan's Avatar
 
Join Date: Aug 2009
Location: Jasper, Alabama
Posts: 7
Thanks: 88
Thanked 26 Times in 21 Posts
aww Man Paul, I feel for you and your family
that almost happened to me last time I was in Houston, I was on a gray hound passing thru and had a lay over in Houston and it was the scariest place I've been there was thugs and all kind of riff raff hanging out side the terminal just staring at me and my suitcase just trying to get me to come outside, even the pimps was sending there hoe's in to try and get me to come outside. needless to say I stayed right beside the front desk till my buss got there..
but anyway I seemed to remember years ago about telling you to backup your stuff, hahahaha
well at least yaw ok, hope you had some good Ins. to pay you back at least for your car.
  Reply With Quote
The Following User Says Thank You to LouMan For This Useful Post:
MPaulHolmes (04-28-2015)
Old 04-28-2015, 12:45 PM   #1818 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Oh ya I do remember that! Haha oops. I had definitely been planning on it. Ya, It sounds like you went through the part of town that I stayed in. Actually, we did a lot of driving, and I never saw the nice part of town.
__________________
kits and boards
  Reply With Quote
Old 04-28-2015, 12:58 PM   #1819 (permalink)
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
Wow, is that ever a crappy deal. So sorry to hear it Paul et. al., glad everyone is ok. Let us know your whereabouts, sure plenty of folks would gladly help you out or donate or something. You've given so much to the EV community.
  Reply With Quote
The Following 3 Users Say Thank You to P-hack For This Useful Post:
Astro (04-29-2015), e*clipse (05-04-2015), MPaulHolmes (04-28-2015)
Old 04-28-2015, 01:02 PM   #1820 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
I actually got a text from a friend that is a pilot, and he got us 4 tickets back to Phoenix for $31 each!!

__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
e*clipse (05-04-2015), P-hack (04-28-2015)
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 11:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 02:59 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com