• sales

    +86-0755-88291180

Writing-Image User Guide

Steps

Please note that the EMMC version does not support being booted from the SD card.

Image Download


  • The option "Raspberry Pi OS with desktop and recommended software" is recommended for EMMC 16G or CM4 lite 16G above memory cards.

Download rpiboot

  • Download and open the 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.

Enter Writing Mode

  1. 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:

  2. Connect the Micro USB/Type C interface (SLAVE port) of the carrier board to the 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:
    Compute Module 4 PoE Board
    Compute Module 4 IO Board
    CM4-DUAL-ETH-BASE
    Compute Module 4 PoE 4G Board
    
    • If no need external power supply:
    CM4-IO-BASE-B
    CM4-IO-BASE-A
    Compute Module 4 PoE Board (B)
    CM4-NANO-A
    CM4-NANO-B
    
    • After connecting, the boards should be recognized as BCMxxx devices on Windows PC.

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

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

  5. Note: If your PC doesn't recognize the BCMxxx device, please check the connection again. Note that the USB cable used should be an OTG cable. *If you cannot write the image successfully, please try:
    • Use Windows 10 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 the PC.
      • Try to restart your host PC.
      • Remount the CM4 board and try it again.
      • Try with another PC.

Format EMMC


  • Also, you can use the disk manager in WIN to set or delete the partition, just set the new partition after deleting the partition:
  • Right-click My Computer -> Manager -> Disk Manager -> Find the new disk descriptor (Please select the correct one) -> Delete all partitions -> Create a partition (any file system) If you have programmed the system, there will be two disk descriptors, all you need to do is format it directly or delete the partition.

Write Image

  1. Write the Raspberry Pi image by Win32DiskImager.exe software.
  2. Choose the image file and click "Write" to start. It may prompt whether to format it after writing, please ignore it.

  3. After writing, in My Computer, a USB flash driver descriptor is recognized.
  4. Note:
    • 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 is still available. 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).
      dtoverlay=dwc2,dr_mode=host



Reboot

  • Power off after writing images, just disconnect it from the computer. Turn off the BOOT key or switch it off. Then reboot it.
TAG: LCC-14 Raspberry Pi OpenWrt Tutorial 1 RS422 to CAN Raspberry Pi Pico 2 RP2350 1.43 inch AMOLED TouchScreen Development Board 466x466 1.43inch Display QMI8658 6-Axis | PCF85063 RTC | SD | Battery Port Milk-V Duo S UART Serial Console​ Serial UART Bus Servo TTL ST3235 30KG.CM Magnetic Encoder 360° High Precision And Large Torque ESP32-S3 Industrial 8-CH Relay IOT LAN WiFi /Bluetooth /CAN /RJ45 Ethernet /POE FLASH File System Operation CV1800B Raspberry Pi 18.5inch FHD LCD 1920x1080 Capacitive TouchScreen Display For Raspberry Pi/Jetson Nano/ LuckFox Pico pro Screen Modbus RTU 8-ch Relay Module (D) Raspberry Pi 8 inch DSI LCD Display With 5MP Front Camera MIPI 800×480 Capacitive TouchScreen Raspberry Pi 5 Raspberry Pi Camera OV5647 Camera (F) Raspberry Pi PICO Keyboard Raspberry Pi Compute Module 5 CM5 Cortex A76 BCM2712 With/Without Wi-Fi RAM 2/4/8/16GB eMMC Lite/8/16/32/64GB ESP32-S3 USB Dongle Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7