diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2024-06-13 07:23:31 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2024-06-13 07:23:31 -0400 |
commit | 656b892d94b54d76c031eaaaabcdbb3bfc0273fe (patch) | |
tree | 87d816e94726be0110d3ef4a487cc0cbd1091632 /README.md | |
parent | 22c065042040f0901c6bf1ff33d1c056141afde6 (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,6 +16,14 @@ You need: Extract ChibiOS to a folder, edit the `Makefile` so CHIBIOS points to that folder, then run `make`. +### Flashing the card + +You'll need a 6-pin Tag-Connect cable (e.g. [TC2030-CTX-NL](https://www.tag-connect.com/product/tc2030-ctx-nl-6-pin-no-legs-cable-with-10-pin-micro-connector-for-cortex-processors)), compatible programmer, and OpenOCD. Power up the card and run the following command (using the appropriate interface scripts for your programmer): + +``` +openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f interface/ftdi/olimex-arm-jtag-swd.cfg -f target/stm32g0x.cfg -c "program build/ch.hex verify reset exit" +``` + ## Credits * [ESP32-I2S-SLM](https://hackaday.io/project/166867-esp32-i2s-slm) for a starting point with accurate decibel-measuring code. |