Skip to main content

Erase eMMC or SPI Flash

Enter to Maskrom Mode

  1. Remove the MicroSD card from the base Board
  2. Simultaneously press and hold the Maskrom Button (SPI Flash) and Maskrom Button (eMMC) on the CM3I.
  3. Connect a PC host from the OTG port using a USB-A to USB-A cable
  4. Connect the power supply, you can enter the MASKROM mode
cm3i modulecm3i module

Erase eMMC

  1. Generate zero.img

    dd if=/dev/zero of=./zero.img bs=1M count=64
  2. Make sure the host recognises Maskrom

    sudo rkdeveloptool ld
    DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom
  3. Flash Loader

sudo rkdeveloptool db

  1. Erase eMMC
sudo rkdeveloptool wl 0 zero.img
  1. Reboot
sudo rkdeveloptool rd

Erase SPI Flash

  1. Generate zero.img

    dd if=/dev/zero of=./zero.img bs=1M count=64
  2. Make sure the host recognises Maskrom

    sudo rkdeveloptool ld
    DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom
  3. Flash Loader

sudo rkdeveloptool db rk3588_spl_loader_v1.15.113.bin

  1. Erase SPI Flash
sudo rkdeveloptool ef
  1. Reboot
sudo rkdeveloptool rd