Bafang M500/M600 Tuning & The BESST Tool

i suspect that it existing several soft with same number, but following your country localisation (and rules), BESST tool block the download. Bafang have provide me 3 x 3.6 revision for the M510, but only one downloaded to my motor.

You can be right. Depends only on technician who is setting and compiling firmware for a dealer. He can put any firmware number. And there is mess then - each version behave differently.

I have some 46.2-yy version and here also power settings are gone.


And again to the M510. There are 3 revisions of FC1.0 and one FC2.0. This is the reason why you couldnt flash all firmwares.
You need to check first byte of bin file. View file and switch to hex view.
 
⚡ EMTB Pro Go Pro — exclusive discounts & ad-free Peaty's 25% off & more · Ad-free browsing · Pro badge See the deals →
I have the same controller hardware (FC 3.2) and it uploaded just fine. Strange that we are not experiencing consistent results.

It looks same from the controller label. But new M600 has different bootloader flashed, so is taking only new M600 firmware (bootcode 0x93).
 
Hello guys.

A quick preview. Working on simple firmware flasher, you can flash firmware just by plugging in motor and inserting SD card.

More details here:

K1 Flash Cover.jpg
 
Hey guys, what do I need to program the bafang motor(m820)? Whole Can besst tool or only the programing cable, which basicly looks like some kind of USB to UART interface?
What am I missing if I go only with the programing cable? Apart from 25/32/45kmh limit, what other options are there? Anything crucial?
I understand, that for besst tool I would need "dealer access password" or python script to bayass login.
 
Hey guys, what do I need to program the bafang motor(m820)? Whole Can besst tool or only the programing cable, which basicly looks like some kind of USB to UART interface?
What am I missing if I go only with the programing cable? Apart from 25/32/45kmh limit, what other options are there? Anything crucial?
I understand, that for besst tool I would need "dealer access password" or python script to bayass login.

You wont do much with an usb to can cable. You can send a speed limit packet.

Apart of Besst we all waiting for a BT Bafang app, to be able to set controller parameters. I would say is around the corner...

Question is if M820 supports anything else beside speed, circumference and wheel size.
Check this :
 
Tnx for the info.
Question regarding this device that you developed: For this "auto set low speed" device is living in the bike, right? But for other settings, you can use your device on different motors, many times, right? But, are these settings user programmable, or are they flashed to a device only once, at the time of purchasing the device, based on the spreadsheet data?
Tnx
 
Tnx for the info.
Question regarding this device that you developed: For this "auto set low speed" device is living in the bike, right? But for other settings, you can use your device on different motors, many times, right? But, are these settings user programmable, or are they flashed to a device only once, at the time of purchasing the device, based on the spreadsheet data?
Tnx


Yep, for ASLS you need to have BB3 still connected.

Other settings you activate, and then u can unplug device.

That is right, you can change the BB3 setup anytime. By connecting to android or pc, and send the commands to BB3. ("sl30" means speed low set to 30 kmh, "circ2200" - set circumference to 2200mm)
 
How is the ramp up at Pas 1 & 2? Strong?
Hi. L1 support is set low at 100w max and the ramp up is mild. When you start on the flat in L1 you no longer get the quick support and "too much power" feeling that exists in the original 46.3. L2 at 35% max feels closer to the old L1 power with a bit more torque. For technical trails uphill the ramp up and ramp down on L2 is manageable. I have tested L4/5 on long steep uphill trails and the support is now very strong and you don't need to maintain high cadence to access that support. This modified version has addressed all the issues I raised with the original 43.6 with L1 thru 5 each having a clear role while riding. This is much closer the 14.6 FW, which I can't install on my latest bike due to boot loader incompatibility, but I can ride happily with this modified FW.
 
Hi. L1 support is set low at 100w max and the ramp up is mild. When you start on the flat in L1 you no longer get the quick support and "too much power" feeling that exists in the original 46.3. L2 at 35% max feels closer to the old L1 power with a bit more torque. For technical trails uphill the ramp up and ramp down on L2 is manageable. I have tested L4/5 on long steep uphill trails and the support is now very strong and you don't need to maintain high cadence to access that support. This modified version has addressed all the issues I raised with the original 43.6 with L1 thru 5 each having a clear role while riding. This is much closer the 14.6 FW, which I can't install on my latest bike due to boot loader incompatibility, but I can ride happily with this modified FW.
btw with your connection to Bafang account manager at Dengfu U can request all Bafang M series modified firmware?
 
Hi. L1 support is set low at 100w max and the ramp up is mild. When you start on the flat in L1 you no longer get the quick support and "too much power" feeling that exists in the original 46.3. L2 at 35% max feels closer to the old L1 power with a bit more torque. For technical trails uphill the ramp up and ramp down on L2 is manageable. I have tested L4/5 on long steep uphill trails and the support is now very strong and you don't need to maintain high cadence to access that support. This modified version has addressed all the issues I raised with the original 43.6 with L1 thru 5 each having a clear role while riding. This is much closer the 14.6 FW, which I can't install on my latest bike due to boot loader incompatibility, but I can ride happily with this modified FW.
ohh..meaning this fw is only compatible with the new bootloader.
 
It looks same from the controller label. But new M600 has different bootloader flashed, so is taking only new M600 firmware (bootcode 0x93).
Thanks for the explanation of why firm wares are not 100% compatible across all motors despite the controller hardware having the same designation. I have checked this using a Hex file reader and can see exactly what you describe.

Question: can you edit a BIN (Hex) file and change the first byte to the value expected by your motor and 'trick' the bootloader to upload the file? If so, if the motor and controllers are the same hardware it would seem that any of the settings embedded in the BIN file should not cause any problems albeit nobody wants to risk 'bricking' their motor. Having the the ability to edit the native hex file and compile a new BIN file would seem like an opportunity to customise the firmware for a suitably qualified software engineer. My brother is a programmer so I will pick his brains on this.

Of course Bafang providing an App with a range of user defined parameters would be the ideal but I suspect this would require us to upgrade Controllers to the version they release to support this as they have with the new M510 motor/controller. They have developed a new M610 for FTX so I suspect this will be widely released at some point but this is not going to help all of us with older motor/controllers.
 
Thanks for the explanation of why firm wares are not 100% compatible across all motors despite the controller hardware having the same designation. I have checked this using a Hex file reader and can see exactly what you describe.

Question: can you edit a BIN (Hex) file and change the first byte to the value expected by your motor and 'trick' the bootloader to upload the file? If so, if the motor and controllers are the same hardware it would seem that any of the settings embedded in the BIN file should not cause any problems albeit nobody wants to risk 'bricking' their motor. Having the the ability to edit the native hex file and compile a new BIN file would seem like an opportunity to customise the firmware for a suitably qualified software engineer. My brother is a programmer so I will pick his brains on this.

Of course Bafang providing an App with a range of user defined parameters would be the ideal but I suspect this would require us to upgrade Controllers to the version they release to support this as they have with the new M510 motor/controller. They have developed a new M610 for FTX so I suspect this will be widely released at some point but this is not going to help all of us with older motor/controllers.


Try to ask you brother, what he thinks about changing bytes of compiled bin file. ;)))
Many firmwares wont even flash or start to run as there are checksums or hashes- but not the case with bafang.

And yes, somebody here did this trick, to edit boot code and flash and it worked. Just I wouldnt do it, there can be minor changes in controller hardware, for example different sensors (different values then coming to microcontroller) and your hacked firmwate wont be behaving as intended.

You usually wont brick the bootloader.
Have failed send whole bin file correctly many times when I was coding my flashing device (then you wont turn on motor). Still was able to re-flash though.

Managed to damage only one controller so far, but I have put somehow 100V to the control pin. ;)
 
Last edited:
But you can use 14.6 with an old controller. This 14.6 is reported being even better
I tried 14.6 before, weak PAS 1 to PAS 3, although the ramp up was linear. Im using 20.8 and the ramp up at Pas1&2 is still a bit frisky. PAS 2 is a tad too strong
 
I tried 14.6 before, weak PAS 1 to PAS 3, although the ramp up was linear. Im using 20.8 and the ramp up at Pas1&2 is still a bit frisky. PAS 2 is a tad too strong
You speaking about M500?
 
36V? As u have such a low numbers of fw version.
 
That will be still powerful on M600. I guess 46.2 was just a mistake.
But looking forward for M560. M600 is dead. ;)
 
If anyone wants to try going back to the 46.2 firmware and see if the adjustable power levels are there. Here you go! Do let me know how you get on, as I'm on the fence whether to purchase a new controller to gain access as I'm currently on an older one.
 

Attachments

46.2.yy version does not have power adjustments.
 
46.2.yy version does not have power adjustments.
Bugger, there goes my plan. Is the only way to get the adjustable levels with an M600 to buy a new controller and hope it has the correct 46.2 firmware?

Can I also ask if there's anyone who's running the adjustable M600 firmware with the new DPC245 that uses the GO+ app? If so, are you able to change the levels in the app?

That was my long term plan, rather than buying a whole new motor but its probably wishful thinking!
 
There is still no app with power adjustments option. I guess Bafang will release with M560 motor.

It is small chance you will get now M600 with 46.2 - I did get them like 6 months ago.
Anyway 46.2 is limiting from 40% SOC so is useless. :( Only 420W then.
 
Thanks for clearing that up.

Seems like the VESC route is looking like the most appealing route to take in that case. Just wish Luna would sell their controller seperatley!
 
Bugger, there goes my plan. Is the only way to get the adjustable levels with an M600 to buy a new controller and hope it has the correct 46.2 firmware?

Can I also ask if there's anyone who's running the adjustable M600 firmware with the new DPC245 that uses the GO+ app? If so, are you able to change the levels in the app?

That was my long term plan, rather than buying a whole new motor but its probably wishful thinking!
U can contact Flora Yuan from Changzhou Joyebikes. I got 46.2 controller from her. I think she still have it.
 
Keep reading
    Browse all

    Similar Threads

    Community Stats

    Since 2018
    668K
    Messages
    40,739
    Members
    Join 30,000+ Riders, it's free!
    Back
    Top