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

Rock3/installusb-install-radxa-e23

< Rock3
Revision as of 10:23, 27 December 2021 by Stephen (Talk | contribs)

    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.
    • 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

500px

Install Tools&Drivers

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

Boot the board to maskrom mode

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), plug the Red Power wire later. Like this.

500px

  • Press and hold the golden maskrom button next to wireless module. Press and hold the golden button next to spi nor flash.
  • Plug the Red Dupont wire to PIN#2 of 40-pin header on Radxa E23.

500px

  • Release two golden buttons

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

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

Reboot the device

 rkdeveloptool rd

Now the device should boot the new image on eMMC.

Troubleshooting

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