跳至主要内容

【转】MTK 平台开机流程应用指南

1、开机方式及硬件实现方法

1.1 正常开关机

手机开机硬件电路图

正常开机过程

       开机过程:按下power key 后,二极管导通,PWRKEY 检测到低电平,驱动PMIC 打开LDOs,之后PMIC 使BB 复位,随之BB 起来进入软件开机程序,完成开机,按power key 关机时,首先执行软件关机程序,随后复位及LDOs 也被关闭,完成关机。

1.2 充电开机

        开机过程:当插充电器给手机充电时,CHRIN 检测到高电平,驱动PMIC 打开LDOs,如果此时电池的电压>3.2V,PMIC 产生EINT 中断(高电平),(如果此时电池的电压<3.2v,先小电流充电使电池电压>3.2v)PMIC 使BB 复位,BB 起来执行软件开机程序,完成充电开机。

1.3 闹钟开机

      开机过程:闹钟醒来时,BBwakeup 先起来由低电平变高电平,然后PMIC 的所有LDO 后起来,过200ms 后PMIC 使BB 复位,执行软件开机程序,当按下左键停止闹钟,完成开机。其关机过程同正常关机一样。

1.4 开机debug 流程图:

评论

此博客中的热门博文

【转】smb协议栈使用示例

/*  * * uncdownload.c  * *  * * Utility for downloading files from SMB shares using libsmbclient  * *  * * Copyright(C) 2006 Sophos Plc, Oxford, England.  * *  * * This program is free software; you can redistribute it and/or modify it under the terms of the  * * GNU General Public License Version 2 as published by the Free Software Foundation.  * *  * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without  * * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  * * See the GNU General Public License for more details.  * *  * * You should have received a copy of the GNU General Public License along with this program; if not,  * * write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA  * *  * */ # include < sys / types . h > # include < sys / time . h > # include ...

【转】Ether Types

Ether Types (last updated 2008-09-09) NOTE: Please see [RFC5342] for current information and registration procedures. This registry will be revised soon and will be replaced with up-to-date information. Many of the networks of all classes are Ethernets (10Mb) or Experimental Ethernets (3Mb). These systems use a message "type" field in much the same way the ARPANET uses the "link" field. If you need an Ether Type, contact: IEEE Registration Authority IEEE Standards Department 445 Hoes Lane Piscataway, NJ 08854 Phone +1 732 562 3813 Fax: +1 732 562 1571 Email: <ieee-registration-authority& ieee.org > http://standards.ieee.org/regauth/index.html The following list of EtherTypes is contributed unverified information from various sources. Another list of EtherTypes is maintained by Michael A. Patton and is accessible at: <URL: http://www.cavebear.com/CaveBear/Ethernet/ > <URL: ftp://ftp.cavebear.com/pub/Ethernet-codes > Assign...

【转】tcphdr结构详解

位于:/usr/src/linux/include/linux/tcp.h struct tcphdr { __be16 source; __be16 dest; __be32 seq; __be32 ack_seq; #if defined(__LITTLE_ENDIAN_BITFIELD) __u16   res1:4, doff:4, fin:1, syn:1, rst:1, psh:1, ack:1, urg:1, ece:1, cwr:1; #elif defined(__BIG_ENDIAN_BITFIELD) __u16   doff:4, res1:4, cwr:1, ece:1, urg:1, ack:1, psh:1, rst:1, syn:1, fin:1; #else #error "Adjust your <asm/byteorder.h> defines"