Skip to main content

cyflash

Cyflash is a tool for uploading firmware to Cypress PSoC devices via Cypress’s standard bootloader protocol.

Basic usage is simple: specify an interface to connect to the device via (currently only serial is supported) and a .cyacd file to upload, and cyflash does the rest.

Cyflash also has the advantage of being about 5 times faster than Cypress’s tool, being cross-platform, and not requiring all of PSoC creator to work.

Install cyflash from pypi with pip install cyflash, or (from source) python setup.py install.

Example command line:

cyflash –serial=/dev/tty.usb-device myfirmware.cyacd

Example output:

Initialising bootloader. Silicon ID 0x04a61193, revision 17. Array 0: first row 22, last row 255. Device application_id 0, version 258. Uploading data (198/198) Device checksum verifies OK. Rebooting device.

If cyflash detects a valid metadata record on the device already, it will read and compare this to your image’s metadata. By default, cyflash will prompt you before overwriting the firmware with an older version or one with a different application ID. You can force this behaviour with –downgrade or –nodowngrade and –newapp and –nonewapp, respectively.

Cyflash is still quite new, and should be considered beta-quality software. Pull requests and bug reports are most welcome.

Metadata

Release files for cyflash 1.06

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cyflash 1.06
File Size Uploaded Provenance Actions
cyflash-1.06.tar.gz 6.9 kB Without provenance Details for cyflash-1.06.tar.gz

Release files / cyflash-1.06.tar.gz

Download URL cyflash-1.06.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
636a0081211406f86fd7b757603d0cb49a8dea8005e5bdca0105af69d3975988
BLAKE2b-256 checksum
How to use checksums
d07db0c8c87efed985df9a0707c91d04ec749636af0c83569d5781e652354e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cyflash 1.06

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page