rewirte psoc flash tool with python for PSoC4 family, based on official python COM interface examples
- install official psoc programmer
- install python 3.10 and setting python paths
- pip install -r requirements.txt
python flash.py ccg3pa path/to/hexfile.hex
// this will keep Moku work under the same mode
python flash.py ccg5 path/to/hexfile.hex
// put device into factory test mode (AT mode)
python flash.py ccg5 path/to/hexfile.hex --atmode
// this will keep Moku work under the same mode
flash.exe ccg3pa path/to/hexfile.hex
flash.exe ccg5 path/to/hexfile.hex
// put device into factory test mode (AT mode)
flash.exe ccg5 path/to/hexfile.hex --atmode
It's still under development, so please report bugs and suggestions.