Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rock3/installusb-install-radxa-e23

    ROCK 3 >  Installation >   Install to eMMC from USB port (Radxa E23) 

Radxa E23 supports maskrom mode, which is a special running mode the CPU is waiting for command from USB OTG port. The PC tool we use to communicate with Radxa E23 in maskrom mode is rkdevelop tool, an open source tool by Rockchip.

Requirement

  • Radxa E23 with Radxa CM3
  • 5V Type-C Power adapter
  • USB Male A to Dupont cable. (Needed for Radxa E23 V1.1)
    • One port is Male A type and the other includes four Dupont lines.
    • Hardware connection
Radxa E23 40-pin Header USB Interface USB Male A to Dupont Cable
PIN#18 Data+ Green wire
PIN#16 Data- White wire
PIN#14 GND Black wire
PIN#2 5V Red wire

E23 wire and board.jpg

Install Tools&Drivers

Please check this guide, Install rockchip flash tools under Windows/Linux/MacOS PC.

Boot the board to maskrom mode

For Radxa E23 V1.1

Note that Radxa E23 OTG port consists of PIN#18, PIN#16, PIN#14 adn PIN#2 on the 40-pin Header.

To boot Radxa E23 E into maskrom mode is simple, you need to

  • Remove MicroSD
  • Remove Type-C adapter
  • Remove PoE Hat
  • Plug the USB Male A to Dupont cable to Radxa E23 OTG port, the other side to PC. Only use three Dupont wires (Dara+, Data-, GND).

Radxa-e23-otg-3-date.jpeg

  • Press and hold the golden maskrom button next to wireless module.

Radxa-e23-maskrom-key.jpeg

  • Plug the Red Dupont wire to PIN#2 of 40-pin header on Radxa E23.

Radxa-e23-red-wire-5v.jpg

  • Release the golden button

Now on your Linux PC, lsusb command show show the following usb devices

Bus 001 Device 112: ID 2207:350a Fuzhou Rockchip Electronics Company

It means the device is in maskrom mode now.

Install to eMMC via USB

On your PC, run the rkdeveloptool

rkdeveloptool ld
DevNo=1	Vid=0x2207,Pid=0x350a,LocationID=104	Maskrom

Download the loader (flash helper) to init the ram and prepare the flashing environment etc. If you don't have it, you can download it from here

rkdeveloptool db rk356x_spl_loader_ddr1056_v1.06.110.bin

Write the GPT image to eMMC, start to write from offset 0. For example.

rkdeveloptool wl 0 /path/to/radxa-e23-xxx-gpt.img

Reboot the device

rkdeveloptool rd

Now the device should boot the new image on eMMC.

Please note that you can use zero.img instead of radxa-e23-xxx-gpt.img when erasing eMMC on board. Try the following commands.

dd if=/dev/zero of=./zero.img bs=1M count=64
rkdeveloptool db rk356x_spl_loader_ddr1056_v1.06.110.bin
rkdeveloptool wl 0 zero.img

Troubleshooting

Check ROCK 3 FAQs first, if it doesn't help, start a new post on the forum https://forum.radxa.com/c/rock3.