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

Difference between revisions of "Rock3/installusb-install-radxa-e23"

(Setup rkdeveloptool (version: >=1.32) on Host PC)
Line 25: Line 25:
 
| PIN#2 || 5V || Red wire
 
| PIN#2 || 5V || Red wire
 
|}
 
|}
 
[[File:radxa-e23-usb-male-a-to-dupont-cable.jpg | 500px ]]
 
  
 
* [[rock3/downloads | Radxa E23 system images]]
 
* [[rock3/downloads | Radxa E23 system images]]
Line 43: Line 41:
 
* Remove Type-C adapter
 
* Remove Type-C adapter
 
* Remove PoE Hat
 
* 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.
+
* 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).
 
+
[[File:Radxa-e23-otg-3-date.jpeg  | 500px ]]
[[File:radxa-e23-otg-connection-without-red-wire.jpg | 500px ]]
+
  
 
* Press and hold the golden maskrom button next to wireless module. Press and hold the golden button next to spi nor flash.
 
* Press and hold the golden maskrom button next to wireless module. Press and hold the golden button next to spi nor flash.
 +
[[File:Radxa-e23-maskrom-key.jpeg | 500px  ]]
 
* Plug the Red Dupont wire to PIN#2 of 40-pin header on Radxa E23.
 
* Plug the Red Dupont wire to PIN#2 of 40-pin header on Radxa E23.
  
[[File:radxa-e23-otg-connection-with-red-wire.jpg | 500px ]]
+
[[File:Radxa-e23-red-wire-5v.jpg | 500px]]
  
 
* Release two golden buttons
 
* Release two golden buttons

Revision as of 06:23, 7 February 2022

    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

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

Radxa-e23-otg-3-date.jpeg

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

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