Skip to content

Commit 8a19590

Browse files
authored
Merge pull request #2 from harp-tech/bc-manual
Documentation on core Harp package operators
2 parents 50c0f81 + b8c8a77 commit 8a19590

55 files changed

Lines changed: 1281 additions & 408 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

articles/firmware-updates.md

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

articles/firmware.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Firmware
2+
3+
As Harp devices are updated, new features are added and bugs are fixed. Device-specific interfaces depend on the right firmware being installed on your device. This section details how to check and maintain the correct version of device firmware to ensure reproducible workflows.
4+
5+
## Updating device firmware
6+
7+
To ensure that your device is running the latest firmware, you can use the **Device Setup** tool available in Bonsai. This tool is made available by installing the `Bonsai.Harp.Design` package. To launch it, simply add a generic `Device` node to your workflow, and open its default editor (by double-clicking on the node). If a Harp device is detected on the currently selected COM port, the following dialog will appear:
8+
9+
![firmware update](~/images/fw-update.png){height=200px}
10+
11+
To update the device's firmware version:
12+
13+
1. Click `Bootloader`;
14+
2. Click `Open`;
15+
3. Select a `.hex` file containing the new firmware. These files should be available on the device's releases page (e.g.: [Harp Behavior](https://github.com/harp-tech/device.behavior/releases) under the `fwX.Y-harpV.W` release name). Importantly, as stated in the dialog window, please ensure the the new firmware is compatible with the targeted device;
16+
4. Click `Update`.
17+
18+
![firmware update step2](~/images/fw-update_hex.png){height=200px}
19+
20+
If everything goes well, the device will reboot with the new firmware.

articles/harp-core.md

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

articles/intro.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Getting Started with Bonsai - Harp
2+
==================================
3+
4+
All [Harp Devices](https://harp-tech.org/Devices/device_list.html) implement the [Harp Protocol](https://harp-tech.org/About/How-HARP-works/index.html) to communicate with an host PC. The `Bonsai.Harp` library provides an implementation of the Harp protocol that can be used to interface with any Harp device.
5+
6+
## Pre-requisites
7+
8+
1. [Bonsai](https://bonsai-rx.org)
9+
2. [FTDI D2XX Drivers](https://www.ftdichip.com/old2020/Drivers/CDM/CDM%20v2.12.26%20WHQL%20Certified.zip)
10+
11+
## How to install
12+
13+
The latest release of the Bonsai.Harp can be downloaded and installed through the Bonsai package manager (see [here](https://bonsai-rx.org/docs/articles/packages.html) for details on how to install Bonsai packages). We also recommend installing the `Bonsai.Harp.Design` package which provides useful additional functionality such as dialogs for updating device firmware and visualizers.
14+
15+
## Device specific packages
16+
17+
A high-level interface will usually be available for the specific Harp device you are using. To install them, first change the package manager **Package source** to `nuget.org`. Then, in the search bar, look for your device by typing: `harp.<device>`. For instance, for the Harp Behavior board, you should find the following package:
18+
19+
![HarpDevicePackage](~/images/behaviorpackage.png)
20+
21+
The device nodes should now be available in the Bonsai Toolbox. You can now start using them in your workflows.

articles/logging-harp-messages.md

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

0 commit comments

Comments
 (0)