Skip to main content

Clear eMMC or SPI Flash

Enter to Maskrom Mode

  1. Short the DIS SPI and GND pins, and the DIS eMMC and GND pins.

  2. Toggle the dip switch below the USB 3.0 port to the Device side.

  3. Power the board with the power adapter. A steady green power LED indicates successful entry into Maskrom mode.

  4. Connect the OTG port on the board to the PC using a USB-A to USB-A data cable.

Notes:

  • If no eMMC module is installed, there is no need to short the DIS eMMC and GND pins.
  • To clear SPI Flash, remove the jumper cap or jumper wire shorting the DIS SPI and GND pins after powering on the board.
  • To clear the eMMC module, remove the jumper cap or jumper wire shorting the DIS eMMC and GND pins after powering on the board.
ROCK 3B maskrom pins

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 rk356x_spl_loader_ddr1056_v1.10.111.bin

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

Erase SPI Flash

  1. Make sure the host recognises Maskrom

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

sudo rkdeveloptool db rk3588_spl_loader_v1.15.113.bin

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

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0