stancecoke
🏍️ Giga poster
If you have a bin file of your firmware, you can look at it with HxD. At the end of the file there is the Bootloader version in plain text.Where can I find it?
If you have a bin file of your firmware, you can look at it with HxD. At the end of the file there is the Bootloader version in plain text.Where can I find it?
BOOTLOADER_V38If you have a bin file of your firmware, you can look at it with HxD. At the end of the file there is the Bootloader version in plain text.
Yes. I'll have have to check your firmware file first. Is it available somewhere?Is this what we need?
Yes. I'll have have to check your firmware file first. Is it available somewhere?
I'm on a weekend trip, so I can build a specific bin file on Monday.
Is there any detailed information? I only know the PAS has changes from Hall sensors to an optical sensor. But this should be no problem for the firmware. Maybe the calculated cadence is not correct, but that's easy to fix...According to the forum, the torque sensor has been changed
No, I don't have any specific details. I heard somewhere that the torque sensor resolution has been increased. At least, the starting voltage hasn't changed (750 mV).Is there any detailed information?
The Bafang has many issues compared to market leaders: high noise (M560), not the most natural power delivery, and not the best energy efficiency. As far as I know, there's also an FC 4.0 version, the M510 RS, with a multi-point speed sensor in the form of a 42-hole disc.I wonder why Bafang changes the controllers hardware faster than others change their underwear. There will never be a proper increase of maturity for the firmware, if you have to maintain service for hundreds of variants...
I've set the vector table offset to 0xA800 that works for my hub motor controller with bootloader V38 and edited the header according to the original Bafang ones from #179 and #180. The firmware itself is the V0.006 from the M510 branch. I have no possibility to check, if it works, as I don't have the hardware for the M510 and M560 with BL38.I can build a specific bin file on Monday.
Preliminary report.I've set the vector table offset to 0xA800 that works for my hub motor controller with bootloader V38 and edited the header according to the original Bafang ones from #179 and #180.
Thank you for the feedback!Preliminary report.
The switch off algorithm was quite tricky for my M510 controller, on the hub motor controller the behaviour of the voltage on the ADC line for the On/Off button was completely different. Maybe Bafang changed it for newer controllers.but doesn't turn off
That's strange. Have you set the right system voltage in the Canable Tool?The battery level isn't displayed on the display
Perhaps I misunderstood or overlooked the voltage setting procedure. I can select 36, 43, and 48 volts (there's no 52-volt option). Selecting any other option immediately resets everything to 36 volts.That's strange. Have you set the right system voltage in the Canable Tool?
As a user, I would never have thought that this particular function would be difficult to implementThe switch off algorithm was quite tricky for my M510 controller, on the hub motor controller the behaviour of the voltage on the ADC line for the On/Off button was completely different.
52V (13s) is called 48V nominally.there's no 52-volt option
The Bafang firmware with a 52-volt rating is for a 14S battery with a maximum voltage of 58.8 volts. I have this firmware for the M560.52V (13s) is called 48V nominally
The problem was with the display. I'm using a non-original SW102T CAN display because it's compact. When I connected the original DPC245, the SOC reading reached 100% within 1-2 seconds of booting.Can your display show the calories?
YesIs the voltage shown correctly in the live controller data of the Canable tool?
OK, then we have to ask @mdi, if he can implement higher voltages in the canable tool drop down menu. Or just let the field be freely editable.The Bafang firmware with a 52-volt rating is for a 14S battery with a maximum voltage of 58.8 volts. I have this firmware for the M560.
Have you executed the position sensor calibration yet?When set to "1," the motor rotates in the opposite direction.
This wasn't necessary. I simply changed this value to 0. I can perform a calibration to check the functionality.Have you executed the position sensor calibration yet?
The chain wheel will turn a little very slowly. I had one run, where the motor didn't work after the calibration. Executing the calibration again fixed that. Maybe the motor is running in the other direction after the calibration.I can perform a calibration to check the functionality
I've replaced the shut off algorithm with the one from the hub motor controller. @Avatarkhorn, you can try, if it works now!on the hub motor controller the behaviour of the voltage on the ADC line for the On/Off button was completely different.
I noticed that the old algorithm also works on the DPC245 display.I've replaced the shut off algorithm with the one from the hub motor controller. @Avatarkhorn, you can try, if it works now!
I had this behaviour also, but I have no explanation so far. It is an issue with the off road routine, it should only engage, if two fast following button clicks are detected. Perhaps I have to add a minimum time between the clicks to avoid misfires.When the motor stops, the number "1" appears on the display
Danger!I've replaced the shut off algorithm with the one from the hub motor controller. @Avatarkhorn, you can try, if it works now!
Just press and hold the power button, when starting the update process. This should work, even if the display keeps dark. But if you have already fixed it with the BESST, it's OK also!Canable requires a powered display.
I've added a minimum time between two clicks for the offroad code now, but I haven't tested it yet.During acceleration, the motor periodically stops abruptly for a short time
Loaded. I can test it tomorrow.I've added a minimum time between two clicks for the offroad code now, but I haven't tested it yet.
The firmware installed on the M560, and the position sensor calibration went fine. Then I pulled the throttle trigger to test without the chain. The motor started spinning normally, but after a second the screen shut off. It turned out the battery contact had burned out. The current seemed to be significantly higher than 25A.I've set the vector table offset to 0xA800 that works for my hub motor controller with bootloader V38 and edited the header according to the original Bafang ones from #179 and #180. The firmware itself is the V0.006 from the M510 branch. I have no possibility to check, if it works, as I don't have the hardware for the M510 and M560 with BL38.
Good luck with trying it
regards
stancecoke