Wince下RTC必须工作正常,Wince系统才能启动的起来?

xqhrs232 2016-10-01 11:21:33
Wince下RTC必须工作正常,Wince系统才能启动的起来?
...全文
109 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
caraso 2016-10-13
  • 打赏
  • 举报
回复
学习了。
引用 3 楼 qthsrs232 的回复:
原来是VDD_RTC那块没供电,所以RTC不工作 ,然后外接的RTC晶振也不起振,所以也就会停在5秒的地方!!!
qthsrs232 2016-10-02
  • 打赏
  • 举报
回复
原来是VDD_RTC那块没供电,所以RTC不工作 ,然后外接的RTC晶振也不起振,所以也就会停在5秒的地方!!!
xqhrs232 2016-10-01
  • 打赏
  • 举报
回复


 dwStartTime = OEMEthGetSecs();
    dwPrevTime  = dwStartTime;
    dwCurrTime  = dwStartTime;
    KeySelect   = 0;


    // Allow the user to break into the bootloader menu.
    while((dwCurrTime - dwStartTime) < g_pBootCfg->BootDelay)
    {
        KeySelect = OEMReadDebugByte();
        if ((KeySelect == 0x20) || (KeySelect == 0x0d))
            break;
        dwCurrTime = OEMEthGetSecs();

        if (dwCurrTime > dwPrevTime)
        {
            int i = 0, j = 0;

            // 1 Second has elapsed - update the countdown timer.
            dwPrevTime = dwCurrTime;
            if (BootDelay < 9)
                i = 11;
            else if (BootDelay < 99)
                i = 12;
            else if (BootDelay < 999)
                i = 13;

            for(j = 0; j < i; j++)
             OEMWriteDebugByte((BYTE)0x08); // print back space
            EdbgOutputDebugString ( "%d seconds. ", BootDelay--);
        }
    }

xqhrs232 2016-10-01
  • 打赏
  • 举报
回复
引导到了eboot,卡在eboot的倒计时。这个是因为RTC没有工作正常? Initiating image download in 5 seconds. 这个5秒就不动!!!

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧