Automatically run after power recovery
#1
Hi, 

Is it possible to run Rock64Pro without power button? Some time ago the power was cut in my home and when it recovered unfortunately my board didn't comes up by itself... It is a little bit annoy, especially when you're not at home and you would like to use you board remotely but you can't...

Cheers!
  Reply
#2
Normally ROCKPro64 will boot again when power comes back.
Sorry for any mistakes. English is not my native language

1. RP64 v2.0 / PCIe NVMe as root / sd-card as boot / 2,5 Zoll HDD 1TB (USB3) using as Webserver .... (Kernel 4.4.167-1140-rockchip-ayufan-g6f266fb5d677)
2. RP64 v2.1 / PCIe SATA Marvell 88SE9230 Chipsatz / sd-card / 2 * 2,5 Zoll 2TB HDD (raid1) / using as NAS / Kernel 5.0.0-1101-ayufan-g41eeb7cd789e
3. RP64 v2.1 / testing.....testing....testing

https://forum.frank-mankel.org/category/14/rockpro64



  Reply
#3
(05-01-2019, 07:59 AM)Bullet64 Wrote: Normally ROCKPro64 will boot again when power comes back.

Unfortunately not... I also noticed weird symptom. When i disconnected the power supply and back it later the board didn't come up. I had to push the power button to run the board. Is there something wrong with my unit? Thanks for any advice!
  Reply
#4
As I can see at the page 18 of rockpro64_v21-SCH.pdf, there may persist auto-boot feature, take a look at a diagram, marked red.


[Image: attachment.php?aid=1334]

If these components are installed, the board will turn on when the power is applied. If it is not turning on, check the network at  pin #34 (VDC) of U5 RK808-D chip. When the voltage on this pin is raising above 0.6V the power supply IC will turn on the power.

IMHO, the network on this pin is strange. If the voltage will rise slowly (it shouldn't because the voltage is producing by a 12 to 5V buck converter), the capacitor C204 will charge slowly and may not to produce enough VDC pulse. Also the VDC input of supply system IC has a debouncing time of 100ms. And in some circumstances the pulse may be not long and high enough to be detected with a margin.
I have none board yet and can't check the speed of voltage rise at RK808 #34 VDC pin. And I don't know what reasons have board developers to make such capacitor-coupled startup circuit. Probably it is perfectly OK and just was not installed.
Just for a reference, here is the network from RK808 data sheet:

[Image: attachment.php?aid=1335]

This circuit should turn the power system on at about 8V input. But sure, it is not so simple as at a glance. The LDO above the buck converter is not present in the design of ROCKPro64 v2.1. The voltage at the VDC will stat rising earlier than 5V buck regulator VCC5V0_SYS output and VCC_RTC voltage. That is the cause the RK808 may not turn on. It will not see the voltage rise and power-on interrupt will not trigger, no power-on will happen. Probably, this was a reason to implement the startup circuit as shown at top diagram.

In case of auto-boot circuit is present but not working, I'd recommend to try this circuit (in red):

[Image: attachment.php?aid=1336]


Attached Files
.png   Pine64_ROCKPro64_auto-boot_option.png (Size: 181.01 KB / Downloads: 193)
.png   RK808_Supply_Plugin_Detector.png (Size: 79.01 KB / Downloads: 198)
.png   Pine64_ROCKPro64_auto-boot_option_proposed.png (Size: 86.15 KB / Downloads: 174)
  Reply
#5
organized schematic
  Reply
#6
For what it's worth, I see this behavior too - my RockPro64 has never turned on when I plugged it in or after a power cut/restoration - I have always had to press the power button. Mine is in a case where it's a bit hard to see the LEDs, so I'd definitely consider it an improvement if the board could power on automatically.

I'll try to have it out of the case in the next few days and look for the circuit you've described.
  Reply
#7
Mine second RockPro64 was arrived with 5A power supply. I tested autostart circuit at VDC pin, see my previous post https://forum.pine64.org/showthread.php?...4#pid46594

In short, with both 3A and 5A Pine64 power supply the circuit provides long enough pulse to turn on CPU power converter. I will add a diagrams from oscilloacope when will be at place.
  Reply
#8
Here are the diagrams of power on at pin 34 of RK808 power management system.
This is a startup from Pine64 12V 3A power supply:
Blue is voltage on 34pin of RK808 "VDC", yellow is system power voltage VCC_5V0_SYS

[Image: attachment.php?aid=1380]

This is a startup with Pine64 12V 5A power supply:

[Image: attachment.php?aid=1381]

A close-up:

[Image: attachment.php?aid=1382]

It is seen that in both cases the VDC pulse is higher than 0.6V (higher than 0.6 screen cells) and longer than 100ms (longer than 1 screen cell).
RK808 power management system power plug-in detection time, TdbPLUG_IN declared as "typical", 100ms, with no maximum value. Pulse length on scope diagram is about 170..175ms. 70% margin from 100ms. Should be OK. But only in case of X5R dielectric for C204 1uF capacitor.

For initial question of @thomas88 and @TheWiley I'd recommend to look at the LEDs on the board and Ethernet connector at the moment of power plugging in. Will they blink somehow? If it is not a hardware problem, may be it is a software one?
Also I'd check the turn on with different board temperature. In case of different dielectric of C204 capacitor, the capacitance drift from voltage and temperature may significantly decrease the pulse length. In conjunction with unknown TdbPLUG_IN higher limit, turn on pulse may be shorter than actual TdbPLUG_IN time.

In other words, the design seems to me OK but two things need to be ensured: 1) C204 should be X5R or X7R dielectric, not Y5V/Z5U. 2) TdbPLUG_IN top limit should be defined by Rockchip as an IC manufacturer (may be I just don't have last RK808 datasheet).


Attached Files
.png   DS1Z_QuickPrint56.png (Size: 34.69 KB / Downloads: 62)
.png   DS1Z_QuickPrint57.png (Size: 34.75 KB / Downloads: 61)
.png   DS1Z_QuickPrint58.png (Size: 34.71 KB / Downloads: 59)
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  RockPro64 power consumption seiji 11 3,491 03-30-2019, 11:15 PM
Last Post: pfeerick
  After power loss, boot never gets to white LED josepht 6 352 02-07-2019, 10:29 AM
Last Post: josepht
  RTC power backup rahulsharma 0 147 01-10-2019, 05:50 AM
Last Post: rahulsharma
  power supplier radek 1 304 12-08-2018, 12:31 PM
Last Post: dukla2000
  ATX power supply ice2642 5 669 11-06-2018, 05:25 PM
Last Post: Trash_Can_Man
  Power Supply ordering question frewind 8 893 08-03-2018, 11:15 AM
Last Post: dkryder
Wink ROCKPRO64 PCI-E SATA is low price and low power best to choose wipe your hard disk joe 8 2,027 05-15-2018, 12:22 AM
Last Post: joe

Forum Jump:


Users browsing this thread: 1 Guest(s)