Registry / devops / tockloader

tockloader

JSON →
library1.16.0pypypi✓ verified 85d ago

Tockloader is a command-line tool for programming and managing applications on Tock OS boards. It handles bootloader communication, app flashing, erase, and board management. Current version: 1.16.0, released regularly.

pip install tockloader
INSTALL
IMPORT
SIG · TOCKLOADER
T
tockloader
devopspythonv1.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TockLoader
from tockloader.tockloader import TockLoader
Direct import for programmatic use.
main
from tockloader import main
Entry point for CLI usage.

Quick programmatic access to CLI functionality.

import tockloader.main as tm tm.main(['--help']) # Show help
tockloader --version
Debug
Known issues
gotchaTockloader is primarily a CLI tool; programmatic API may have breaking changes across minor versions.
fix
Use subprocess.run(['tockloader', ...]) for stability.
affects: all
gotchaMultiple Tock boards may have different bootloader protocols; --board flag may be required.
fix
Check board compatibility and specify --board <name>.
affects: all
deprecatedThe --jlink flag was removed in v1.13.0; use --debugger jlink instead.
fix
Replace --jlink with --debugger jlink.
affects: >=1.13.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'tockloader'
Tockloader not installed or installed in a different environment.
fix
pip install tockloader
error: Unable to open serial port
Serial port not specified or incorrect permissions.
fix
Use 'tockloader --port /dev/ttyUSB0 list' (Linux) or check permissions.
AttributeError: module 'tockloader' has no attribute 'main'
Relying on wrong import path.
fix
Use 'from tockloader import main' (note: no .tockloader).
Upgrade
Version history
1.16.0latest on PyPI · released Oct 7, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
tockloader — pip install tockloader · libregistry