BBSHD Voltage Problem Firmware Update & Instructions
-
- Posts: 1
- Joined: Jul 04 2019 6:13pm
Re: BBSHD Voltage Problem Firmware Update & Instructions
Has anybody had success with this on a BBS02? I have a recent build with a BBS02 and the throttle has no response while pedelling. I am hoping this might fix that issue.
- amberwolf 100 GW
- Posts: 33658
- Joined: Aug 17 2009 6:43am
- Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
- Contact:
Re: BBSHD Voltage Problem Firmware Update & Instructions
This particular fix is specifically for the "overvoltage" error. It *could* fix other errors on a BBSHD, but I don't know if it will do anything for a BBS01 or BBS02, as those probably use different firmware files.
If you do try it, keep in mind you can make your controller completely inoperable, completely inaccessible, and non-reprogrammable, if anything goes wrong or your hardware is not compatible with the file you use.
The PAS vs throttle issue is a separate thing, and there are some threads for that, like this one:
viewtopic.php?f=28&t=93977
that may have a fix you can use more safely.
If you do try it, keep in mind you can make your controller completely inoperable, completely inaccessible, and non-reprogrammable, if anything goes wrong or your hardware is not compatible with the file you use.
The PAS vs throttle issue is a separate thing, and there are some threads for that, like this one:
viewtopic.php?f=28&t=93977
that may have a fix you can use more safely.
If you found this advice helpful, supporting contributions are accepted here.
Beginning of a New Life
Give a listen to my music!
(More here, including experimental).
Beginning of a New Life
Give a listen to my music!
(More here, including experimental).
Re: BBSHD Voltage Problem Firmware Update & Instructions
No. You’ll get to buy a new controller.BiggtBiggt wrote: ↑Jul 04 2019 6:16pmHas anybody had success with this on a BBS02? I have a recent build with a BBS02 and the throttle has no response while pedelling. I am hoping this might fix that issue.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
See this thread:BiggtBiggt wrote: ↑Jul 04 2019 6:16pmHas anybody had success with this on a BBS02? I have a recent build with a BBS02 and the throttle has no response while pedelling. I am hoping this might fix that issue.
viewtopic.php?f=28&t=93977&hilit=bbshd
You can fix the problem without getting a new controller.
"One test is worth a thousand opinions"
-
- Posts: 2
- Joined: Jul 16 2019 2:36pm
Re: BBSHD Voltage Problem Firmware Update & Instructions
Hi guys, I did the firmware Update thank you! I am still perplexed on how the heck you can get my display to show MAX PAS on my DC-18 display, I want to change my PAS to 9 as well. Any suggestions or help would be greatly appreciated. 

Re: BBSHD Voltage Problem Firmware Update & Instructions
I wish things with Bafang were as cut and dried. If I’ve learned anything, it’s there are different firmware or chips used and what works for one controller may not for another. Seems a surprise every few months. New rotor the latest.fechter wrote: ↑Jul 05 2019 8:54amSee this thread:BiggtBiggt wrote: ↑Jul 04 2019 6:16pmHas anybody had success with this on a BBS02? I have a recent build with a BBS02 and the throttle has no response while pedelling. I am hoping this might fix that issue.
viewtopic.php?f=28&t=93977&hilit=bbshd
You can fix the problem without getting a new controller.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
stc-isp-15xx-v6.86E.exe
Anyone use any other stc file? Fellow is getting a message to use newer version.
Anyone use any other stc file? Fellow is getting a message to use newer version.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
OK, all done now.
Thanks Amberwolf, everything worked like a charm.
I flashed both the 413 and 418 files to what I would say is probably a "newer" controller made within the last year. Both worked. For some reason my anti-virus didn't have any problem with the 413 flash, but I had to disable McAfee to flash the 418 file. Every time I tried to flash the new code it was booting me out and deleting the program. Considering how big of a no-no turning something off in mid flash is I did not brick the controller. But you may want to turn of your anti-virus preemptively.
I had to find the Luna 52Vlimitless.el file to restore the PAS 0 full throttle settings. I have no clue why this is but I suspect "user error", I think I was hitting "write" instead of "write flash" the first couple times.
I had an extra 48V error 7 controller lying around so I did the shunt mod as well. It seems to pull another 5 or 6mph on flat ground.
Thanks Amberwolf, everything worked like a charm.
I flashed both the 413 and 418 files to what I would say is probably a "newer" controller made within the last year. Both worked. For some reason my anti-virus didn't have any problem with the 413 flash, but I had to disable McAfee to flash the 418 file. Every time I tried to flash the new code it was booting me out and deleting the program. Considering how big of a no-no turning something off in mid flash is I did not brick the controller. But you may want to turn of your anti-virus preemptively.
I had to find the Luna 52Vlimitless.el file to restore the PAS 0 full throttle settings. I have no clue why this is but I suspect "user error", I think I was hitting "write" instead of "write flash" the first couple times.
I had an extra 48V error 7 controller lying around so I did the shunt mod as well. It seems to pull another 5 or 6mph on flat ground.
Re: BBSHD Voltage Problem Firmware Update & Instructions
You may know I started the project for OpenSource firmware to mid drive TSDZ2 motor and our firmware is amazing (feedback from the users) and I wonder how hard would be to make for Bafang BSSHD.
I also started the OpenSource firmware for Bafang 850C color display as also the SW102/EggRider Bluetooth LCD and they work very well pairing with our firmware running on TSDZ2.
Maybe a torque sensor could be added to Bafang BSSHD, that could be strain gauge added to each pedal and communication y Bluetooth to SW102 display that would then send the cadence and torque sensor signal to Bafang BSSHD motor controller running our firmware ---- maybe this is to crazy and complex to do
What is the motor max RPM? On TSDZ2 is 4000 RPMS.
---
That STC15W4K32S4 is from ST, there is an English datasheet available as also a c compiler and some examples projects on github.
The c compiler is SDCC, the same we use for the TSDZ2 motor controller, which is also a microcontroller from ST.
So, even if there is other IC that specifically do the motor controller, than should be easy to understand the schematic of the motor controller and then develop the firmware, probably even more easy than the TSDZ2 or the KT Kunteng motor controllers firmware that we also developed.
Can you please tell me the me reference of the motor controller IC??
I also started the OpenSource firmware for Bafang 850C color display as also the SW102/EggRider Bluetooth LCD and they work very well pairing with our firmware running on TSDZ2.
Maybe a torque sensor could be added to Bafang BSSHD, that could be strain gauge added to each pedal and communication y Bluetooth to SW102 display that would then send the cadence and torque sensor signal to Bafang BSSHD motor controller running our firmware ---- maybe this is to crazy and complex to do
What is the motor max RPM? On TSDZ2 is 4000 RPMS.
---
Thanks for the information.BotoXbz wrote: ↑Aug 31 2019 8:13pmThe controller on the BBSHD is garbage, it's using a Chinese STC15W4K32S4 series MCU
There is a second MCU, I think that one does the motor control and the STC probably only tells it how much current it wants
Original firmware is here: viewtopic.php?t=100064
A much better idea would be to design a good VESC controller that'd fit into the original enclosure.
And then you could do whatever you want.
That STC15W4K32S4 is from ST, there is an English datasheet available as also a c compiler and some examples projects on github.
The c compiler is SDCC, the same we use for the TSDZ2 motor controller, which is also a microcontroller from ST.
So, even if there is other IC that specifically do the motor controller, than should be easy to understand the schematic of the motor controller and then develop the firmware, probably even more easy than the TSDZ2 or the KT Kunteng motor controllers firmware that we also developed.
Can you please tell me the me reference of the motor controller IC??
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware
Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware
Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.
Re: BBSHD Voltage Problem Firmware Update & Instructions
I started a thread specifically for firmware development:
Bafang BBSHD BBS02 mid drive -- Flexible OpenSource firmware
Bafang BBSHD BBS02 mid drive -- Flexible OpenSource firmware
- TSDZ2 and OpenSource EV display: 128x64 OLED display, easy to build as DIY, Bluetooth and ANT, OTA wireless updates, easy to repair and customize for other EVs.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware
Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.
- TSDZ2 FAQ: issues and repairs, etc
- TSDZ2 OpenSource firmware
Developer of OpenSource knowledge and technology for ebikes: OpenSource EV display, Wireless EBike standard ANT+ and Bluetooth, TSDZ2 OpenSource firmware, KT motor controllers and displays.
Re: BBSHD Voltage Problem Firmware Update & Instructions
I have the same issue...
UPDATE: just figured it out... Max baud rate must be set to 57600 otherwise this is the error you get...
You can also get the latest stc @ http://www.stcisp.com/STC-ISP_update_history.html
Code: Select all
. MCU type: IAP15W4K61S4
F/W version: 7.2.5T
Adjusting frequency ...
Download failed ! (6.86E)(2019-09-04 09:41:38)
Please using the newest software !
Re: BBSHD Voltage Problem Firmware Update & Instructions
i have a new bbshd i received in aug 2019. it has 2019 date codes on it so I assume it is the new controller. I have the throttle pedal issue. Will this firmware fix that? Which one should i flash?
thanks
thanks
Re: BBSHD Voltage Problem Firmware Update & Instructions
My motor has 190724.... written on the bottom which I'm guessing means its a version from July 2019.
I tried both the "5228" (52V 28A) and "4830" options (48V 30A). Both programmed successfully
I got over voltage error on 4830.
No over voltage error on 5228. However as noted by other max current is now limited to 28A (which sucks)
This did not fix throttle issues for me. I've disabled PAS by changing config options with programming cable and throttle response is nice. (But no PAS)
I tried both the "5228" (52V 28A) and "4830" options (48V 30A). Both programmed successfully
I got over voltage error on 4830.
No over voltage error on 5228. However as noted by other max current is now limited to 28A (which sucks)
This did not fix throttle issues for me. I've disabled PAS by changing config options with programming cable and throttle response is nice. (But no PAS)
Re: BBSHD Voltage Problem Firmware Update & Instructions
Who was the seller?p913 wrote: ↑Oct 17 2019 3:23amMy motor has 190724.... written on the bottom which I'm guessing means its a version from July 2019.
I tried both the "5228" (52V 28A) and "4830" options (48V 30A). Both programmed successfully
I got over voltage error on 4830.
No over voltage error on 5228. However as noted by other max current is now limited to 28A (which sucks)
This did not fix throttle issues for me. I've disabled PAS by changing config options with programming cable and throttle response is nice. (But no PAS)
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
Luna-mate.com in Australiatomjasz wrote: ↑Oct 18 2019 1:30amWho was the seller?p913 wrote: ↑Oct 17 2019 3:23amMy motor has 190724.... written on the bottom which I'm guessing means its a version from July 2019.
I tried both the "5228" (52V 28A) and "4830" options (48V 30A). Both programmed successfully
I got over voltage error on 4830.
No over voltage error on 5228. However as noted by other max current is now limited to 28A (which sucks)
This did not fix throttle issues for me. I've disabled PAS by changing config options with programming cable and throttle response is nice. (But no PAS)
Re: BBSHD Voltage Problem Firmware Update & Instructions
No surprise, the self declared largest Bafang BBSxx series super vendor does F all to assist the market and other users. Whining like little bitches that everyone was out to get them...And with zero support changing and improving prices and service...when in fact selfish, self centered, self aggrandizing, greedy curmudgeons doing F all for Bafang BBSxx kit builders.
Sadly the parent company has the best profit margin and the worst open source assistance. Funny how that works.
Sadly the parent company has the best profit margin and the worst open source assistance. Funny how that works.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
I have a BBSHD with motor number 190823, bought in Oct from Amazon. In the config tool, it has the 28 amp limit and I'm pissed. Hardware v1.5. But if I returned it and got another one from another seller, I'd probably have the same issue. I guess I'll have to live with it or do the shunt mod if I want more amps. Haven't charged my 52v battery up to the max or put the motor on my bike yet. Hope I don't get the 07h error.
Re: BBSHD Voltage Problem Firmware Update & Instructions
You won't notice much difference between 28A and 30A. Consider yourself lucky if it doesn't have the jerky throttle issue.
"One test is worth a thousand opinions"
Re: BBSHD Voltage Problem Firmware Update & Instructions
Buy from Amazon and get Amazon level support. Probably won't get the 07. I just don't get why buyers don't use the dozen small businesses that offer support beyond having to wait for answers on forums. 28A gets me 33MPH on a 26" flat foot cruiser. Faster than the brakes can handle...jwunder wrote: ↑Nov 14 2019 12:06amI have a BBSHD with motor number 190823, bought in Oct from Amazon. In the config tool, it has the 28 amp limit and I'm pissed. Hardware v1.5. But if I returned it and got another one from another seller, I'd probably have the same issue. I guess I'll have to live with it or do the shunt mod if I want more amps. Haven't charged my 52v battery up to the max or put the motor on my bike yet. Hope I don't get the 07h error.
Thanks Justin_le we're here thanks to you. All the best to the mods for their tireless work keeping it on an even keel.
Re: BBSHD Voltage Problem Firmware Update & Instructions
I have a 29er with hydraulic, so we'll see how it goes. Maybe I should have went with a hub bike, but there are hills where I live. It's just that... you do all this research, finally pull the trigger, and the actual product doesn't match what you read about. Bafang changed the software without notice... and probably will again. Like shooting a moving target.28A gets me 33MPH on a 26" flat foot cruiser. Faster than the brakes can handle...
Re: BBSHD Voltage Problem Firmware Update & Instructions
I still really like the BBSHD and use it on a lot of really steep dirt trails. Stuff my old 2kw hub motor would just overheat on. There are hardware hacks for most of the software problems but you wouldn't need to hack anything if they did the software right.
"One test is worth a thousand opinions"
Re: BBSHD Voltage Problem Firmware Update & Instructions
Yeah, but I'm seeing 5kw hubs for the price of a BBSHD. I would have gotten a smaller bike for it tho, which I probably wouldn't have liked.
-
- Posts: 1
- Joined: Jan 21 2020 7:18pm
Re: BBSHD Voltage Problem Firmware Update & Instructions
Thanks so much for the excellent writeup, simple and straight-forward. No more error 07! 

-
- Posts: 1
- Joined: Jul 06 2020 9:48am
Re: BBSHD Voltage Problem Firmware Update & Instructions
Big thanks to amberwolf!
I got MY BBSHD from ebike-4you.de
the sticker says CRR10E4830E105001.1
another label says CR R10E.1000S.N.U 1.5
Firmware: 1.5
I used amberwolfs CRR10E4830E105001.1_190413-1.bin
after flashing i can still use the config tool @ 30A
I still get the 07H but its above 58.4 V, thats fine for me because i can adjust CV on my charger.
I had one major issue id like to share with you guys:
STC got stuck at flashing each time. I tried 2 Computers WIN7 with several drivers and WIN10 and several STC versions.
The very last thing i tried after hours of failing did finally suceed:
Turn of the firewall.
Any suggestions or ideas about 07H at 58.4 Volts?
Seems like I'm the only one with that kind of limitation after flashing.
Before flashing the limit was at about 57.0 V
Peter
I got MY BBSHD from ebike-4you.de
the sticker says CRR10E4830E105001.1
another label says CR R10E.1000S.N.U 1.5
Firmware: 1.5
I used amberwolfs CRR10E4830E105001.1_190413-1.bin
after flashing i can still use the config tool @ 30A
I still get the 07H but its above 58.4 V, thats fine for me because i can adjust CV on my charger.
I had one major issue id like to share with you guys:
STC got stuck at flashing each time. I tried 2 Computers WIN7 with several drivers and WIN10 and several STC versions.
The very last thing i tried after hours of failing did finally suceed:
Turn of the firewall.
Any suggestions or ideas about 07H at 58.4 Volts?
Seems like I'm the only one with that kind of limitation after flashing.
Before flashing the limit was at about 57.0 V
Peter
- amberwolf 100 GW
- Posts: 33658
- Joined: Aug 17 2009 6:43am
- Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
- Contact:
Re: BBSHD Voltage Problem Firmware Update & Instructions
That probably means this firmware, with your hardware, has it's limit at that 58.4v. Since that's not much below the typical HVC of a 52v pack, the simplest solution is to charge the battery normally, then leave the bike on for a few minutes to a couple of hours, just sittng there, and it should drain it enough to use normally. Alternately you could setup a load like a 100w incandescent light bulb you can plug into the battery output connector for a moment, enough to load it to drop the voltage to where the bike will start.Spezialexperte wrote: ↑Jul 06 2020 10:22am
Any suggestions or ideas about 07H at 58.4 Volts?
Seems like I'm the only one with that kind of limitation after flashing.
Before flashing the limit was at about 57.0 V
You could also charge to just below the limit most of the time, only doing a full charge periodically overnight to ensure balancing if necessary. You wouldn't even notice a capacity/range difference with the ~0.5v or so less.
If you really need to defeat that, you could try to compare your original firmware code (if you have a file for it) with the one you've got in there now, and see if there are just a few small bits of code taht is different. Compare the two firmwares in those spots, and see if there is a correlation in value to equate to the voltage difference. Then you can figure out what difference it should be to get teh voltage you want there instead, and alter teh code and reflash.
If there are checksums this won't work, unless you can decompile and recompile it with the new values; I don't have any idea how to do that.

If you found this advice helpful, supporting contributions are accepted here.
Beginning of a New Life
Give a listen to my music!
(More here, including experimental).
Beginning of a New Life
Give a listen to my music!
(More here, including experimental).