Metadata-Version: 2.4
Name: bflb-mcu-tool-uart
Version: 1.10.1
Summary: Bouffalolab Mcu Tool
Home-page: https://pypi.org/project/bflb-mcu-tool-uart/
Author: bouffalolab
Author-email: jxtan@bouffalolab.com
License: MIT
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft
Classifier: Operating System :: Unix
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: toml>=0.10.0
Requires-Dist: configobj>=5.0.9
Requires-Dist: cryptography>=37.0.4
Requires-Dist: pycklink>=0.1.1
Requires-Dist: pyserial>=3.5
Requires-Dist: pylink-square>=0.5.0
Requires-Dist: portalocker>=2.0.0
Requires-Dist: telnetlib-313-and-up; python_version > "3.12"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


## Bouffalolab Mcu Command Tool For Uart
====================================

The functions of bflb_mcu_tool is the same as DevCube(MCU View) which is a GUI tool for image programing.
bflb_mcu_tool is designed for the convenience of integrating into the compilation system after image buid,
and making it more easy for users who are accustomed to using command line operations.

### basic download config:

* --chipname：mandatory, name of chip(bl602/bl702/bl616...)
* --bootsrc：1.flash, 2.uart/sdio, 3.uart/usb, default is flash
* --port：serial port or jlink serial number
* --baudrate：baudrate of serial port, default is 115200
* --xtal：xtal on the board, for bl602,1:24M,2:32M,3:38.4M,4:40M(default value when not specified),5:26M; for bl702,1:32M(default value when not specified); for bl616,just use value 7(auto adjust)
* --config：eflash loader configuration file,default is chips/blXXXX/eflash_loader/eflash_loader_cfg.ini
* --flashclk：clock of flash
* --pllclk：clock of pll

### files for download:

* --firmware：mandatory, select the firmware binary file which your sdk build out
* --dts：optional,select the device tree file you used
* --addr：address to program, default is 0x2000
* --erase：erase the whole flash

### other options:

* --build：build image only

### EXAMPLE:
* bflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin"
* bflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --erase
* bflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --build

