Skip to main content

picchick

picchick is a command-line utility used for programming and debugging microcontrollers.

The function is the same as avrdude, i.e. to provide a way to flash a compiled .hex file onto a microcontroller.

The latest documentation is available in the docs/ folder, or hosted online at rex.mckinnon.ninja/picchick

Installation

Requirements

  • python >= 3.10
    • pyserial
  • Compatible serial programmer
    • Checkout the docs for a list of compatible programmers.

From PyPi

picchick can be installed using pip:

$ pip install picchick
$ picchick -h

From Source

Building the latest git version is as simple as pip installing the repo directory. The -e, --editable flag can be added so a git pull will update the picchick command automatically.

$ git clone https://github.com/Rex--/picchick.git
$ cd picchick/
$ pip install [-e] .
$ picchick -h

Instead of installing the package, picchick can also be run as a python module:

$ python -m picchick -h

A wrapper script is provided that does this, providing a bit cleaner interface:

$ chmod +x picchick.sh
$ ./picchick.sh -h

NOTE: You may have to install pyserial for the above methods.

Usage

$ picchick -h
usage: picchick [-d <mcu>] [-c <programmer>] [-r <addr> [len] | -w <addr> <word> | -f] [-e [addr]] [-v] [hexfile]
       picchick [-d <mcu>] [--map | --list-ports] [hexfile]

A utility for programming and debugging microcontrollers.

positional arguments:
  hexfile                 path to a hexfile

options:
  -c programmer           type of programmer
  -d mcu, --device mcu    device to be programmed
  --version               print version number and exit
  -h, --help              print this message and exit

actions:
  -r, --read addr [len]   read bytes from specified address
  -w, --write addr word   write word to specified address
  -f, --flash             flash hexfile onto the device
  -e, --erase [addr]      erase device or specified address
  -v, --verify            verify device memory
  --map                   display the hexfile
  --list-ports            list available serial ports

Resources

Documentation: https://rex.mckinnon.ninja/picchick

Github: https://github.com/rex--/picchick

PyPi: https://pypi.org/project/picchick/

Copying

Copyright (C) 2022-2024 Rex McKinnon
This software is released under the University of Illinois/NCSA Open Source License. Check the LICENSE file for more details.

Metadata

Release files for picchick 0.4.1

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

Source distribution (sdist)

Source distribution for picchick 0.4.1
File Size Uploaded Provenance
picchick-0.4.1.tar.gz 17.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for picchick 0.4.1
File Interpreter ABI Platform
picchick-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.3 kB

Release files / picchick-0.4.1.tar.gz

Download URL picchick-0.4.1.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
871b4cff972ea1aaa6d11aac96018400443384fdccc813d01fd7e7c18abad2ed
BLAKE2b-256 checksum
How to use checksums
310a4455c6d3552b890c0f9c918eb488cca10a4f4a604d62e5df5131f941bf34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / picchick-0.4.1-py3-none-any.whl

Download URL picchick-0.4.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66a3361d6a4aaf5c39d00a88d82c142179f4de5e72f6a37375d5db9dc0420413
BLAKE2b-256 checksum
How to use checksums
8f7b55a53268ecd31c48c67799b4f09a4fcad49c00867ea4a4c67af403302d6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Security for picchick 0.4.1

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.

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