ANDROID, AUTO BOOT WHEN CHARGE AND BATTERY

Started by junetec, November 07, 2013, 07:17:47 PM

Previous topic - Next topic

junetec

Hello,

I try to find the way to auto boot the A20 in android, when the power cavle it's attached and the battery too, withou preess any buttom.

I work in a equipment that when detects that it's dischargin switch off the system and when the power comes back boot.

I make the chage in script.bin with bintofex and fextobin stuff but it don't work.

There's anopther way to have succes with that?

Thanks in advance.

Regards,

Enric

jess

#1
I would start with a circuit connected in parallel to PWR_BUT (for example to close dry relay contacts for 3s) and work from there. However, when the A20 is ON and main power's lost the battery would automatically take over and that's where you need to work out something in firmware (or again another 7sec this time contact closure - google "relay timer circuit" and such).

Obviously the "ON" and "OFF" times should be fired correspondingly on rising edge when DC's connected and falling edge when DC was lost.

Which part of the fex file did you try to change?

junetec

In the script.bin I change in the target area

power start = 1

That works with the A13 board with preliminary android image, but not with the A20.

I wan to make that with software, not with cables.