How to flash the zigbee thread board - thirdreality/LinuxBox GitHub Wiki
Zigbee/Thread Firmware Flashing
This section is for flashing the firmware of Zigbee/Thread sub-board modules. The process is expected to take 5-6 minutes.
⚠️ Note: Typically, LinuxBox devices come with firmware pre-flashed from the factory. Before performing sub-board flashing operations, please confirm that these operations are necessary.
Prerequisites
To avoid device occupation and port conflicts, you must stop all related software during the flashing process.
It is recommended to perform the operations in this section after the LinuxBox has finished flashing or after performing a Factory reset.
For more information about how to burn the image to LinuxBox
, please refer to: How to burn the image to LinuxBox
Steps
For production convenience, the latest LinuxBox firmware comes pre-installed with all the software required for flashing BL706/702. No additional downloads are needed.
⚠️ Important Warning: Do not power off during the flashing process, as this may cause device damage.
Zigbee Module Flash Command
# flash: flashing operation
# zigbee/thread: target protocol type
cd /lib/firmware/bl706/; ./bl706_func.sh flash zigbee
Thread Module Flash Command
# flash: flashing operation
# zigbee/thread: target protocol type
cd /lib/firmware/bl706/; ./bl706_func.sh flash thread
If you see [All Success]
at the end of the process, the flashing was successful.
[07:42:34.068] - Verify success
[07:42:34.069] - Program Finished
[07:42:34.070] - All time cost(ms): 37901.205810546875
[07:42:34.171] - close interface
[07:42:34.172] - [All Success]
Detailed Effects of Each Command
Command | Description |
---|---|
./bl706_func.sh flash zigbee | Flash Zigbee module, uses BLZ protocol firmware by default |
./bl706_func.sh flash zigate | Flash Zigbee module, uses Zigate protocol firmware |
./bl706_func.sh flash blz | Flash Zigbee module, uses BLZ protocol firmware |
./bl706_func.sh flash thread | Flash Thread module, for Thread network |
Common Issues and Troubleshooting
- BFLB EFLASH LOADER SHAKEHAND FAIL
- Check whether the connection between the sub-board and the main board is secure. If you have opened the enclosure, make sure the two PCBs are firmly connected.
- Image Load fail
- Check whether the connection between the sub-board and the main board is secure. If you have opened the enclosure, make sure the two PCBs are firmly connected.
- Ensure the image file is correct.
Frequently Asked Questions (FAQ)
Q1: What should I do if the power is lost during flashing?
A1: It is recommended to rerun the flashing command. If it fails multiple times, please replace the module or contact technical support.
Q2: The module cannot be recognized after flashing?
A2: Please check whether the firmware image file is correct and try flashing again.
Q3: Can the flashing script be executed in other directories?
A3: It is recommended to execute it in the /lib/firmware/bl706/
directory to ensure the firmware file path is correct.
Q4: Can Thread firmware and Zigbee firmware be flashed interchangeably?
A4: Not recommended. Please select the corresponding firmware according to the actual protocol.
For more questions, please contact technical support or refer to related documentation.