• sales

    +86-0755-88291180

Write Image for Compute Module Boards eMMC version

EMMC version cannot use SD card for booting, please note it

1. Download the newest Raspberry Pi image from Raspberry Pi Website


If the memory of the eMMC of your board is small, we will recommend you to download the second version or the Lite version of the Raspberry Pi image.
2. Download and open the software rpiboot software with administrator authority to install the driver and start the tool. After the installation is successful, there is an application of rpiboot.exe in the installation directory.


3. Connect BOOT and GND, set the switch to ON, or just connect the USB C port. You can check the product page to understand the location of the BOOT pin, for example:


4. Connect the Micro USB/Type C interface(SLAVE port) of carrier board to host PC, then connect a power adapter to the cattier board.
If you use the following products, you do not need to connect the power adapter:

CM4-IO-BASE-B
CM4-IO-BASE-A
Compute Module 4 PoE Board (B)

5.After connecting, the boards should be recognized as BCMxxx devices in Windows PC.


Run the rpiboot.exe as administrator(The software in the installation directory of Step 2).


Then the boards will be recognized as a portable disk, just format and write it with a new image.


Note: If your PC didn't recognize the BCMxxx device, please check connection again. Note that the USB cable used should be an OTG cable.
 If you cannot write the image successfully, please try:

  • Use Windows10 PC instead of Windows 7 or Linux. The other two OS are unstable as feedback.
  • Check if you write the eMMC version but not the Lite version. The eMMC version has one more chip than the Lite version.


  • Connect a power adapter to the Power interface.
  • Change to another USB OTG cable
  • Change to another USB port of PC。
  • Try to restart your host PC
  • Remount the CM4 board and try it again.
  • Try with another PC.

6. Format the CM4 (the portable disk) by SDFormatter.exe software
7. Write the Raspberry Pi image to the CM4 by Win32DiskImager.exe software, Choose the image file and click "Write" to start. It may prompt to format the CM4 again after writing, just ignore it.
8. The USB port is disabled by default on the CM4 to save power. If you need to start, you need to add the following to the config.txt file:

 dtoverlay=dwc2,dr_mode=host

After restarting

If you use the latest Raspberry Pi OS (image after October 30, 2021) USB2.0 is OTG mode by default, CM4 will report an error:

 config failed, hub doesn't have any ports! (err -19)

However, USB can still be used. If you want to remove this error, remove otg_mode=1 in [cm4] of config.txt, and add dtoverlay=dwc2, dr_mode=host (USB cannot be recognized without adding it).

9. To finish, eject the BOOT disk from the host PC. Disconnect the USB cable and power adapter, disconnect the BOOT, and set the switch into OFF. restart the board and go ahead with the examples.

TAG: User Guide Raspberry Pi 4 Camera spotpear MP2.5G Raspberry Pi 5 PCIe to 2.5G Ethernet HAT Pi5 RTL8125 Raspberry Pi Milk-V Duo WiFi6 Raspberry Pi 5 PCIe to M.2 NVME SSD And Gigabit Ethernet RJ45 HAT RTL8111H M_KEY For 2230/2242/2260/2280 ESP32-S3 SIM7670G 4G Development Board With Camera LTE Cat-1/4G/GNSS/GPS Global Band Portable WIFI Core3566102000 Raspberry Pi 1.44inch LCD display HAT DeepSeek XiaoZhi AI Voice Chat ESP32-S3 All-in-One-PCB-Kit N16R8 WROOM-1-N16R8 DevKitC-1 Development Board ESP32 H2 ESP32-H2-Zero MINI Development Board For BLE/Zigbee/Thread ESP32-S3 ST7789 ESP32 S3 Development Board 2.8 inch B LCD 2.8inch Display 480x640 TouchScreen QMI8658 Sensor / Battery Port LVGL/HMI For Arduino RM520N GL 5G/4G/3G M.2 Moudle IoT EMBB For LTE-A/NSA/SA And GNSS For DFOTA /VoLTE For Quectel Raspberry Pi Camera OV5647 Camera (F) NanoKVM-USB Quick Start DeepSeek AI Voice Chat ESP32 C6 Development Board 2.06-inch AMOLED Display 410×502 2.06inch TouchScreen Programmable Watch Arduino board manager tutorial User Guide