Skip to content

rewirte psoc flash tool with python for PSoC4 family, based on official python COM interface examples

License

Notifications You must be signed in to change notification settings

breakersun/psoc_flash

Repository files navigation

psoc_flash

rewirte psoc flash tool with python for PSoC4 family, based on official python COM interface examples

Install

  1. install official psoc programmer
  2. install python 3.10 and setting python paths
  3. pip install -r requirements.txt

Usage

For CCG3PA family:

python flash.py ccg3pa path/to/hexfile.hex

For CCG5 family:

// 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

if pre-compiled executables are used:

// 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

NOTE

It's still under development, so please report bugs and suggestions.

About

rewirte psoc flash tool with python for PSoC4 family, based on official python COM interface examples

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages