picchick

A utility to aid in programming PIC microcontrollers

picchick

A utility to aid in programming PIC microcontrollers

Overview

piccchick is a commandline utility written in python that attempts to implement Microchip’s PIC ICSP Low-Voltage with just a simple AVR device.

It attempts to do the majority of the work on the host computer, and sends a simple byte stream to an arduino for converting directly into digital signals.

Usage

usage: picchick [options] [hexfile]

A utility for programming PIC19196 microcontrollers

positional arguments:
  hexfile               path to the hexfile

options:
  -h, --help            show this help message and exit
  -f, --flash           flash hexfile onto the device
  --read addr           read specified address or chunk of memory
  --write addr word     write word to specified address
  --erase [addr]        erase device or specified address
  -d chipID, --device chipID
                        device to be programmed
  -p port, --port port  programmer serial port
  --baud baud           serial connection baudrate
  --map                 display the hexfile
  --list-ports          list available serial ports
  --list-devices        list available device configurations

flag arguments:
  [addr]:		device memory address in hexadecimal
	all		all device memory areas
	flash		user flash area

Files:

  • sw/ - Python package that implements the picchick CLI front-end
  • fw/ - Platformio package Arduino firmware for picchick programmer