TI-Flash

An unofficial Python flash programmer for Texas Instruments Launchpads.
Read The Docs
Please see the readthedocs page for the most up to date documentation.
Getting Started
TIFlash uses Texas Instruments’s Code Composer Studio scripting interface (Debug Server Scripting) to flash devices. It’s essentially a python/command line interface for CCS. This is helpful when just needing to perform simple actions like flashing, erasing or resetting a device without having to spin up an entire CCS GUI session.
Follow the steps below to get TIFlash set up on your computer.
Prerequisites
You will need to have Code Composer Studio installed along with drivers for any devices you plan to use (offered during installation of CCS or available in CCS’s Resource Explorer).
You’ll also need Python installed on your computer, either 2.7 or 3.6+ (preferred) will work.
Installing
Install TIFlash via PyPi (recommended)
pip install tiflash
Install via git repo (used for development)
git install https://github.com/webbcam/tiflash.git cd tiflash pip install -r requirements.txt pip install -e .
Quickstart
TIFlash can be used via Python directly or using the commandline.
Command Line
Installing TIFlash via pip will install the commandline application.
From a command prompt:
tiflash -h # display help menu tiflash -s L4000CE flash /path/to/image.hex -o ResetOnRestart True
For more commandline examples see the CLI docs
Python
TIFlash can also be used directly in your Python scripts.
import tiflash
tiflash.flash(serno='L4000CE', image='/path/to/image.hex', options={'ResetOnRestart':True})
For more python examples see the API docs
Contributing
Please read CONTRIBUTING.rst for details on the process for submitting pull requests to us.
Versioning
For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE file for details
Disclaimer
Please see the Disclaimer.
Acknowledgments
Metadata
Release files for tiflash 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tiflash-1.3.0.tar.gz | 43.8 kB | Without provenance | Details for tiflash-1.3.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tiflash-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for tiflash-1.3.0-py3-none-any.whl |
| tiflash-1.3.0-py2-none-any.whl | Python 2 | none | any | Details for tiflash-1.3.0-py2-none-any.whl |
Total release size: 157.6 kB
Release files / tiflash-1.3.0.tar.gz
| Download URL | tiflash-1.3.0.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e625799af4907604d3cbf23448b75c30eb1925ef4943d942f51cd131f9ae568b
|
|
BLAKE2b-256 checksum How to use checksums |
5f30591a4992cc553ebd01b48fdfdfcb3b25726d5428d28f0f90f1834d02aac1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / tiflash-1.3.0-py3-none-any.whl
| Download URL | tiflash-1.3.0-py3-none-any.whl |
|---|---|
| Size | 56.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35608a6296500ec4269d69e84224b958a7825a4d5c0f0fef4d361edadf5f3167
|
|
BLAKE2b-256 checksum How to use checksums |
e5ea22f083a7c3565d751db50cd5392bb14c054348c9da00b35bd179acf6573b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / tiflash-1.3.0-py2-none-any.whl
| Download URL | tiflash-1.3.0-py2-none-any.whl |
|---|---|
| Size | 56.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
7b4c50d38f1b3a6da143778dbd98aa0bf4a2806b2a2d5f07f4bd6f7dc8b95d61
|
|
BLAKE2b-256 checksum How to use checksums |
e37e4388fecf481a1829fea7281bd8b8b8bd9a37edd6c0d8e0bee0ace0d5325a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for tiflash 1.3.0
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.