Skip to content

Commit 1a57475

Browse files
committed
Removed programmer firmware from the scope of picchick. Version 0.2.0 includes various bugfixes and improvements.
1 parent e252a8d commit 1a57475

21 files changed

Lines changed: 16 additions & 619 deletions
File renamed without changes.

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ A utility to aid in programming PIC microcontrollers
44

55
## Overview
66

7-
`piccchick` is a commandline utility written in python that attempts to implement Microchip's ICSP Low-Voltage with just a simple AVR device.
7+
`piccchick` is a commandline utility written in python that interfaces with a serial device in order to program PIC16 using the low-voltage ICSP interface.
88

99
The function is the same as `avrdude`, i.e. to provide a way to flash a compiled .hex file onto a microcontroller. The typical development stack involving picchick looks like:
1010

11-
> Development (nano) > Compiling (xc8-cc) > Flashing (picchick)
11+
> Developing (nano) > Compiling (xc8-cc) > Flashing (picchick)
1212
1313

1414
## Installation
@@ -21,7 +21,8 @@ The function is the same as `avrdude`, i.e. to provide a way to flash a compiled
2121
- **python >= 3.10**
2222
- pyserial
2323

24-
- **Arduino flashed with programmer firmware**
24+
- **Compatible serial programmer**
25+
- Currently the only compatible programmer is the [picstick](https://github.org/rex--/picstick).
2526

2627

2728
#### From PyPi
@@ -35,22 +36,20 @@ picchick -h
3536
#### From Source
3637
`picchick` can also be run as a python module:
3738
```
38-
cd software/
3939
python -m picchick -h
4040
```
4141
A wrapper script is also provided:
4242
```
43-
cd software/
4443
./picchick.sh -h
4544
```
4645

4746
## Usage
4847

49-
#### Flashing
48+
### Flashing
5049
The typical command to erase then flash a hexfile onto a device looks like:
5150
```
52-
picchick -p <port> -d <chipID> --erase -f <hexfile>
53-
picchick -p /dev/ttyACM0 -d 16lf19196 --erase -f blink.hex
51+
picchick -P <port> -d <chipID> --erase -f <hexfile>
52+
picchick -P /dev/ttyACM0 -d 16lf19196 --erase -f blink.hex
5453
```
5554

5655
```
@@ -71,8 +70,8 @@ options:
7170
--erase [addr] erase device or specified address
7271
-d chipID, --device chipID
7372
device to be programmed
74-
-p port, --port port programmer serial port
75-
--baud baud serial connection baudrate
73+
-P port, --port port programmer serial port
74+
-B, --baud baud serial connection baudrate
7675
--map display the hexfile
7776
--list-ports list available serial ports
7877
@@ -81,8 +80,3 @@ flag arguments:
8180
'all' all device memory areas
8281
'flash' user flash area
8382
```
84-
85-
86-
#### Files:
87-
- `software/` - Python package that implements the picchick CLI front-end
88-
- `firmware/` - Platformio package Arduino firmware for picchick programmer

firmware/include/icsp_commands.h

Lines changed: 0 additions & 51 deletions
This file was deleted.

firmware/include/picchick.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

firmware/include/serial_commands.h

Lines changed: 0 additions & 25 deletions
This file was deleted.

firmware/platformio.ini

Lines changed: 0 additions & 17 deletions
This file was deleted.

firmware/src/icsp_commands.cpp

Lines changed: 0 additions & 161 deletions
This file was deleted.

firmware/src/main.cpp

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)