-
-
Notifications
You must be signed in to change notification settings - Fork 39
Flash Firmware (BBS02 & BBSHD)
Proceed with caution. It is a good idea to have access to the original firmware if you for any reason want to roll back.
BBSHD
If you have any other BBSHD controller revision than 1.4 or 1.5, DO NOT PROCEED unless you can accept bricking your controller.
If you have verified this firmware working on older BBSHD controller revisions, please let me know.
If you have an older revision, run "Check MCU" and let me know the output and I may be able to tell if is could work or not.
BBS02
There are compatibility issues reported, this firmware is suspected to be incompatible with older BBS02 controllers.
If you have a newer BBS02B you are probably fine, if you have an older controller it might not be a good idéa to flash this firmware.
I am not responsible if you brick your controller, but it is unlikely if you follow this guide closely.
- STC ISP Programming Software
- Programming Cable
- Download and start the STC ISP Programming Tool (v6.88, do not update).
- Download the latest released firmware from the release page.
- Extract the archive and locate the firmware .hex file intended for your controller type.
- Connect your controller to your computer using the programming cable.
- Select the correct COM port in the STC ISP programming tool.
- Power of your controller.
- Click "Check MCU" and then power on your controller to verify.
Log should say "Complete!" if connection was successful and the MCU type should be printed in the log. - Verify that the printed MCU type is one of the supported ones in tables here, do not proceed if incorrect.
- Set flashing parameters according to image below (very important!), pay special attention to highlighted areas.
Remember to set Input IRC Frequency to to 20MHz
NOTE: Selected MCU Type in image below is for BBSHD controller revision 1.5. - Open firmware file by clicking "Open Code File" button.
- Power of controller.
- Click "Download/Program" and power on your controller.
- The flash operation should start.
If it fails, try again, it is a bit unstable.
If you are running Linux you can try using the open source stcgal flashing software.
https://github.com/grigorig/stcgal