Clear eMMC or SPI Flash
Enter to Maskrom Mode
- Remove the microSD card and power cable
- Press and hold the Maskrom button
- Connect the USB of the PC host via USB-A to USB-C cable, and if a device is detected on the PC side, it will enter into Maskrom mode (the OTG interface of Radxa ROCK 5 ITX is TYPE-C, so you can connect the host to the motherboard that enters into Maskrom through the USB-C to USB-A cable for communication).
![maskrom new version](/img/rock5itx/rock5itx-maskrom-new.webp)
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 rk3588_spl_loader_v1.15.113.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"
![rkdevtool img](/img/common/rkdevtool/rk3588-rkdevtool-erase-eMMC.webp)
Erase SPI Flash
- 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 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"
![rkdevtool img](/img/common/rkdevtool/rk3588-rkdevtool-erase-spi-flash.webp)