OpenSourceEBike / Color_LCD

21 stars 9 forks source link

Firmware update stops at about 30% on APT 850C and 1.1.0 firmware version #116

Open AKmatiAK opened 3 years ago

AKmatiAK commented 3 years ago

Product information checked in display: hardware ver. E2.3 software ver. 2.0T-V2

When I try to flash osf to display, it updates and at about 20-30% drops. I don't know what might be the case. I use FT232 usbuart converter from Waveshare. Flashing doesn't seem to change anything, only 30H error shows in place where custom logo was before, but it may be because it's not plugged to motor - I power it now directly from battery.

edit: My display is one from aliexpress kit tsdz2 + 850c - it has already tsdz2 display connector, maybe it's somehow different than bafang one. Brand which logo is displayed is green pedel.

also, data is sent in packets - I don't know is it ok. transmitter sends some data and receiver receives then data from display. This is my observation, many data is received when I compare it to ecocycles video.

I tried to switch programmer from 5v to 3.3v and I don't know why, but power button doesn't trigger update then. I did not connected Vcc to display, from what I read it shouldn't be connected so I don't know why it happens.

it just stops

AKmatiAK commented 3 years ago

it was my mistake - I did not connected usbuart ground to display ground. Meanwhile I broken and repaired display, but now there is problem with 2021 version of 850c from tsdz2 +850c kit

ZADOU89 commented 3 years ago

I have the same version, and going to flash the firmware. Have you solved your problem yet?

AKmatiAK commented 3 years ago

no, but you may try mbrusa version if you not erased bootloader hm, I see it's SWD version available now, I'll try it on my display then https://github.com/emmebrusa/TSDZ2-Smart-EBike-860C/releases

AKmatiAK commented 3 years ago

also remember to connect all grounds together

ZADOU89 commented 3 years ago

Thanks. I had tried successfully to flash it by bootloader, but the issue is that our 850C version is not running the existing OSF what I can find. It was not even power on after flash 1.1 and 20.1. And it can be power on by 20.1 V2 ,but stuck in beginning page. Fortunately I am from China, I called APT factory and got the stock firmware from them. I will try SWD version later also.

BTW, I think I have the same kit as yours(6 pins 850C+TSDZ2), I had also tried to flash the motor by st link v2, but communicate fail, I red forum they are saying we may have the newest controller which is not able to flash so far. Please keep me update if you flash the motor successfully. Thanks

ZADOU89 commented 3 years ago

And let me know if you want the PIN diagram and stock firmware, I had got both from 850C manufacturer

AKmatiAK commented 3 years ago

the controller is gd32f303ret6 (edit: it's display controller, now I see you meant motor controller). I have opened display and photos of display inside. At the moment I gave up, when I flash any software display doesn't even power up, I hear only very silent buzzing. I already figured out pinout, but please post it because there isn't pinout on internet yet so it might be useful for other users. Also pls send me stock firmware, I'll try to flash it and see does my display even works (if it's SWD version, I have no bootloader on replaced chip).

ZADOU89 commented 3 years ago

Please see pinout attached, and stock firmware is bootloader version. Please share your mail if you would like to try PINOUT 850C 6pin

ZADOU89 commented 3 years ago

Stock firmware sent

ZADOU89 commented 3 years ago

I had flashed both display and motor controller by 20.1C3 version, but it is not so good as per my expectation. I need to figure how to set it.
image Now it is running good, only defect is my 3 pin throttle is not working anymore

AKmatiAK commented 3 years ago

you're lucky, I tried today and doesn't work, so my display is just bricked :cry:

PowerPedalph commented 2 years ago

Hello did anyone find a solution installing custom firmware on the new 850c displays?

you're lucky, I tried today and doesn't work, so my display is just bricked 😢

AKmatiAK commented 2 years ago

https://github.com/emmebrusa/TSDZ2-Smart-EBike-860C/releases

PowerPedalph commented 2 years ago

https://github.com/emmebrusa/TSDZ2-Smart-EBike-860C/releases

I've tried this one as well not working on the 2022 version of 850c 😐