Updating Bafang Firmware
To perform an update to the Bafang controller firmware you will need a programming cable with a USB connector on one end and a green Higo connector on the other end and a computer. Do not turn power on until instructed!
Disconnect the display cable on the bike and plug in the programming cable with the green Higo connect to the connector you just unplugged.
Next, set the parameters in the program as shown in the image.
Under MCU type, find “IAP15W4K61S4” (which is under “STC15W4K32S4 Series”)
Set max baud rate to 57,600
Set Input IRC frequency to 18,432
Now you are ready to link to the new firmware file. Click on Open Code File and load this file from our repository here.
At this point, click on the Download Program button. Now, turn on the power from your battery. You will see the program populate on the right side of the screen and the progress bar will activate progress. The program will notify you when it is completed. You’re all finished.