Skip to content

How-To USB

Description

The Pi-Tron CM5 uses the Raspberry Pi Compute Module 5 as its central component. Besides many connection options the CM5 offers, like PCIe, SPI, I2C and much more. It also has a built-in USB 2.0 Hub, but by default the USB 2.0 Hub is disabled, except if you are using the newest Raspberry Pi OS named Bookworm or later.

The reason why it's important that the USB 2.0 Hub is active is, it is responsible for connecting the second ethernet port to the CM5 as well as the serial interfaces. Without it those devices will be inaccessible and cannot be used.

Note

The CM5 on the Pi-Tron CM5 requires at least Raspberry Pi OS Bookworm, it is not possible to use older images with this module. Older images must be upgraded or re-made with Bookworm!

Requirements

  • Development computer with USB Debug Adapter connected the Pi-Tron CM5 Debug-Console port. For more information see How-To Debug Console
  • Alternatively connect an HDMI monitor, mouse and keyboard
  • The CM5 only has eMMC memory use the rpiboot program. For more information see How-To Write eMMC
  • 24 volts power supply with 2 pin power plug for the Pi-Tron CM5.

How-To

Fresh eMMC memory

If you have just written a new copy of the Raspberry Pi OS to the CM5s eMMC memory. You can check that USB 2.0 ports of the CM5 will be activated on the first boot.

  • Re-mount the CM5's eMMC memory using the rpiboot program.
  • Go into the boot partition
  • Open the file "config.txt" with your favorite text editor and look for the line

    dtoverlay=dwc2,dr_mode=host
    
  • If the line is present, then everything is in order.

  • Eject the eMMC removable drive from the development computer, unplug the USB cable and do a power cycle of the Pi-Tron CM5 to get started.

Restrictions

  • No known Restrictions