XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
randysway   100 µW

100 µW
Posts: 8
Joined: Sep 11 2018 11:00am
Location: Chicago

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 )


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.

Post Reply