Skip to content

Commit

Permalink
Merge pull request #52 from klinquist/bootloader-mode-photo
Browse files Browse the repository at this point in the history
Include photo of shorted pins, add sudo note
  • Loading branch information
skuep authored Jan 20, 2024
2 parents 64d2d73 + 2c7b92c commit 63cb2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ For building the firmware, clone the repository and initialize the submodules. C
### Initial programming
The following steps are required for initial programming of the AIOC:
- Short outermost pins on the programming header. This will set the device into bootloader mode in the next step.
![Shorting pins for bootloader mode](doc/images/k1-aioc-dfu.jpg?raw=true "Shorting pins for bootloader mode")
- Connect USB-C cable to the AIOC PCB
- Use a tool like ``dfu-util`` to program the firmware binary from the GitHub Releases page like this:
````
dfu-util -a 0 -s 0x08000000 -D aioc-fw-x-y-z.bin
````
__Note__ that a ``libusb`` driver is required for this. On Windows there are additional steps required as shown [here](https://yeswolf.github.io/dfu) (*DFuSe Utility and dfu-util*). On other operating systems (e.g. Linux, MacOS), this just works ™ (provided libusb is installed on your system).
On Linux (and MacOS), your user either needs to have the permission to use libusb (``plugdev`` group) or you might need to use ``sudo``.
- Remove short from first step, unplug and replug the device, it should now enumerate as the AIOC device

### Firmware updating
Expand Down
Binary file added doc/images/k1-aioc-dfu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 63cb2a7

Please sign in to comment.