Skip to main content

Erase/Flash SPI Boot Firmware

This guide explains how to use the RKDevTool to erase and flash the SPI boot firmware.

tip

Radxa E54C comes with SPI boot firmware pre-flashed to the SPI Flash by default.

For users experiencing system boot issues, you can try erasing the SPI Flash and then re-flashing the SPI boot firmware.

About SPI Boot Firmware

The core function of the SPI boot firmware (BootROM + bootloader) is to initialize hardware in stages (CPU → Memory → Storage) and ultimately load the operating system kernel from the storage device.

Prerequisites

We will use the RKDevTool for SPI Flash erasure and flashing operations.

tip

RKDevTool is a software developed by Rockchip for USB flashing on Windows/Linux/macOS platforms.

Installing RKDevTool

  • Install Drivers

Download and extract the DriverAssistant v5.0 file.

Locate the DriverInstall.exe file and run it as administrator:

To install driver: Click the Install Driver option

To uninstall driver: Click the Uninstall Driver option

tip

If you have previously installed other versions of the driver, please uninstall them before installing the new one.

  • Download RKDevTool

Download the RKDevTool utility, then extract the downloaded file. The RKDevTool.exe is the executable program - simply double-click it to launch the software.

Entering Maskrom Mode

Radxa E54C features a dedicated Maskrom button. When this button is detected as pressed during system boot, the system will automatically enter Maskrom mode!

Required Equipment

  • One USB Type-A to Type-C cable
  • One pin or toothpick
  • 12V/2A DC power adapter (DC5525)

Entering Maskrom Mode

  1. Connect Radxa E54C to your PC using a USB Type-C to Type-A cable

  2. Press and hold the Maskrom button using a pin or toothpick

  3. Connect the 12V/2A DC power adapter

  4. Release the Maskrom button

Normally, the power indicator will stay lit when entering Maskrom mode. If the behavior is different, you can repeat the steps to try again!

Erasing SPI Boot Firmware

danger

Erasing the SPI boot firmware will completely wipe the SPI Flash, including all data stored within. After this operation, the system will be unable to boot.

Make sure the E54C is in Maskrom mode, then use RKDevTool to perform the SPI Flash erasure.

① : Ensure the E54C is in Maskrom mode.

② : Select the appropriate Loader file for E54C. You can download the Loader file from the Resource Download page.

③ : Click the Download option to run the Loader file.

④ : Select the SPINOR option.

⑤ : Choose Switch Storage to switch storage.

⑥ : Select Erase ALL to erase the SPI Flash.

⑦ : You can monitor the operation progress in this interface.

Reboot the system for the SPI Flash erasure to take effect.

Flashing SPI Boot Firmware

Use the RKDevTool to flash the SPI boot firmware.

① Confirm the E54C is in Maskrom mode.

② Select the appropriate Loader file for E54C. You can download the Loader file from the Resource Download page.

③ Select the corresponding storage device. Here we choose the SPINOR option.

④ Select the spi.img file you want to flash to the SPI Flash. You can download the SPI boot firmware from the Resource Download page.

⑤ Check the Write by Address option.

⑥ Click the RUN button to execute all operations.