Skip to main content
Python Versions CCS Versions License: MIT Downloads

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.

Authors

  • Cameron Webb - Initial work - webbcam

See also the list of contributors who participated in this project.

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)

Source distribution for tiflash 1.3.0
File Size Uploaded
tiflash-1.3.0.tar.gz 43.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tiflash 1.3.0
File Interpreter ABI Platform
tiflash-1.3.0-py3-none-any.whl Python 3 none any Details
tiflash-1.3.0-py2-none-any.whl Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

1.3.0 This release

3 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.16

2 release files

0.9.15

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.8.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.5.1

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.1.0

2 release files

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