參數(shù)資料
型號: ARM7TDMI-S
英文描述: ARM7TDMI-S Microprocessor Core preliminary technical manual 5/00
中文描述: 的ARM7TDMI - S微處理器核的初步技術(shù)手冊5 / 00
文件頁數(shù): 161/184頁
文件大?。?/td> 1147K
代理商: ARM7TDMI-S
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁當前第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁
Determining the Core and System State
Rev. A
Copyright 2000 by LSI Logic Corporation. All rights reserved.
B-15
The sequences of ARM instructions below can be used to determine the
processor’s state.
With the processor in the ARM state, typically the first instruction to
execute would be:
STM R0, {R0 R15}
This instruction causes the contents of the registers to appear on the
data bus. You can then sample and shift out these values.
Note:
The above use of r0 as the base register for the STM is
only for illustration. You can use any register.
After you have determined the values in the current bank of registers, you
might wish to access the banked registers. First, you must change mode.
Normally, a mode change can occur only if the core is already in a
privileged mode. However, while in debug state, a mode change from
one mode into any other mode can occur.
The debugger must restore the original mode before exiting debug state.
For example, if the debugger had been requested to return the state of
the user mode registers and FIQ mode registers, and debug state was
entered in supervisor mode, the instruction sequence could be:
STM R0, {R0 R15}; Save current registers
MRS R0, CPSR
STR R0, R0; Save CPSR to determine current mode
BIC R0, 0x1F; Clear mode bits
ORR R0, 0x10; Select user mode
MSR CPSR, R0; Enter USER mode
STM R0, {R13,R14}; Save register not previously visible
ORR R0, 0x01; Select FIQ mode
MSR CPSR, R0; Enter FIQ mode
STM R0, {R8 R14}; Save banked FIQ registers
All these instructions execute at debug speed. Debug speed is much
slower than system speed, because between each core clock, 33 clocks
occur in order to shift in an instruction or shift out data. Executing
instructions this slowly is acceptable for accessing the core state
because the ARM7TDMI-S core is fully static. However, you cannot use
this method for determining the state of the rest of the system.
While in debug state, only the following instructions can be scanned into
the instruction pipeline for execution:
相關(guān)PDF資料
PDF描述
ARM946E-S ARM946E-S Microprocessor Core with Cache technical manual 6/01
ARM966E-S ARM966E-S Microprocessor Core preliminary technical manual 6/01
ARS2569 Amplifier. Other
AR2569 Amplifier. Other
ARS4019 Amplifier. Other
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ARM920T 制造商:未知廠家 制造商全稱:未知廠家 功能描述:System-on-Chip Platform OS Processor
ARM940T 制造商:未知廠家 制造商全稱:未知廠家 功能描述:TECHNICAL REFERENCE MANUAL
ARM946E-S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ARM946E-S Microprocessor Core with Cache technical manual 6/01
ARM966E-S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:ARM966E-S Microprocessor Core preliminary technical manual 6/01