danielnilsson9 / bbs-fw

Open source firmware for multiple electric bike motor controllers.
GNU General Public License v3.0
191 stars 39 forks source link

"Flashing the firmware" section is a bit outdated #176

Closed labmonkey closed 1 year ago

labmonkey commented 1 year ago

Hello. I wanted to try out your firmware but I am having an issue from the very beginning. I've opened the https://github.com/danielnilsson9/bbs-fw/wiki/Flashing-the-Firmware page and noticed the following:

In the end I wanted to use 6.86e to follow exactly the screenshot but I am currently not able to. Would be great to get some clarification!

kb79000 commented 1 year ago

Hi, swap here no ? flash_tool~2

labmonkey commented 1 year ago

Hi. Thanks for quick response. I've realised that "P2.0 power-on reset state" was missing because is will show up only with a correct MCU selected (the default one when you first start the app does not have it). Still, for some reason the programming tool is unable to scan the correct MCU from my bike. Any ideas?

labmonkey commented 1 year ago

Ok and now I've figured it out. I had to connect the cable with bike battery removed, then click "Check MCU" and while it was scanning I had to insert the Bike battery (thats what you meant in the documentation by powering on/off the controller :-) ). Now it all works well. The only question remains if there is anything wrong with newest programming tool versions or not.

Edit: I've flashed whole thing with the newer version stc-isp6.91. So in the end there are no issues at all, just the wiki could be more "newbie" friendly. Thanks for this amazing Firmware!