Skip to main content

Clear eMMC or SPI Flash

Enter to Maskrom Mode

  • Remove the microSD card and power cord
  • Install the eMMC or SPI Flash Module
  • Short the Maskrom pin hole with DuPont wire
  • Connect the USB of the PC host via the USB-A to USB-A cable, and if a device is detected on the PC side, it will enter the Maskrom mode (the OTG connector of the Radxa ROCK 5C is the USB 3.0 port located on the top, which can be connected to the host via the USB-A to USB-A cable to communicate with the host board that enters the Maskrom)
rock 5c maskrom wire

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 rk3588_spl_loader_v1.15.113.bin

  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