CM4 Burn EMMC
Image Flashing Steps
- Note: The EMMC version cannot use a TF card
rpiboot (bootloader) Download
- Download and open the rpiboot software with administrator privileges
Choose One of Two to Download
Installation
- Disable antivirus software
Close the antivirus software to install drivers and start tools. After successful installation, there is an application named rpiboot.exe in the installation directory

Flash Software
- Click here to download
Enter Flashing Mode
- Connect BOOT and GND, or turn the BOOT switch to ON. You can find the location of the BOOT pin in the Onboard Resources of the corresponding product Wiki, as shown in the figure below:

-
First, connect the computer via Micro USB/Type-C interface (SLAVE interface) to USB interface, and then connect the power supply. Some boards require additional power supply. Please refer to the following to find your own model and provide power supply
- Models requiring additional power supply include:
Compute Module 4 PoE Board Compute Module 4 IO Board CM4-DUAL-ETH-BASE Compute Module 4 PoE 4G Board
- Models that require additional power supply:
- Models that do not require additional power supply:
CM4-IO-BASE-B CM4-IO-BASE-A Compute Module 4 PoE Board (B) CM4-NANO-A CM4-NANO-B
-
At this point, when you connect the computer and power the motherboard, the computer's device manager will recognize a BCMxxx device

-
Then run rpiboot

If the message 'Failed to write correct length, returned -9' appears and freezes, you can try updating rpiboot.exe -
Wait for the run to end, and a USB drive icon will appear on my computer
- If you can't flash the program properly, try the following steps:
- Using the WIN10 system for flashing, most customers have reported unstable flashing on WIN7 or Linux systems.
- Ensure that your CM4 version is correct, as there will be an extra IC on the front of the eMMC. Only the programs of the eMMC version can be flashed in the current way.

- Note that the Power interface requires a power adapter with at least 10W (5V/2A or 12V/1A).
- Replace a USB data cable.
- Replace the USB port of the PC.
- Try restarting the PC.
- Try unplugging CM4 again.
- Try flashing on another computer.
- If you can't flash the program properly, try the following steps:
Flash Image
Open Raspberry Pi Imager

1. Choose the hardware (download from step 1) to be flashed, select PI4 for CM4
2. Choose an image, select the appropriate system version among multiple options (you can also choose to format or select your backup system below)
3. Select the drive icon you want to flash only mobile drive icons (USB extended drive icons) are supported
4. All options are selected, then click NEXT. If the selection is Raspberry Pi OS, then it will appear. If you don't need, click "No". If the previous configuration has been saved, you can directly click "Yes". The first time you use it, you need to click "Edit Settings" to set figuration

5. Use the new system, which is not pre-configured with a username and password. Users can directly configure the username and password in the setting interface. If not configured, the system will require the user to connect the keyboard and mouse after booting to set the username and password
- Note:
- If using the latest Raspberry Pi OS, USB2.0 is default in OTG mode. However, on some baseboards, an HUB chip is added. If you encounter an error with CM4:
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. Some systems do not prompt this error and can be ignored
- If using the latest Raspberry Pi OS, USB2.0 is default in OTG mode. However, on some baseboards, an HUB chip is added. If you encounter an error with CM4:
Complete Flashing and Reboot
- Disconnect the power supply after flashing, disconnect the cable from the computer, disconnect the BOOT or turn the switch to OFF. Power it on again

