Skip to content

Commit

Permalink
Merge branch 'Pe3ucTop-global_rework'
Browse files Browse the repository at this point in the history
Signed-off-by: Huang Rui <vowstar@gmail.com>
  • Loading branch information
vowstar committed May 25, 2022
2 parents 655a64f + 04646da commit d00794e
Show file tree
Hide file tree
Showing 4 changed files with 1,401 additions and 433 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ An open sourced python command line flash tool for flashing WinChipHead CH55x se

Usage
------------
* __-f \<filename\>__ Erase the whole chip, and flash the bin file to the CH55x.
* __-r__ Issue reset and run after the flashing.
* __-f/--flash \<filename\>__ Erase the whole chip, and flash the bin file to the CH55x.
* __-e/--erase\_flash__ Erase the whole program flash.
* __--verify\_flash__ [filename] Verify program flash contend with given file, if filename ommited verifying with flashed data. No verifying perormed without this flag.
* __-r/--reset\_at\_end__ Issue reset and run after all.
* __-d/--data \<filename\>__ Erase the whole data flash and write the bin file to the CH55x.
* __-c/--erase\_dataflash__ Erase the whole data flash.
* __--verify\_data__ [filename] Verify data flash contend with given file, if filename ommited verifying with written data. No verifying perormed without this flag.
* __-g/--read\_dataflash__ Read content of data flash to file.
* __-p/--print\_chip\_cfg__ Read and print chip configuration bits 3 x 32 bit values.


```bash
python3 -m ch55xtool -f THE_BINARY_FILE.bin
Expand Down
Loading

0 comments on commit d00794e

Please sign in to comment.