Skip to main content

Tool for flashing data to Cypress PSoC devices via bootloader.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyflash-1.05.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file cyflash-1.05.tar.gz.

File metadata

  • Download URL: cyflash-1.05.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cyflash-1.05.tar.gz
Algorithm Hash digest
SHA256 6547cdda0dfacc8605a3fc132b062295611967b96b6b08010d8303db414b5a23
MD5 8efdf98a777f8f4120b6c46a17a51b8a
BLAKE2b-256 d15a007ce1e40f743059927308d7b5ea82c44bb1f1358efb6591b063d2f5e5a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page