XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
randysway   1 mW

1 mW
Posts: 12
Joined: Sep 11 2018 11:00am
Location: Chicago
Contact:

Re: Upload failed XPD Version 0.4.1a

Post by randysway » Oct 14 2019 4:12pm

Steve65 wrote:
Jun 24 2019 3:33pm
Has anyone tried the Download and Upload functionality in XPD Version 0.4.1a with a 124110ST-MII-LYEN EDITION controller ?

I've been able to Download the parameters OK but when try to upload the same values (no changes) I get :-

"Upload failed: byte must be in range(0, 256)"
It looks like the default PySerial version in pip breaks XPD at the moment (v 3.4).

Uninstall PySerial v3.4 and install version 2.5

On Linux:
pip2 uninstall --user pyserial
pip2 install --user pyserial==2.5

(Not sure how python packages are handled on windows, don't need that kind of negativity in my life, frankly. :P )

Cheers.

Felan128   1 µW

1 µW
Posts: 1
Joined: Aug 30 2019 10:06am

Re: XPD: open-source keywin e-bike lab replacement

Post by Felan128 » Feb 10 2020 3:00pm

Hi people.
The other day I finished (almost finished) a small device on Arduino that allows you to program the controller in the field.
It is a little damp, but it works.
If anyone is interested, here is the link: https://github.com/Felan412/AVR_arduno_ ... ike_based-

If something is wrong with copyright, let me know I will fix it.

User avatar
pwd   1 kW

1 kW
Posts: 379
Joined: Oct 11 2011 12:01pm
Location: Ontario, Canada

Re: XPD: open-source keywin e-bike lab replacement

Post by pwd » Feb 25 2020 9:55am

Very interesting device ^^, thanks for posting
Commuter/Street Build viewtopic.php?f=6&t=98286:
Rocky Mountain Element
Magic Pie 4 front + Leafmotor 1500 rear w/ WCEC 18fet
Samsung 40T 14S7P

Offroad Build viewtopic.php?f=6&t=102195:
2019 Rocky Mountain Blizzard 20
Cyclone "3kw" 13T motor to 36T chain ring then 32T chain ring to 11T-46T Cassette
em3ev 14S5P 30Q or 14S6P 25R pack

User avatar
zeccato   100 W

100 W
Posts: 177
Joined: Jan 17 2019 8:16am

Re: XPD: open-source keywin e-bike lab replacement

Post by zeccato » Mar 17 2020 7:45am

Thanks for your contribution, today I installed xpd, that is the 3 programs (as specified) and it worked well with window 10.
I put the defaut on the 2, 100%, and the 3 position switch on the 2.
my 2018 cable usb already had the bridge,
(EB3 12 FET cellman).
I've made some adjustments, nothing else.
The Pas now works better, it stops almost immediately.
Full susp. folding 20 swxh r. (2011),. 02 2020 MacT8. batt. 48v. 25A Life (2012), and 48 7,5A a123 (2018?). Controller programmable EB3 12 FET. Charger Balancer 14s: TP1430C. Gophert CPS-6011 60V 11A. Mercury (rarely). Buzzer. https://www.google.com/url?sa=t&source= ... 6dXxc9-lNW

User avatar
DogDipstick   10 kW

10 kW
Posts: 692
Joined: Aug 19 2018 12:39pm
Location: Fleetwood Pa

Re: XPD: open-source keywin e-bike lab replacement

Post by DogDipstick » May 01 2020 12:10am

zeccato wrote:
Mar 17 2020 7:45am
Thanks for your contribution, today I installed xpd, that is the 3 programs (as specified) and it worked well with window 10.
I put the defaut on the 2, 100%, and the 3 position switch on the 2.
my 2018 cable usb already had the bridge,
(EB3 12 FET cellman).
I've made some adjustments, nothing else.
The Pas now works better, it stops almost immediately.
Would you mind telling us the ( current ) version used, and source for the installation, to amend your post?

Trying to pawn through 10+years of iteration, multiple supported, and unsupported Prolific info, different pinout USB > TTL software, flashing procedures, boards, revisions, and other infos... can get a little tedious, to say the least. There is alot of questions in this thread and some very well laid out answers, but having up to date confirmation as to the current hardware and soft wares used is imperative.

Thankyou if you could. or anybody that could, reference. I think I got it, but.. for a program that flashes a controller designed on the other side of the earth well covered ten years ago..... and doesn't read, or sometimes even directly respond to the actual set data b/c of different configuration and hardware, but has a very specific flashing procedure with no confirmation of a successful flash save conjecture.. or experience... now it is like walking a heavy bike uphill. So to say :) .
83.1v of Ironhorse XC.. :) :bolt: by Chevy :bolt: :D Broke 10 horsies :twisted: (..about 80% healed..).. :? Anybody.. what equals √3 times the line to neutral voltage? Asking for a friend.. :| (gottenymoem4115thangs?Yall?) :confused: Fabricator @ BSECo. Inc.

User avatar
zeccato   100 W

100 W
Posts: 177
Joined: Jan 17 2019 8:16am

Re: XPD: open-source keywin e-bike lab replacement

Post by zeccato » May 01 2020 9:22am

DogDipstick wrote:
May 01 2020 12:10am
zeccato wrote:
Mar 17 2020 7:45am
Thanks for your contribution, today I installed xpd, that is the 3 programs (as specified) and it worked well with window 10.
I put the defaut on the 2, 100%, and the 3 position switch on the 2.
my 2018 cable usb already had the bridge,
(EB3 12 FET cellman).
I've made some adjustments, nothing else.
The Pas now works better, it stops almost immediately.
Would you mind telling us the ( current ) version used, and source for the installation, to amend your post?

Trying to pawn through 10+years of iteration, multiple supported, and unsupported Prolific info, different pinout USB > TTL software, flashing procedures, boards, revisions, and other infos... can get a little tedious, to say the least. There is alot of questions in this thread and some very well laid out answers, but having up to date confirmation as to the current hardware and soft wares used is imperative.

Thankyou if you could. or anybody that could, reference. I think I got it, but.. for a program that flashes a controller designed on the other side of the earth well covered ten years ago..... and doesn't read, or sometimes even directly respond to the actual set data b/c of different configuration and hardware, but has a very specific flashing procedure with no confirmation of a successful flash save conjecture.. or experience... now it is like walking a heavy bike uphill. So to say :) .
I followed the instructions of this post, I don't remember well and I didn't fully understand what you're looking for.
Full susp. folding 20 swxh r. (2011),. 02 2020 MacT8. batt. 48v. 25A Life (2012), and 48 7,5A a123 (2018?). Controller programmable EB3 12 FET. Charger Balancer 14s: TP1430C. Gophert CPS-6011 60V 11A. Mercury (rarely). Buzzer. https://www.google.com/url?sa=t&source= ... 6dXxc9-lNW

User avatar
DogDipstick   10 kW

10 kW
Posts: 692
Joined: Aug 19 2018 12:39pm
Location: Fleetwood Pa

Re: XPD: open-source keywin e-bike lab replacement

Post by DogDipstick » May 01 2020 11:38am

zeccato wrote:
May 01 2020 9:22am
DogDipstick wrote:
May 01 2020 12:10am
zeccato wrote:
Mar 17 2020 7:45am
I installed xpd, that is the 3 programs (as specified) and it worked well
Would you mind telling us the ( current ) version used, and source for the installation, to amend your post?

I followed the instructions ? this post ?, I don't remember well and I didn't fully understand what you're looking for.
I am asking what version, and where is the download link, pls.

So many different answer on this thread.

PySerial v3.4

version 2.5?

0.4.1?

0.4.1 alpha?

Xpd 0.3.2? XPD 0.3.3? What?

Is this the correct download link?

https://drive.google.com/drive/folders/ ... hiOU11ZEU


Yes? No?
83.1v of Ironhorse XC.. :) :bolt: by Chevy :bolt: :D Broke 10 horsies :twisted: (..about 80% healed..).. :? Anybody.. what equals √3 times the line to neutral voltage? Asking for a friend.. :| (gottenymoem4115thangs?Yall?) :confused: Fabricator @ BSECo. Inc.

User avatar
zeccato   100 W

100 W
Posts: 177
Joined: Jan 17 2019 8:16am

Re: XPD: open-source keywin e-bike lab replacement

Post by zeccato » May 06 2020 12:33pm

DogDipstick wrote:
May 01 2020 11:38am
zeccato wrote:
May 01 2020 9:22am
DogDipstick wrote:
May 01 2020 12:10am
zeccato wrote:
Mar 17 2020 7:45am
I installed xpd, that is the 3 programs (as specified) and it worked well
Would you mind telling us the ( current ) version used, and source for the installation, to amend your post?

I followed the instructions ? this post ?, I don't remember well and I didn't fully understand what you're looking for.
I am asking what version, and where is the download link, pls.

So many different answer on this thread.

PySerial v3.4

version 2.5?

0.4.1?

0.4.1 alpha?

Xpd 0.3.2? XPD 0.3.3? What?

Is this the correct download link?

https://drive.google.com/drive/folders/ ... hiOU11ZEU


Yes? No?
I don't really remember, because of the stress of today's world.

I have these programs in my computer:
xpd-.0.4.1a
python 2.7.1
pygtk-all-in-one-2.22.6.win32-py2.7
pyserial-2.7 win32_py3k
Full susp. folding 20 swxh r. (2011),. 02 2020 MacT8. batt. 48v. 25A Life (2012), and 48 7,5A a123 (2018?). Controller programmable EB3 12 FET. Charger Balancer 14s: TP1430C. Gophert CPS-6011 60V 11A. Mercury (rarely). Buzzer. https://www.google.com/url?sa=t&source= ... 6dXxc9-lNW

User avatar
HolgiB   1 W

1 W
Posts: 57
Joined: Oct 02 2018 2:58am

List index out of range when downloading profile from controller

Post by HolgiB » Jun 20 2020 1:17pm

Thanks for providing such a great platform independent tools also running under Linux. :thumb:

I grabbed the tar package from https://drive.google.com/drive/folders/ ... ThiOU11ZEU
for XPD 0.4.1a

Connection to my guinea pig, a EB312 sensorless 12 FET controller works fine and I can "download" the settings stored on the controller into a new profile. Unfortunately I get an "Upload failed: list index out of range" when I try to upload the profile again with modified parameters. Is this related to the fact that a new entry in the profiles was generated ?

Let me know if you need more feedback. XPD doesn't log anything to the terminal. I am using Xubuntu 16.04 if this is of interested.

Edit: Closing and re-opening doesn't change a thing. The newly generated profile is shown but uploading to the controller fails.

TIA,
HolgiB

User avatar
HolgiB   1 W

1 W
Posts: 57
Joined: Oct 02 2018 2:58am

Re: XPD: open-source keywin e-bike lab replacement

Post by HolgiB » Jul 28 2020 6:19am

Wow....I didn't expect THAT many responses ! :roll:

I do understand that EB3XX and other Infineon-based controllers are not the latest and greatest thing around and somewhat (out)dated. But those controllers are still available and do a pretty good job to keep Motor "Sissy" such as a MAC running very quiet and without issues. :mrgreen:

OK, here is how it worked out for me:
I exported the values from the controller into a new profile and simply took screenshots from the configured value. Afterwards I used one of the matching pre-configured profile matching the controller (EB 312 sensorless and EB 312 sensored). I only adjusted the values I wish to change and wrote the profile to the controller.

Worked fine for me with the 0.4 version of XPD under Xubuntu 18.04 x64 as well as under Windows 10 Professional x64.

HTH,
H.

Post Reply