To facilitate the installation of the MicroPython PSOCâ„¢ Edge port, the mp-ifx-flash.py Python script is
provided. It is compatible with Windows, Linux, and macOS.
Before downloading and running the script, it is recommended to create a new folder to keep all the related files together. For example:
mkdir mp-install
cd mp-install
You can easily download the script from the terminal using the following command:
curl -s -L https://raw.githubusercontent.com/micropython/micropython/master/ports/psoc-edge/tools/mp-ifx-flash.py > mp-ifx-flash.py
Ensure you have a recent version of Python 3.x and the pip package installer installed. Then install the following packages:
pip install requests
Flashing can be done using the from-package command. Specify the board using the --board flag, and the path to the downloaded .zip package using the --zip-package flag, as shown below:
python mp-ifx-flash.py from-package --board KIT_PSE84_AI --zip-package pathtodir/psoc-edge-package.zip
If you have multiple PSOCâ„¢ Edge boards connected to your computer, you can identify them by their
serial number and flash each one individually. To do so, use the -n flag to provide the serial number of
the target board as shown below:
python mp-ifx-flash.py from-package --board KIT_PSE84_AI --zip-package pathtodir/psoc-edge-package.zip -n 181F0D5A01212300
No firmware is available for this board.