XPD: open-source keywin e-bike lab replacement

Thanks Neil, I couldn't have done it without your help, insight and suggestions! Sure hope you can catch up on your sleep. Your mind worked while sleeping and came up with the right solution. If I hadn't stumbled upon the Russian solution, your method would have caught it.

Think I am going to download it and check my machines. I likely have more than a few "conflicts" in dll's.

Thanks again!
 
I did a quick search for it. cant see it. Will look on my Usefull software' disk when I get back from work, that will be in about 18 hours from now
Cant get to sleep, keep checking e mails on iphone from bed. got to be up in about 3 hours
 
Seems like I missed all the action being busy at work...
By the looks you got a very especific error that was known (hopefully)
Thats related to something I always like to say: When you KNOW nothing is hard.
Btw I not sure if anpaza should be praised or crucified...
 
unlimited works and gives higher figures..more testing to come ...at work now, should not be on this forum
 
Ok 14 pages later, Am i the only stupid clown how going to ask how do you use this :oops:

I have a none Lyen infineon controller with a Lyen programming cable (none of this is on my bike, Do i need to power the controller up?)

My computer does see it in the device manager, but is looking (and can't find) drivers ?.....

I really do need help with this one, All i want to do is set the LVC and turn the amps down abit ?......
 
mxer said:
Ok 14 pages later, Am i the only stupid clown how going to ask how do you use this :oops:

I have a none Lyen infineon controller with a Lyen programming cable (none of this is on my bike, Do i need to power the controller up?)

My computer does see it in the device manager, but is looking (and can't find) drivers ?.....

I really do need help with this one, All i want to do is set the LVC and turn the amps down abit ?......
You program with the controller un powered (turned off)
You will need to add the usb-serial software listed in the start of the thread. You will be able to see the programing cable under device manager when you plug it in it will be listed as a com port.
 
Yep got that, was com9 changed it to com2, even made some of my desired changes and saved then applied but just keeps saying

Upload failed: Could not open port COM2[error2] The system cannot find the file specified

Another thing, the default asv files ie (EB209 9 fet), will they be the same as my Eb209 9 fet from factory ?, I would like to check my original settings FIRST before re-writing them and pahaps save them if things go tit's up ?...

I have a small button on the Lyen cable, should i be pressing that at some point :?
 
I'm tempted to try unlimited regen. I normally charge my pack to 90-95% SOC. Is there really much risk at all using this unlimited regen setting? Is it worth doing shunt mod to get higher regen current?

Regen at 35mph max going to be particularly dangerous? I guess a rear wheel lock up would be safer than a front ;). The motor would not roll at all, correct? or would it kinda skip a bit?

NOTE: I would like to see the EB312 boards compatible with xpd.. In the Parameter designer software I cannot program above 65A battery current...which is annoying cause I want 90A!
 
mxer said:
Yep got that, was com9 changed it to com2, even made some of my desired changes and saved then applied but just keeps saying

Upload failed: Could not open port COM2[error2] The system cannot find the file specified

Another thing, the default asv files ie (EB209 9 fet), will they be the same as my Eb209 9 fet from factory ?, I would like to check my original settings FIRST before re-writing them and pahaps save them if things go tit's up ?...

I have a small button on the Lyen cable, should i be pressing that at some point :?
Shit there might be one more thing. You click program then plug in the cable to the connector for the controller with most cables. I have not seen a LYEN cable does it have a button?
 
You can't check original settings unless you can dump them somehow.. And yes, the lyen cable has a momentary switch that you should just press once and the upload should happen almost instantly.keep pressing it if it fails.. make sure you aren't running the program out of a zipped folder as well
 
No three speed switch ?...

I have a new error :(

"Upload Failed:Could not open port com2(Error121) The Semaphore timeout period has expired"

Doing me ed in now :evil:
 
OK, try in this order

Disconnect battery.
Turn on the controller and /or CA...so this makes sure the power in the caps on the controller are fully discharged

Shutdown and re boot the PC
Do not plug in the USB cable yet
Go to device manager and check the com ports
Plug the USB adapter and see which new comport (virtual ) appears.

Run up XPD and check you can select the USB serial adapter com port.

edit the settings file you need and save
Plug in to the controller

Then you have to try it various ways.

First try hitting the apply button then press and release button on the cable.
This should work

If not, try the cable button first, holding it and hitting the apply button on XPD

I have it it where I have had to try two or three times before the settings uploaded successfully

It could be a cable driver issue, or wiring issue on the cable..sometimes wires need swapping around if the controller and cable did not come as a pair from same supplier.

I still have two controllers that I can't program what ever I try

If you have received, controller, software and cable all from same person then it should work...so try that first...then if that works with supplied software, then try XPD. Sorry if those points have already been discussed..I admit, I have not re read the thread, and have not time now to do so...rushing out
 
Nothing is coming up in "Ports (com)" but coming up with a yellow triangle in "Other devices" as usb seriel adaptor Prompting me to instal drivers (unable to install drivers ?) ...
 
Sorted :D Thanks Guy's..

Had to download "PL 2303 prolific driver installer v1210.exe" which window's found somewhere :D Good old window's :roll:
 
My turn to do my head in.
I have 5 lyen controllers, EB-306, a Lyen program cable and a methods program cable.
I can program my Xlyte/methods controller no issues.
I have XPD installed, Keywin installed, all appear fine.
USB drivers installed for both cables.
I just can not get it to send to the Lyen controllers. Have made an adapter for the methods cable, bypased the switch on the Lyen cable, tried an updated prolific driver.
I am on winXP, my friend came around with his laptop and it programed fine from his, guessing he is vista or 7. So its not the cable, its got to be a software issue, or communication issue. Controllers sitting on desk not pluged into any thing. Tried all combinations of activate/connect/button, but no.
Cant see the .dll file you are talking about in my sys32 folder.
Any one got anyother ideas before I go buy a new computer?

I just tried it on my partners win7 machine. Using methods cable I get upload failed with various invalid return errors. I could not get win 7 to register the ocx files. Tried the command prompt, still no.
So was able to run xpd but not keywin.
About to get a really big hammer and resort to a life of flipping burgers at Mc D's.

Any luck with the 3XX programming for xpd?

Also, turned out it did not program from my friends laptop, we just thought it did, until I tried the controller and no change.

WAHOOOOO! worked it out, thanks to this picture
2011-11-30200938.jpg


Bridged the yellow to the white on the program lead and presto!
 
Managed to get this sorted and am programming, which is great :mrgreen:

Have a couple of question tho :roll:

Set the "Battery current limit" to 20.1amps as there was tooo much tourqe 30.1 max was being pulled before, this feature didd't do anything ? Still pulled the 30amps ?

Ok, so that diddn't work so had a play with "Phase current limit" was set at 65.4amps, so set that down to 20amps, now only pulls 4amps max, Ok, getting somewhere, so set to 50amps and now it pulls my desired 20amps :D

But why when i set the phase current limit to 50amps it pulls 20amps? :? , battery current limit doesn't seam to do anything so shall i put that back to default ?....

If i could understand this i would feel more comfortable, not understanding it worries me i have set values that could damage my system...

I did notice i had a bit of stuttering/grundting going on but that could of been down to a low (ish) battery ?.....
 
xpd works with EB3XX?

I would like to program the battery current greater than the 65A max in the parameter designer program... but if it doesn't work, then screw it. I want to set phase current to 130A and be able to reach that with 80-100 and a max of about 95A to the EB312
 
Just as a first check before you start using XPD, did you/load and use Lyens software?

He should have sent you a link to the latest drivers and software.

First verify that it works OK with that

If all OK there.. double check a few things.
You say the contr4oller is sitting on the bench and not powered up. Has it been powered up before? maybe plug a CA in or power it on but with no battery connected, just to check that all power has been drained from the Caps. The CA will help drain the power.

Then if you have a 3 speed switch connected, make sure it is in the middle Speed 2 position. or better still unplug it too
 
It takes me about 15-20 failed tries before it shows "Waiting Acknowledgement" with nothing happening. If I click the button again it just fails again.
Just purchased from Lyen so I know the controller and cable came together and verified the wires are in order from the picture posted a few posts up. The controller is not powered up and is just sitting on my desk. What am I doing wrong? Should I just keep trying and that 100th time it'll work??

This program (XPD) doesn't work with the latest boards (EB3xx), you need to use a different programming software, I will send you a PM with the link you need.
 
Nice find!

Just edited it to alow higher current, higher LVC and lower block time.
Please test it and drop me a line if its working properly.
 

Attachments

  • GPM 8F Edited.zip
    15.5 KB · Views: 444
I modded XPD to add in all the extra parameters for the EB3xx boards hoping the protocol was the same, but it fails on programming them. Was worth a shot, but without having someone who knows more about this such as the Author of the program I guess I'm done. I was able to read and understand his code, make the changes was pretty straight forwards, but no luck programming.
 
Back
Top