summaryrefslogtreecommitdiffstats
path: root/src/README.md
blob: 068ad8a3830a4351c8a2006547c33ae9863b2a3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Modchip software

The firmware for the RP2040 microcontroller can be found in the `modchipfw` folder. You can compile this by running the following commands from within the `modchipfw` folder:

```
mkdir build && cd build
cmake ..
make
```

To update the firmware on the RP2040 you can simply press the button on the modchip before plugging it in. It should now enumerate as a removable disk, copy the `utglitcher.uf2` to this removable disk to update the firmware.

## Host Python software
In the Python folder you can find `pulsegen.py`, this file contains the `PicoPulseGen` class that handles communication with the modchip.
The `example.py` script is a basic example to demonstrate how you can interact with the modchip and how you can set glitch parameters.