⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipaq.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>ARM/StrongARM(SA11X0) Compaq iPAQ PocketPC</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="Installation and Testing"HREF="installation-and-testing.html"><LINKREL="PREVIOUS"TITLE="ARM/StrongARM(SA11X0) Bright Star Engineering commEngine and nanoEngine"HREF="nano.html"><LINKREL="NEXT"TITLE="ARM/StrongARM(SA11X0) Intrinsyc CerfCube"HREF="cerfcube.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="nano.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 5. Installation and Testing</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="cerfcube.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="IPAQ">ARM/StrongARM(SA11X0) Compaq iPAQ PocketPC</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5927">Overview</H2><P>RedBoot supports the serial port via cradle or cable, and Compact Flashethernet cards if fitted for communication and downloads. The LCD touchscreenmay also be used for the console, although by default RedBoot will switchexclusively to one channel once input arrives. </P><P>The default serial port settings are 38400,8,N,1. RedBoot runs fromand supports flash management for the system flash region. </P><P>The following RedBoot configurations are supported:      <DIVCLASS="INFORMALTABLE"><ANAME="AEN5932"><P></P><TABLEBORDER="1"CLASS="CALSTABLE"><THEAD><TR><THALIGN="LEFT"VALIGN="TOP">Configuration</TH><THALIGN="LEFT"VALIGN="TOP">Mode</TH><THALIGN="LEFT"VALIGN="TOP">Description</TH><THALIGN="LEFT"VALIGN="TOP">File</TH></TR></THEAD><TBODY><TR><TDALIGN="LEFT"VALIGN="TOP">ROM</TD><TDALIGN="LEFT"VALIGN="TOP">[ROM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from the board's flash boot	      sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_ROM.ecm</TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP">RAM</TD><TDALIGN="LEFT"VALIGN="TOP">[RAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from RAM with RedBoot in the	      flash boot sector.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_RAM.ecm</TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP">WinCE</TD><TDALIGN="LEFT"VALIGN="TOP">[RAM]</TD><TDALIGN="LEFT"VALIGN="TOP">RedBoot running from RAM, started from	      <SPANCLASS="APPLICATION">OSloader</SPAN>.</TD><TDALIGN="LEFT"VALIGN="TOP">redboot_WinCE.ecm</TD></TR></TBODY></TABLE><P></P></DIV></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN5957">Initial Installation</H2><P>RedBoot ROM and WinCE mode images are needed by the installation process.</P><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN5960">Installing RedBoot on the iPAQ using Windows/CE</H3><P>The Windows/CE environment originally shipped with the iPAQ contains a hiddenmini-loader, sometimes referred to as the "Parrot" loader.  This loader canbe started by holding down the action button (the joypad) while resettingthe unit or when powering on.  At this point, a blue bird will appear onthe LCD screen.  Also at this point, a simple loader can be accessed over theserial port at 115200/8N1.  Using this loader, the contents of the iPAQ flashmemory can be saved to a Compact Flash memory card.<DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>We have only tested this operation with a 32Mbyte CF memory card.Given that the backup will take 16MBytes + 1KByte, something more than a 16MBytecard will be required.</P></BLOCKQUOTE></DIV></P><P>Use the "r2c" command to dump Flash contents to the CF memory card.  Once thiscompletes, RedBoot can be installed with no fear since the Parrot loader canbe used to restore the Flash contents at a later time.</P><P>If you expect to completely recover the state of the iPAQ Win/CE environment, thenHotSync should be run to backup all "RAM" files as well before installing RedBoot.</P><P>The next step in installing RedBoot on the iPAQ actually involves Windows/CE,which is the native environment on the unit.  Using WinCE, you need toinstall an application which will run a RAM based version of RedBoot. Oncethis is installed and running, RedBoot can be used to update the flash witha native/ROM version of RedBoot.       <P></P><UL><LI><P>Using ActiveSync, copy the file OSloader to your iPAQ. </P></LI><LI><P>Using ActiveSync, copy the file redboot_WinCE.bin to the iPAQas bootldr in its root directory.  Note: this is not the top level folderdisplayed by Windows (Mobile Device), but rather the 'My Pocket PC' folderwithin it.</P></LI><LI><P>Execute OSloader.  If you didn't create a shortcut, then youwill have to poke around for it using the WinCE file explorer.</P></LI><LI><P>Choose the <SPANCLASS="GUIMENUITEM">Tools-&#62;BootLdr-&#62;Run after loadingfrom file</SPAN> menu item.   </P></LI></UL>At this point, the RAM based version of RedBoot should be running. You should be able to return to this point by just executing the last twosteps of the previous process if necessary.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN5979">Installing RedBoot on the iPAQ - using the Compaq boot loader</H3><P>This method of installation is no longer supported.If you have previously installed either the Compaq boot loader or olderversions of RedBoot, restore the Win/CE environment and proceed as outlinedabove.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="SETTING-UP-AND-TESTING-REDBOOT">Setting up and testing RedBoot</H3><P>When RedBoot first comes up, it will want to initialize its LCD touchscreen parameters. It does this by displaying a keyboard graphic and asksyou to press certain keys.  Using the stylus, press and hold until the promptis withdrawn. When you lift the stylus, RedBoot will continue with the nextcalibration.    </P><P>Once the LCD touchscreen has been calibrated, RedBoot will start. Thecalibration step can be skipped by pressing the <SPANCLASS="GUIBUTTON">return/abort</SPAN>button on the unit (right most button with a curved arrow icon). Additionally,the unit will assume default values if the screen is not touched within about15 seconds.   </P><P>Once RedBoot has started, you should get information similar to thison the LCD screen.  It will also appear on the serial port at 38400,8,N,1.<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">RedBoot(tm) bootstrap and debug environment [ROM]Non-certified release, version UNKNOWN - built 06:17:41, Mar 19 2001Platform: Compaq iPAQ Pocket PC (StrongARM 1110)Copyright (C) 2000, 2001, Red Hat, Inc.RAM: 0x00000000-0x01fc0000, 0x0001f200-0x01f70000 availableFLASH: 0x50000000 - 0x51000000, 64 blocks of 0x00040000 byteseach.</PRE></TD></TR></TABLE>Since the LCD touchscreen is only 30 characters wide, some of thisdata will be off the right hand side of the display. The joypad may beused to pan left and right in order to see the full lines.  </P><P>If you have a Compact Flash ethernet card, RedBoot should findit.  You'll need to have BOOTP enabled for this unit (see yoursysadmin for details).  If it does, it will print a message like:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">... Waiting for network card: .Ready!Socket Communications Inc: CF+ LPE Revision E 08/04/99IP: 192.168.1.34, Default server: 192.168.1.101</PRE></TD></TR></TABLE></P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="IPAQ-INSTALL-RB-PERMANENTLY">Installing RedBoot permanently</H3><P>Once you are satisfied with the setup and that RedBoot is operatingproperly in your environment, you can set up your iPAQ unit to have RedBootbe the bootstrap application. <DIVCLASS="CAUTION"><P></P><TABLECLASS="CAUTION"BORDER="1"WIDTH="100%"><TR><TDALIGN="CENTER"><B>CAUTION</B></TD></TR><TR><TDALIGN="LEFT"><P>This step will destroy your Windows/CE environment.</P><P>Before you take this step, it is strongly recommended you save your WinCE FLASH contentsas outlined above using the "parrot" loader, orby using the Compaq OSloader:<P></P><UL><LI

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -