Skip to main content

farm-ng Debug Cable

image

Overview

Cable is used to update and debug farm-ng products. It includes reset functionality along with USB and serial communication.

The debug cable has a single circuit board with two ports connected to it. On the left is the USB / debug breakout, and on the right is the serial interface.

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.

IMG_9578

Product specific uses

How to Connect

Connect cable to the debug port on the back of the dashboard

187535995-d4ad8c7c-05a0-482b-8be9-6b6fb6b87ac3

Dash

  • USB interface is for REPL, filesystem access as well as updating firmware and applications,
  • Serial interface is not used at the moment
  • A reset button is connected to the Microcontroller and used for hard reset. It also can be double pressed to force bootloader mode.

See update process documentation for more information here

Brain

  • USB interface is used for connecting for lashing images
  • Serial interface is used for operating system terminal
  • Reset / Flash button is used for enabling the firmware update mode (press on boot)

For more flashing and operating system documentation go here

Pin-out

Connector M12-8 A code female used to connect to farm-ng products. The debug cable connects the IO to two MicroUSB connectors and a reset button.

Debug wire colors based on common cable with flying leads used on farm-ng built debug kits.

PINDescriptionTypical Wire ColorNotes
1RESETBlack
2TTL RX (3.3v)BrownConnect to TX of interface
3TTL TX (3.3v)RedConnect to RX of interface
4USB D-Yellow
5UDB D+Green
6USB VBUSBlue
7NCGray
8GNDWhite