Service Cable Overview
Overview
Cable used to update and service farm-ng products. It includes reset functionality and USB communication.
caution
It is required to have a data USB-C cable and not a charge only USB-C cable when connecting to the debug or service cable.
Product specific uses
Dashboard
- USB interface is for REPL, filesystem access as well as updating firmware and applications,
How to connect
Connect cable to the debug port on the back of the dashboard
REPL for BOOTLOADER State
These commands from the REPL will put the device into the bootloader state the same way the double press reset on would.
On Linux/ WSL
sudo screen /dev/ttyACM0
import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.BOOTLOADER)
microcontroller.reset()
See update process documentation for more information here
See flashing and operating system documentation for more information here
Pin-out
PIN | Description | Typical Wire Color | Notes |
---|---|---|---|
1 | USB D- | Yellow | |
2 | USB D+ | Gray | |
3 | USB VBUS | Pink | |
4 | NC | Blue | |
5 | GND | Black |