Clear eMMC or SPI Flash
Enter to Maskrom Mode
- ROCK 3B
- ROCK 3B+
-
Short the DIS SPI and GND pins, and the DIS eMMC and GND pins.
-
Toggle the dip switch below the USB 3.0 port to the Device side.
-
Power the board with the power adapter. A steady green power LED indicates successful entry into Maskrom mode.
-
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.

-
Short the DIS SPI and GND pins, and the DIS eMMC and GND pins.
-
Toggle the dip switch below the USB 3.0 port to the Device side.
-
Power the board with the power adapter. A steady green power LED indicates successful entry into Maskrom mode.
-
Connect the OTG port on the board to the PC using a USB-A to USB-A data cable.
Notes:
- 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.

Erase eMMC
- Linux/MacOS
- Windows
-
Generate zero.img
dd if=/dev/zero of=./zero.img bs=1M count=64 -
Make sure the host recognises Maskrom
sudo rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom -
Flash Loader
sudo rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin
- Erase eMMC
sudo rkdeveloptool wl 0 zero.img
- Reboot
sudo rkdeveloptool rd
Open the RkDevTool tool and we'll use the RkDevTool to erase
-
Make sure the host recognises Maskrom
-
Click on the button to the left of "Download" to select the Loader
-
Click "Download" to flash the Loader (Go to download page to download file)
-
Click "ReadCapability" to get current storage
-
Click on "Switch storage" to switch the storage to eMMC
-
Click the "EraseAll" button to erase the eMMC
-
Click "ResetDevice"

Erase SPI Flash
- Linux/MacOS
- Windows
-
Make sure the host recognises Maskrom
sudo rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom -
Flash Loader
sudo rkdeveloptool db rk3588_spl_loader_v1.15.113.bin
- Erase SPI Flash
sudo rkdeveloptool ef
- Reboot
sudo rkdeveloptool rd
Open the RkDevTool tool and we'll use the RkDevTool to erase
-
Make sure the host recognises Maskrom
-
Click on the button to the left of "Download" to select the Loader
-
Click "Download" to flash the Loader (Go to download page to download file)
-
Click "ReadCapability" to get current storage
-
Click on "Switch storage" to switch the storage to SPINOR
-
Click the "EraseAll" button to erase the SPI Flash
-
Click "ResetDevice"
