Difference between revisions of "CM4 Stick"

From Geekworm Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
# USB-A and USB-AF/USB-C ports cannot be used at the same time. The USB-AF and USB-C power supply ports can be used at the same time.
 
# USB-A and USB-AF/USB-C ports cannot be used at the same time. The USB-AF and USB-C power supply ports can be used at the same time.
  
The USB interface is disabled to save power by default on the CM4 . To enable it you need to add dtoverlay=dwc2,dr_mode=host to the config.txt file
 
dtoverlay=dwc2,dr_mode=host
 
 
==Features==
 
==Features==
 
* 1 x Full-size HDMI 2.0 Interface
 
* 1 x Full-size HDMI 2.0 Interface
Line 27: Line 25:
 
* PCB Dimension: 70x45mm
 
* PCB Dimension: 70x45mm
  
==Packing List==
 
1 x CM4 Stick shield
 
  
 
==User Manual==
 
==User Manual==
https://github.com/raspberrypi/documentation
+
 
 +
=== Hoow to use CM4 stick flashing OS into TF card==
 +
* Install [https://github.com/raspberrypi/usbboot/raw/master/win32/rpiboot_setup.exe Rpi-boot Windows installer], download then double click it to setup. After the installation is complete, you can get a shortcut to '''rpiboot'''
 +
* Move the 'TOGGLE SWITCH' of CM4 stick to A direction, then insert your desktop computer, then run '''rpiboot''', You can find that the computer will add a logical drive letter.
 +
此处需要插入一张图片
 +
* Now, you use CM4 STICK as a normal USB device to burn firmware to it.
 +
 
 +
===How to use CM4 stick to start CM4 ==
 +
1. Firstly, don’t forget to move the toggle switch to the B direction.
 +
此处需要插入一张图片
 +
2. Insert TF card
 +
 
 +
3. The USB interface is disabled to save power by default on the CM4 . To enable it you need to add dtoverlay=dwc2,dr_mode=host to the config.txt file, detail to refer to [https://datasheets.raspberrypi.org/cm4/cm4-datasheet.pdf CM4 datasheet]
 +
dtoverlay=dwc2,dr_mode=host
 +
 
 +
More reaspberry pi official documentation refer to [https://github.com/raspberrypi/documentation Official  Documentation]
  
 
[https://github.com/raspberrypi/usbboot/raw/master/win32/rpiboot_setup.exe Rpi-boot Windows installer] or refer to [https://github.com/raspberrypi/documentation/blob/master/hardware/computemodule/cm-emmc-flashing.md CM4 emmc flashing]
 
[https://github.com/raspberrypi/usbboot/raw/master/win32/rpiboot_setup.exe Rpi-boot Windows installer] or refer to [https://github.com/raspberrypi/documentation/blob/master/hardware/computemodule/cm-emmc-flashing.md CM4 emmc flashing]
  
[https://datasheets.raspberrypi.org/cm4/cm4-datasheet.pdf CM4 datasheet]
+
==Packing List==
 +
1 x CM4 Stick shield
 +
 
  
 
<!--Add review function! -->
 
<!--Add review function! -->

Revision as of 20:08, 7 July 2021

Overview

This CM4 Stick is an expansion board based on Raspberry Pi CM4. Provides a variety of expansion interfaces for the CM4 module, including upgrade interfaces, GPIO expansion, CSI, full size HDMI, TF card slot, USB 2.0, fan socket, etc.. With a small size, it is can be adapted to variety of applicantion.

When connected to the computer with USB-A OTG, it becomes a real USB flash drive.

Note:

  1. Must make sure that the CM4 module is correctly installed on the expansion board before powering on.
  2. Raspberry Pi Compute Module 4(CM4)is not included in the packing list.
  3. USB-A and USB-AF/USB-C ports cannot be used at the same time. The USB-AF and USB-C power supply ports can be used at the same time.

Features

  • 1 x Full-size HDMI 2.0 Interface
  • 1x USB-A: OTG USB (used to upgrade and update Raspberry Pi Compute Module 4)
  • 1x USB-AF: USB 2.0 High Speed socket, It is convenient for you to connect a keyboard or mouse. You can use a third-party USB-hub to expand more USB ports
  • 1x USB-C: Type-C Power Port 5V/3A
  • TF Card interface: MicroSD Card Slot (only supports CM4 module that without eMMC)
  • 20Pin GPIO be reserved
  • 1x fan interface: 4P-PH2.0 PWM Fan Control Interface
  • 1 x CSI camera FPC connectors (22-pin 0.5mm pitch cable)
  • 1x Reboot Button
  • 1x Toggl Switch (for function selection of USB device and CM4 device)
  • Working Temperature: 0℃~80℃
  • PCB Dimension: 70x45mm


User Manual

= Hoow to use CM4 stick flashing OS into TF card

  • Install Rpi-boot Windows installer, download then double click it to setup. After the installation is complete, you can get a shortcut to rpiboot
  • Move the 'TOGGLE SWITCH' of CM4 stick to A direction, then insert your desktop computer, then run rpiboot, You can find that the computer will add a logical drive letter.
此处需要插入一张图片
  • Now, you use CM4 STICK as a normal USB device to burn firmware to it.

=How to use CM4 stick to start CM4

1. Firstly, don’t forget to move the toggle switch to the B direction.

此处需要插入一张图片

2. Insert TF card

3. The USB interface is disabled to save power by default on the CM4 . To enable it you need to add dtoverlay=dwc2,dr_mode=host to the config.txt file, detail to refer to CM4 datasheet

dtoverlay=dwc2,dr_mode=host

More reaspberry pi official documentation refer to Official Documentation

Rpi-boot Windows installer or refer to CM4 emmc flashing

Packing List

1 x CM4 Stick shield


Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #2

21 months ago
Score 0++
Is there a dts file for the CM4 stick?

Lisa

21 months ago
Score 0++

Hi,

cm4 does not need a separate dts file, the official system is fine, because the interface does not need to be configured separately, you can operate the default mode

Anonymous user #1

25 months ago
Score 0++
How about accessing the console via the USB serial port?

Lisa

24 months ago
Score 0++

Hi,

sorry,I didn't understand what you meant

USB serial port: Is it the USB port of the CM4 Stick?