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

📄 iq80321.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 9 - Timer Test10 - PCI Bus test11 - CPU Cache Loop (No Return) 0 - quitEnter the menu item number (0 to quit):</PRE></TD></TR></TABLE>Tests for various hardware subsystems are provided, and some tests requirespecial hardware in order to execute normally. The Ethernet Configurationitem may be used to set the board ethernet address.</P><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6364">Memory Tests</H3><P>This test is used to test installed DDR SDRAM memory. Five differenttests are run over the given address ranges. If errors are encountered, thetest is aborted and information about the failure is printed. When selected,the user will be prompted to enter the base address of the test range and itssize. The numbers must be in hex with no leading &#8220;0x&#8221;</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">Enter the menu item number (0 to quit): <TTCLASS="USERINPUT"><B>1</B></TT>Base address of memory to test (in hex): <TTCLASS="USERINPUT"><B>100000</B></TT>Size of memory to test (in hex): <TTCLASS="USERINPUT"><B>200000</B></TT>Testing memory from 0x00100000 to 0x002fffff.Walking 1's test: 0000000100000002000000040000000800000010000000200000004000000080000001000000020000000400000008000000100000002000000040000000800000010000000200000004000000080000001000000020000000400000008000000100000002000000040000000800000010000000200000004000000080000000passed32-bit address test: passed32-bit address bar test: passed8-bit address test: passedByte address bar test: passedMemory test done.</PRE></TD></TR></TABLE></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6371">Repeating Memory Tests</H3><P>The repeating memory tests are exactly the same as the above memory tests,except that the tests are automatically rerun after completion. The only way outof this test is to reset the board.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6374">Repeat-On-Fail Memory Tests</H3><P>This is similar to the repeating memory tests except that when an erroris found, the failing test continuously retries on the failing address.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6377">Rotary Switch S1 Test</H3><P>This tests the operation of the sixteen position rotary switch. When run,this test will display the current position of the rotary switch on the LEDdisplay. Slowly dial through each position and confirm reading on LED.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6380">7 Segment LED Tests</H3><P>This tests the operation of the seven segment displays. When run, eachLED cycles through 0 through F and a decimal point.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6383">i82544 Ethernet Configuration</H3><P>This test initializes the ethernet controller&#8217;s serial EEPROM ifthe current contents are invalid. In any case, this test will also allow theuser to enter a six byte ethernet MAC address into the serial EEPROM.</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">Enter the menu item number (0 to quit): <TTCLASS="USERINPUT"><B>6</B></TT>Current MAC address: 00:80:4d:46:00:02Enter desired MAC address: <TTCLASS="USERINPUT"><B>00:80:4d:46:00:01</B></TT>Writing to the Serial EEPROM... Done******** Reset The Board To Have Changes Take Effect ********</PRE></TD></TR></TABLE></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6389">Battery Status Test</H3><P>This tests the current status of the battery. First, the test checks tosee if the battery is installed and reports that finding. If the battery isinstalled, the test further determines whether the battery status is one ormore of the following:<P></P><UL><LI><P>Battery is charging.</P></LI><LI><P>Battery is fully discharged.</P></LI><LI><P>Battery voltage measures within normal operating range.</P></LI></UL></P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6399">Battery Backup SDRAM Memory Test</H3><P>This tests the battery backup of SDRAM memory. This test is a threestep process:</P><P></P><OLTYPE="1"><LI><P>Select Battery backup test from main diag menu, then writedata to SDRAM.</P></LI><LI><P>Turn off power for 60 seconds, then repower the board.</P></LI><LI><P>Select Battery backup test from main diag menu, then checkdata that was written in step 1.</P></LI></OL></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6409">Timer Test</H3><P>This tests the internal timer by printing a number of dots at onesecond intervals.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6412">PCI Bus Test</H3><P>This tests the secondary PCI-X bus and socket. This test requires thatan IQ80310 board be plugged into the secondary slot of the IOP80321 board.The test assumes at least 32MB of installed memory on the IQ80310. That memoryis mapped into the IOP80321 address space and the memory tests are run on thatmemory.</P></DIV><DIVCLASS="SECT3"><H3CLASS="SECT3"><ANAME="AEN6415">CPU Cache Loop</H3><P>This test puts the CPU into a tight loop run entirely from the ICache.This should prevent all external bus accesses.</P></DIV></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6418">Rebuilding RedBoot</H2><P>These shell variables provide the platform-specific informationneeded for building RedBoot according to the procedure described in<AHREF="rebuilding-redboot.html">Chapter 3</A>:<TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">export TARGET=iq80321export ARCH_DIR=armexport PLATFORM_DIR=xscale/iq80321</PRE></TD></TR></TABLE></P><P>The names of configuration files are listed above with thedescription of the associated modes.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6424">Interrupts</H2><P>RedBoot uses an interrupt vector table which is located at address 0x8004.Entries in this table are pointers to functions with this protoype::      <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">int irq_handler( unsigned vector, unsigned data )</PRE></TD></TR></TABLE>On an IQ80321board, the vector argument is one of 32 interrupts defined in <TTCLASS="COMPUTEROUTPUT">hal/arm/xscale/verde/current/include/hal_var_ints.h:</TT>:   <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">// *** 80200 CPU ***#define CYGNUM_HAL_INTERRUPT_DMA0_EOT      0#define CYGNUM_HAL_INTERRUPT_DMA0_EOC      1#define CYGNUM_HAL_INTERRUPT_DMA1_EOT      2#define CYGNUM_HAL_INTERRUPT_DMA1_EOC      3#define CYGNUM_HAL_INTERRUPT_RSVD_4        4#define CYGNUM_HAL_INTERRUPT_RSVD_5        5#define CYGNUM_HAL_INTERRUPT_AA_EOT        6#define CYGNUM_HAL_INTERRUPT_AA_EOC        7#define CYGNUM_HAL_INTERRUPT_CORE_PMON     8#define CYGNUM_HAL_INTERRUPT_TIMER0        9#define CYGNUM_HAL_INTERRUPT_TIMER1        10#define CYGNUM_HAL_INTERRUPT_I2C_0         11#define CYGNUM_HAL_INTERRUPT_I2C_1         12#define CYGNUM_HAL_INTERRUPT_MESSAGING     13#define CYGNUM_HAL_INTERRUPT_ATU_BIST      14#define CYGNUM_HAL_INTERRUPT_PERFMON       15#define CYGNUM_HAL_INTERRUPT_CORE_PMU      16#define CYGNUM_HAL_INTERRUPT_BIU_ERR       17#define CYGNUM_HAL_INTERRUPT_ATU_ERR       18#define CYGNUM_HAL_INTERRUPT_MCU_ERR       19#define CYGNUM_HAL_INTERRUPT_DMA0_ERR      20#define CYGNUM_HAL_INTERRUPT_DMA1_ERR      22#define CYGNUM_HAL_INTERRUPT_AA_ERR        23#define CYGNUM_HAL_INTERRUPT_MSG_ERR       24#define CYGNUM_HAL_INTERRUPT_SSP           25#define CYGNUM_HAL_INTERRUPT_RSVD_26       26#define CYGNUM_HAL_INTERRUPT_XINT0         27#define CYGNUM_HAL_INTERRUPT_XINT1         28#define CYGNUM_HAL_INTERRUPT_XINT2         29#define CYGNUM_HAL_INTERRUPT_XINT3         30#define CYGNUM_HAL_INTERRUPT_HPI           31</PRE></TD></TR></TABLE>The data passed to the ISR is pulled from a data table <TTCLASS="COMPUTEROUTPUT">(hal_interrupt_data)</TT> which immediately follows the interrupt vector table. With32 interrupts, the data table starts at address 0x8084.   </P><P>An application may create a normal C function with the above prototypeto be an ISR. Just poke its address into the table at the correct index andenable the interrupt at its source. The return value of the ISR is ignoredby RedBoot.</P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6432">Memory Maps</H2><P>The RAM based page table is located at RAM start + 0x4000. RedBoot may be configuredfor one of two memory maps. The difference between them is the location of RAM and thePCI outbound windows. The alternative memory map may be used whenbuilding RedBoot or eCos by using the <TTCLASS="LITERAL">RAM_ALTMAP</TT>and <TTCLASS="LITERAL">ROM_ALTMAP</TT> startup types in the configuration.<DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>NOTE: </B>The virtual memory maps in this section use a C, B, and X column to indicatethe caching policy for the region..</P></BLOCKQUOTE></DIV></P><P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">X C B  Description- - -  ---------------------------------------------0 0 0  Uncached/Unbuffered0 0 1  Uncached/Buffered0 1 0  Cached/Buffered    Write Through, Read Allocate0 1 1  Cached/Buffered    Write Back, Read Allocate1 0 0  Invalid -- not used1 0 1  Uncached/Buffered  No write buffer coalescing1 1 0  Mini DCache - Policy set by Aux Ctl Register1 1 1  Cached/Buffered    Write Back, Read/Write AllocatePhysical Address Range     Description-----------------------    ----------------------------------0x00000000 - 0x7fffffff    ATU Outbound Direct Window0x80000000 - 0x900fffff    ATU Outbound Translate Windows0xa0000000 - 0xbfffffff    SDRAM0xf0000000 - 0xf0800000    FLASH               (PBIU CS0)0xfe800000 - 0xfe800fff    UART                (PBIU CS1)0xfe840000 - 0xfe840fff    Left 7-segment LED  (PBIU CS3)0xfe850000 - 0xfe850fff    Right 7-segment LED (PBIU CS2)0xfe8d0000 - 0xfe8d0fff    Rotary Switch       (PBIU CS4)0xfe8f0000 - 0xfe8f0fff    Baterry Status      (PBIU CS5)0xfff00000 - 0xffffffff    Verde Memory mapped RegistersDefault Virtual Map      X C B  Description-----------------------  - - -  ----------------------------------0x00000000 - 0x1fffffff  1 1 1  SDRAM0x20000000 - 0x9fffffff  0 0 0  ATU Outbound Direct Window0xa0000000 - 0xb00fffff  0 0 0  ATU Outbound Translate Windows0xc0000000 - 0xdfffffff  0 0 0  Uncached alias for SDRAM0xe0000000 - 0xe00fffff  1 1 1  Cache flush region (no phys mem)0xf0000000 - 0xf0800000  0 1 0  FLASH               (PBIU CS0)0xfe800000 - 0xfe800fff  0 0 0  UART                (PBIU CS1)0xfe840000 - 0xfe840fff  0 0 0  Left 7-segment LED  (PBIU CS3)0xfe850000 - 0xfe850fff  0 0 0  Right 7-segment LED (PBIU CS2)0xfe8d0000 - 0xfe8d0fff  0 0 0  Rotary Switch       (PBIU CS4)0xfe8f0000 - 0xfe8f0fff  0 0 0  Baterry Status      (PBIU CS5)0xfff00000 - 0xffffffff  0 0 0  Verde Memory mapped RegistersAlternate Virtual Map    X C B  Description-----------------------  - - -  ----------------------------------0x00000000 - 0x000fffff  1 1 1  Alias for 1st MB of SDRAM0x00100000 - 0x7fffffff  0 0 0  ATU Outbound Direct Window0x80000000 - 0x900fffff  0 0 0  ATU Outbound Translate Windows0xa0000000 - 0xbfffffff  1 1 1  SDRAM0xc0000000 - 0xdfffffff  0 0 0  Uncached alias for SDRAM0xe0000000 - 0xe00fffff  1 1 1  Cache flush region (no phys mem)0xf0000000 - 0xf0800000  0 1 0  FLASH               (PBIU CS0)0xfe800000 - 0xfe800fff  0 0 0  UART                (PBIU CS1)0xfe840000 - 0xfe840fff  0 0 0  Left 7-segment LED  (PBIU CS3)0xfe850000 - 0xfe850fff  0 0 0  Right 7-segment LED (PBIU CS2)0xfe8d0000 - 0xfe8d0fff  0 0 0  Rotary Switch       (PBIU CS4)0xfe8f0000 - 0xfe8f0fff  0 0 0  Baterry Status      (PBIU CS5)0xfff00000 - 0xffffffff  0 0 0  Verde Memory mapped Registers&#13;</PRE></TD></TR></TABLE></P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN6442">Platform Resource Usage</H2><P>The Verde programmable timer0 is used for timeout supportfor networking and XModem file transfers.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="iq80310.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="calmrisc16.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ARM/Xscale Cyclone IQ80310</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="installation-and-testing.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">CalmRISC/CalmRISC16 Samsung CalmRISC16 Core Evaluation Board</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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