Difference between revisions of "Pinebook Pro SPI"

From PINE64
Jump to navigation Jump to search
(Created page with "== Writing to the Pinebook Pro SPI Flash == Placeholder text for instructions/procedure to flash the PBP SPI. == Recovering Pinebook Pro SPI Flash == Placeholder text for i...")
 
Line 3: Line 3:
Placeholder text for instructions/procedure to flash the PBP SPI.
Placeholder text for instructions/procedure to flash the PBP SPI.


== Recovering Pinebook Pro SPI Flash ==


Placeholder text for instructions/procedures to recover the PBP SPI after a failed flsh attempt.
 
If you accidentally soft brick your PBP there is special mode implemented called maskrom mode. In this mode the device is accessible as regular USB device and can be accessed using rkdevelop tools. Especially to rewrite SPI flash or to erase it.
 
 
According to Rockchip documentation it should be accessible following below procedure:
 
1. Press and hold recovery button.<br>
2. Short press reset.<br>
3. Release recovery button after about 3 seconds.
 
 
 
Unfortunately it is not always the case. I had a clear SPI from factory and had to do this procedure trillion times to eventually get into maskrom mode. There is another person who had the same problems.
 
The nature of this problem is not clear. There are two suspicions:
 
- the button is not working correctly or is just prone to failures.<br>
- the problem occurs only when the SPI was previously flashed.
 
 
 
One way or the other the button works by shorting two pins in an SPI device. But in some cases it just does nothing. So if you experience such problem there is a way to overcome it. You can short the two pins by yourself.
 
Procedure:
 
1. Unscrew bottom cover.<br>
2. Remove the metal shield surrounding main CPU - it is held in place by a tape and micro clamps on pcb.<br>
3. Disconnect all (!!!) boot devices (emmc, sdcard, usb).<br>
4. Locate SPI flash (number 29 on picture).<br>
5. Turn on pbp, short pins CLK and VSS and press reset. It should get your pbp into maskrom mode.

Revision as of 20:26, 8 February 2020

Writing to the Pinebook Pro SPI Flash

Placeholder text for instructions/procedure to flash the PBP SPI.


If you accidentally soft brick your PBP there is special mode implemented called maskrom mode. In this mode the device is accessible as regular USB device and can be accessed using rkdevelop tools. Especially to rewrite SPI flash or to erase it.


According to Rockchip documentation it should be accessible following below procedure:

1. Press and hold recovery button.
2. Short press reset.
3. Release recovery button after about 3 seconds.


Unfortunately it is not always the case. I had a clear SPI from factory and had to do this procedure trillion times to eventually get into maskrom mode. There is another person who had the same problems.

The nature of this problem is not clear. There are two suspicions:

- the button is not working correctly or is just prone to failures.
- the problem occurs only when the SPI was previously flashed.


One way or the other the button works by shorting two pins in an SPI device. But in some cases it just does nothing. So if you experience such problem there is a way to overcome it. You can short the two pins by yourself.

Procedure:

1. Unscrew bottom cover.
2. Remove the metal shield surrounding main CPU - it is held in place by a tape and micro clamps on pcb.
3. Disconnect all (!!!) boot devices (emmc, sdcard, usb).
4. Locate SPI flash (number 29 on picture).
5. Turn on pbp, short pins CLK and VSS and press reset. It should get your pbp into maskrom mode.