摘要:一个在一个芯片上定制设计的硬件。addressbus(地址总线)Asetofelectricallinesconnectedtotheprocessorandalloftheperipheralswithwhichitcommunicates。Theaddressbusisusedbytheprocessortoselectaspecificmemorylocationorregisterwithinaparticularperipheral。Iftheaddre
常见英文缩写解释(按字母顺序排列):
ASIC:ApplicationSpecificIntegratedCircuit.专用IC
CPLD:ComplexProgrammableLogicDevice.复杂可编程逻辑器件
EDA:ElectronicDesignAutomation.电子设计自动化
FPGA:FieldProgrammableGateArray.现场可编程门阵列
GAL:GenericArrayLogic.通用阵列逻辑
HDL:HardwareDescriptionLanguage.硬件描述语言
IP:IntelligentProperty.智能模块
PAL:ProgrammableArrayLogic.可编程阵列逻辑
RTL:RegisterTransferLevel.寄存器传输级描述)
SOC:SystemOnaChip.片上系统
SLIC:SystemLevelIC.系统级IC
VHDL:VeryhighspeedintegratedcircuitHardwareDescriptionLanguage.超高速集成电路硬件描述语言
ASIC(专用集成电路)
Application-SpecificIntegratedCircuit.Apieceofcustom-designedhardware
inachip.专用集成电路。一个在一个芯片上定制设计的硬件。
addressbus(地址总线)
Asetofelectricallinesconnectedtotheprocessorandalloftheperipher
alswithwhichitcommunicates.Theaddressbusisusedbytheprocessortoselectaspecificmemorylocationorregisterwithinaparticularperipheral.Iftheaddressbuscontainsnelectricallines,theprocessorcanuniquelyaddressupto2^nsuchlocations.一个连接处理器与所有外设的,用来通讯的电子线路集。地址总线被处理器用来选择在特定外设中的存储器地址或寄存器。如果地址总线有n条电子线路,处理器能唯一寻址高达2^n的地址空间。
applicationsoftware(应用软件)
Describessoftwaremodulesspecifictoaparticularembeddedproject.Theapplicationsoftwareisunlikelytobereusableacrossembeddedplatforms,simplybecauseeachembeddedsystemhasadifferentapplication.
用来描述一个特定的嵌入式项目中的某一软件模块。应用软件不象可重用的交叉嵌入式平台,只因为每一个嵌入式系统有不同的应用软件。
assembler(汇编编译器)
Asoftwaredevelopmenttoolthattranslateshuman-readableassemblylanguageprogramsintomachine-languageinstructionsthattheprocessorcanunderstandandexecute.
一个能把可读的汇编语言程序转换到处理器可理解和运行的机器指令的软件开发工具。
assemblylanguage(汇编语言)
Ahuman-readableformofaprocessor sinstructionset.Mostprocessor-specificfunctionsmustbewritteninassemblylanguage.
一种人可读的处理器指令集的形式。大多数处理器相关的功能必须用汇编语言编写。
BSP(板卡支持包)
Seeboardsupportpackage.
见boardsupportpackage。
binarysemaphore(二元信号)
Atypeofsemaphorewithjusttwostates.Alsocalledamutex.
一种只有两种状态的信号。也叫互斥信号。
boardsupportpackage(板卡支持包)
Partofasoftwarepackagethatisprocessororplatform-dependent.Typicall
y,samplesourcecodefortheboardsupportpackageisprovidedbythepackagedeveloper.Thesamplecodemustbemodifiedasnecessary,compiled,andlinkedwiththeremainderofthesoftwarepackage.
软件包的具有平台依赖性的那一部分。典型地,板卡支持包的样例源程序由包开发者提供。样例源程序必须能在需要时被修改、编译并与软件包的剩下的部分连接起来。
bond-outprocessor(外合处理器)
Aspecialversionofaprocessorthathassomeoftheinternalsignalsbroughtouttoexternalpins.Abond-outprocessorismostoftenfoundwithinanemulatorandisneverintendedtobeusedinaproductionsystem.
一种特殊版本的处理器,它有一些,内部的信号能传达到外置的针脚上。一个外合处理器绝大多数情况下只用在模拟器上,从来不会被特意用在产品系统上。
Breakpoint(断点)
Alocationinaprogramatwhichexecutionistobestoppedandcontroloftheprocessorswitchedtothedebugger.Mechanismsforcreatingandremoving
breakpointsareprovidedbymostdebuggingtools.
一个在程序中的地址,在那里程序的执行被停止,并且处理器的控制转换到了除错程
序。大多数除错工具提供增加与删除一个断点的机制。
CISC(复杂指令集计算机)
ComplexInstructionSetComputer.Describesthearchitectureofaprocessorfamily.CISCprocessorsgenerallyfeaturevariable-lengthinstructions,multipleaddressingformats,andcontainonlyasmallnumberofgeneral-purposeregisters.Intel s80x86familyisthequintessentialexampleofCISC.ContrastwithRISC.
复杂指令集计算机。对一种处理器架构的描述。CISC处理器一般产生变的指令,多种地址格式,并且仅仅有少量的通用寄存器。Intel的80x86家族是是典型的CISC处理器。相对于RISC而言。
CPU(中央处理器)
CentralProcessingUnit.Thepartofaprocessorthatexecutesinstructions.
中央处理器。处理器中执行指令的那一部分。
Compiler(编译器)
Asoftwaredevelopmenttoolthattranslateshigh-levellanguageprogramsintothemachine-languageinstructionsthataparticularprocessorcanunderstandandexecute.
把高级编程语言程序转换到只有特定的处理器能了解和执行的机器指令的一种软件开发包。
context(上下文)
Thecurrentstateoftheprocessor sregistersandflags.
处理器当前的状态和标志。
contextswitch(上下文切换)
Theprocessofswitchingfromonetasktoanotherinamultitaskingoperatingsystem.Acontextswitchinvolvessavingthecontextoftherunningaskandrestoringthepreviously-savedcontextoftheother.Thepieceofcodethatdoesthisisnecessarilyprocessor-specific.
在多任务操作系统中我一个任务切换到另一个的过程。上下文切换包括保存正在运行的任务的上下文和恢复早先保存的另一个任务的上下文。做这个工作的一段代码必须具有处理器特权。
countingsemaphore(计数信号)
Atypeofsemaphorethatisusedtotrackmultipleresourcesofthesametyp
e.Anattempttotakeacountingsemaphoreisblockedonlyifalloftheava
ilableresourcesareinuse.Contrastwithbinarysemaphore.
一种用来跟踪多个相同类型资源的信号灯。仅仅在所有可用的资源都被用完了时才阻塞。相对二元信号而言。
criticalsection(临界段)
Ablockofcodethatmustbeexecutedinsequenceandwithoutinterruption
toguaranteecorrectoperationofthesoftware.Seealsoracecondition.
一段必须按次序执行的代码,并且不能被中断,否则不能保证软件正确地操作。
照:竞争状况。
cross-compiler(交叉编译器)
Acompilerthatrunsonadifferentplatformthantheoneforwhichitproducesobjectcode.Across-compilerrunsonahostcomputerandproducesobjectcodeforthetarget.
一个运行在不同的平台上的编译器,其中之一能产生目标代码。交叉编译器在主机上运行并且产生目标机的目标代码。
DMA(直接内存访问)
DirectMemoryAccess.Atechniquefortransferringdatadirectlybetweentwoperipherals(usuallymemoryandanI/Odevice)withonlyminimalinterventionbytheprocessor.DMAtransfersaremanagedbyathirdperipheralcalledaDMAcontroller.
直接内存访问。一种直接在两个外设(通常是内存和I/O设备)之间进行数据传输的技术,它只要处理器最少的介入。DMA传输由叫DMA控制器的第三方外设进行管理。
DRAM(动态随机访问存储器)
DynamicRandom-AccessMemory.AtypeofRAMthatmaintainsitscontentsonlyaslongasthedatastoredinthedeviceisrefreshedatregularintervals.
TherefreshcyclesareusuallyperformedbyaperipheralcalledaDRAMcontroller.
动态随机访问存储器。一种RAM,存储在其设备中的数据被定期刷新时才能保存它的内容。刷新周期一般由一个叫DRAM控制器的外设完成。
Databus(数据总线)
Asetofelectricallinesconnectedtotheprocessorandalloftheperipher
alswithwhichitcommunicates.Whentheprocessorwantstoread(write)the
contentsofamemorylocationorregisterwithinaparticularperipheral,itsetstheaddressbuspinsappropriatelyandreceives(transmits)thecontentsonthedatabus.
连接处理器与所有外设进行通讯的电子线路集。当一个处理器想去写(读)某一特定外设中的存储器地址或寄存器中的内容时,处理器设置地址总线并在数据总线上接收(传输)内容。
Deadline(死线)
Thetimeatwhichaparticularsetofcomputationsmustbecompleted.Seealsoreal-timesystem.一个特定计算必须被完成的时间。请看实时系统。
Deadlock(死锁)
Anunwantedsoftwaresituationinwhichanentiresetoftasksisblocked,waitingforaneventthatonlyataskwithinthesamesetcancause.Ifadeadlockoccurs,theonlysolutionistoresetthehardware.However,itisusuallypossibletopreventdeadlocksaltogetherbyfollowingcertainsoftwaredesignpractices.
一种不希望出现的软件状态,在这个状态下,所有的任务因为等待一个只有在这些被阻塞任务之一才能产生的事件而被阻塞。如果死锁发生,唯一解决的方法是重启动硬件。但是,通过可靠的软件设计实践活动通常可以防止死锁的发生。
debugmonitor(除错监视程序)
Apieceofembeddedsoftwarethathasbeendesignedspecificallyforuseasadebuggingtool.ItusuallyresidesinROMandcommunicateswithadebuggerviaaserialportornetworkconnection.Thedebugmonitorprovidesasetofprimitivecommandstoviewandmodifymemorylocationsandregisters,createandremovebreakpoints,andexecuteyourprogram.Thedebuggercombinestheseprimitivestofulfillhigher-levelrequestslikeprogramdownloadandsingle-step.
嵌入式软件被特殊设计来作为除错工具的一部分。它一般被放在ROM中,通过串口或网络与除错器进行通讯。除错监视程序提供一个简单的命令集来显示和内存地址和寄存器、建立和移除断点,并且运行你的程序。除错监视器组合这些简单的命令去实现象程序下载各单步调试等高端的请求。
Debugger(除错器)
Asoftwaredevelopmenttoolusedtotestanddebugembeddedsoftware.Thedebuggerrunsonahostcomputerandconnectstothetargetthroughaserialportornetworkconnection.Usingadebuggeryoucandownloadsoftwaretothetargetforimmediateexecution.Youcanalsosetbreakpointsandexaminethecontentsofspecificmemorylocationsandregisters.
一个软件开发工具,被用来对嵌入式软件进行测试和除错。除错器在宿主机上运行并且通过串口或网络连接到目标机上。你能使用除错器下载软件到目标机并直接运行。你也可以设置断点并检查特定内存地址或寄存器的内容。
devicedriver(设备驱动程序)
Asoftwaremodulethathidesthedetailsofaparticularperipheralandprov
idesahigh-levelprogramminginterfacetoit.
一个软件模块,它隐藏特定外设的细节并提供高级的外设编程接口。
deviceprogrammer(设备编程器)
Atoolforprogrammingnon-volatilememoriesandotherelectrically-programmabledevices.Typically,theprogrammabledeviceisinsertedintoasocketonthedeviceprogrammerandthecontentsofamemorybufferarethentransferredintoit.
一种用来对不挥发内存和其他电可编程设备进行编程的工具。典型地,可编程设备被插到设备编程器的接口上,接着内存缓存器中的内容被传送到它里面。
digitalsignalprocessor(数字信号处理器)
Adevicethatissimilartoamicroprocessor,exceptthattheinternalCPUhasbeenoptimizedforuseinapplicationsinvolvingdiscrete-timesignalprocessing.Inadditiontostandardmicroprocessorinstructions,DSPsusuallysupportasetofcomplexinstructionstoperformcommonsignal-processingcomputationsquickly.CommonDSPfamiliesareTI s320CxxandMotorola s5600xseries.
一种类似于微处理器的的设备,不同的是它内部的CPU被优化,用于特定的应用,如离散信号处理。除了标准的微处理器指令外,DSP常常支持复杂指令集去非常快地完成通用的信号处理计算。通用DSP家庭是TI的320Cxx和Motorola的5600x系列。
EEPROM(电可擦的,可编程的只读存储器)
ElectricallyErasable,ProgrammableRead-OnlyMemory.(Pronounced Double-E -PROM.)AtypeofROMthatcanbeerasedelectronically.
电可擦的,可编程的只读存储器。一种ROM能被电擦除。
EPROM(可擦的,可编程的只读存储器)
Erasable,ProgrammableRead-OnlyMemory.AtypeofROMthatcanbeerasedbyexposingittoultravioletlight.Onceerased,anEPROMcanbereprogrammedwiththehelpofadeviceprogrammer.
一种可用紫外线擦除的存储器。一次擦除后,EPROM可以在设备编程器的帮助下被重编程。
embeddedsystem(嵌入式系统)
Acombinationofcomputerhardwareandsoftware,andperhapsadditionalmechanicalorotherparts,designedtoperformadedicatedfunction.Insomecases,embeddedsystemsarepartofalargersystemorproduct,asisthecase
ofananti-lockbrakingsysteminacar.Contrastwithgeneral-purposecomputer.
计算机硬件和软件的结合体,或许还加上机械等其他部分,被设计来完成专门的功能。在一些情况下,嵌入式系统是一个大的系统或产品的一部分,就象汽车上的防抱死装置。与通用计算机相对。
Emulator(仿真器)
ShortforIn-CircuitEmulator(ICE).Adebuggingtoolthattakestheplaceof
-emulates-theprocessoronyourtargetboard.Emulatorsfrequentlyincorporateaspecial bond-out versionofthetargetprocessorthatallowsyoutoobserveandrecorditsinternalstateasyourprogramisexecuting.在线仿真器的简写。一个在你的目标板上放置仿真的处理器的调试工具。仿真器经常和一目标处理器的一种“外合”版本合在一起,这个版本的的处理器充许你运行程序时观察和记录它的内部状态。
Executable(可执行的)
Afilecontainingobjectcodethatisreadyforexecutiononthetarget.All
thatremainsistoplacetheobjectcodeintoaROMordownloaditviaade
buggingtool.一个包含准备在目标机上运行的目标代码的文件。放置目标代码到ROM中或通过调试工具下载。
Firmware(固件)
EmbeddedsoftwarethatisstoredasobjectcodewithinaROM.Thisnameismostcommonamongtheusersofdigitalsignalprocessors.
是作为目标代码存贮在ROM中的嵌入式软件。这个名字在数字信号处理器的用户中相当流行。
flashmemory(闪存)
ARAM-ROMhybridthatcanbeerasedandrewrittenundersoftwarecontrol.Suchdevicesaredividedintoblocks,calledsectors,thatareindividually-er
asable.Flashmemoryiscommoninsystemsthatrequirenonvolatiledatastorageatverylowcost.Insomecases,alargefashmemorymayevenbeusedinsteadofadisk-drive.
一种RAM-ROM的混血儿,它能在软件的控制下被擦除和重写。一些设备被分成叫段组的块,能个别地可擦。闪存用在需要很便宜的非易失数据存贮器的地方,一个大容量的闪存甚至被用作磁盘驱动器。
general-purposecomputer(通用计算机)
Acombinationofcomputerhardwareandsoftwarethatservesasa
general-purposecomputingplatform.Forexample,apersonalcomputer.Contrastwithembeddedsystem.
当作通用计算平台的计算机硬件与软件的组合。例如,PC。相对于嵌入式计算机。
HLL
Seehigh-levellanguage.
查阅高级语言。
Heap(堆)
Anareaofmemorythatisusedfordynamicmemoryallocation.CallstomallocandfreeandtheC++operatorsnewanddeleteresultinrun-timemanipulationoftheheap.
一块被用作动态内存分配的内存区域。调用malloc和free、C++的操作符new、delete在运行时进行堆的操作。
high-levellanguage(高级语言)
Alanguage,suchasCorC++,thatisprocessor-independent.Whenprogramminginahigh-levellanguage,itispossibletoconcentrateonalgorithmsandapplicationswithoutworryingaboutthedetailsofaparticularprocessor.
一种语言,象C或C++,是处理器独立的。当在高级语言上编程时,不需要考虑特定处理器的细节,只用关心算法和应用。
Host(主机)
Ageneral-purposecomputerthatcommunicateswiththetargetviaaserialportornetworkconnection.Thistermisusuallyusedtodistinguishthecomputeronwhichthedebuggerisrunningfromtheembeddedsystemthatisbeingdeveloped.
一台通用计算机,它通过串口或网络连接与目标机通讯。这处名词一般用来区别调试程
序运行的计算机和被开发的嵌入式系统。
ICE
In-CircuitEmulator.Seeemulator.
在线仿真器。查阅仿真器。
I/O(输入/输出)
Input/Output.Theinterfacebetweenaprocessorandtheworldaroundit.Thesimplestexamplesareswitches(inputs)andLEDs(outputs).
输入/输出。处理器与外界的交互界面。最简单的例子是开关(输入)和发光二级管(输出)。
I/Odevice(IO设备)
Apieceofhardwarethatinterfacesbetweentheprocessorandtheoutsideworld.CommonexamplesareswitchesandLEDs,serialports,andnetworkcontrollers.
一种介于处理器和外界之间的硬件设备。一般的实例是开关、LED、串口和网络控制器。
I/Omap(I/O映射)
AtableordiagramcontainingthenameandaddressrangeofeachperipheraladdressablebytheprocessorwithintheI/Ospace.I/Omapsareahelpfulaidingettingtoknowthetarget.
一张包含每个外设的名字和地址的表格或图表,可由处理器在I/O空间中设定地址。I/O映射对得知目标机情况非常有利。
I/Ospace(I/O空间)
AspecialmemoryregionprovidedbysomeprocessorsandgenerallyreservedfortheattachmentofI/Odevices.MemorylocationsandregisterswithinanI/Ospacecanbeaccessedonlyviaspecialinstructions.Forexample,processorsinthe80x86familyhavespecialI/Ospaceinstructionscalledinandout.Contrastwithmemoryspace.
一个由处理器提供的特殊内存区域,一般为为I/O设备的附件保留。在I/O空间的内存位置和寄存器只能通过特殊的指定进行访问。例如:80X86家族的处理器有叫做in/out的特殊的I/O空间指令。相对内存空间而言。
ISR(中断服务程序)
Seeinterruptserviceroutine.
instructionpointer(指令指针)
Aregisterintheprocessorthatcontainstheaddressofthenextinstructio
ntobeexecuted.Alsoknownasaprogramcounter.
包含下一条要执行指令地址的处理器中的寄存器。也叫程序计数器。
Interrupt(中断)
Anasynchronouselectricalsignalfromaperipheraltotheprocessor.Whentheperipheralassertsthissignal,wesaythataninterruptoccurs.Whenaninterruptoccurs,thecurrentstateoftheprocessorissavedandaninterruptserviceroutineisexecuted.Whentheinterruptserviceroutineexits,controloftheprocessorisreturnedtowhateverpartofthesoftwarewaspreviouslyrunning.
一个从外设到处理器的异步电信号。当外设发出这个信号,我们说一个中断发生。当一个中断发生,当前的处理器状态被保存并且中断服务程序开始运行。当中断服务程序退出,对处理器的控制权转到先前运行的那个软件上。
interruptlatency(中断延迟)
Theamountoftimebetweentheassertionofaninterruptandthestartofth
eassociatedinterruptserviceroutine.
在中断发生和相关的中断服务程序运行之间的时间长短。
interruptserviceroutine(中断服务程序)
Apieceofsoftwareexecutedinresponsetoaparticularinterrupt.
响应特定中断而运行的一小段软件。
interrupttype(中断类型)
Auniquenumberassociatedwitheachinterrupt.
和每一个中断相关联的唯一数字。
interruptvector(中断向量)
Theaddressofaninterruptserviceroutine.
中断服务程序所在的地址。
interruptvectortable(中断向量表)
Atablecontaininginterruptvectorsandindexedbyinterrupttype.Thistablecontainstheprocessor smappingbetweeninterruptsandinterruptserviceroutinesandmustbeinitializedbytheprogrammer.
一个表格,包含由中断类型决定的中断向量和索引。这个表格包含中断与中断服务程序
之间的处理器的映射,必须由程序员进行初始化。
intertaskcommunication(进程间通讯)
Amechanismusedbytasksandinterruptserviceroutinestoshareinformationandsynchronizetheiraccesstosharedresources.Themostcommonbuildingblocksofintertaskcommunicationaresemaphoresandmutexes.
一种被用来在任务和中断服务程序之间共享信息和同步它们对共享资源访问的机制。大部分进程间通讯的建立的基石是信号灯和互斥。
Kernel(内核)
Anessentialpartofanymultitaskingoperatingsystem,thekernelcontains
justtheschedulerandcontext-switchroutine.
任何多任务操作系统的本质部分,内核仅仅包含调度程序和上下文切换进程。
Linker(连接程序)
Asoftwaredevelopmenttoolthatacceptsoneormoreobjectfilesasinputandoutputsarelocatableprogram.Thelinkeristhusrunafterallofthesourcefileshavebeencompiledorassembled.
一种能把一个或更多目标文件组合成可输入和输出的可重定位程序的开发工具。连接程
序在所有的源文件都被编译或汇编之后运行。
Locator(定位程序)
Asoftwaredevelopmenttoolthatassignsphysicaladdressestotheelocatableprogramproducedbythelinker.Thisisthelaststepinthepreparationofsoftwareforexecutionbyanembeddedsystemandtheresultingfileiscalledanexecutable.Insomecases,thelocator sfunctionmaybehiddenwithinthelinker.
一种分配物理地址给连接程序处理过的可重定位程序的软件开发工具。这是准备一个软件在嵌入式系统中运行的最后一步,并且结果文件叫做可执行的。在一些情况下,定位程序功能隐藏在连接程序中。
logicanalyzer(逻辑分析仪)
Ahardwaredebuggingtoolthatcanbeusedtocapturethelogiclevels(0or
1)ofdozens,orevenhundreds,ofelectricalsignalsinreal-time.Logicanalyzerscanbequitehelpfulfordebugginghardwareproblemsandcomplexprocessor-peripheralinteractions.
一种硬件调试工具,能捕获实时电信号的许多逻辑电平(0或1),逻辑分析仪在调试硬件问题和复杂的处理外设交互时相当有用。
memorymap(内存映射)
Atableordiagramcontainingthenameandaddressrangeofeachperipheraladdressablebytheprocessorwithinthememoryspace.Memorymapsareahelpfulaidingettingtoknowthetarget.
一个在内存空间中的,包含每个外设的名字和可由处理器设置的地址范围的表格或图表。内存映射有助于了解目标机情况。
memory-mappedI/O(内存映射I/O)
AnincreasinglycommonhardwaredesignmethodologyinwhichI/OdevicesareplacedintothememoryspaceratherthantheI/Ospace.Fromtheprocessor spointofview,memory-mappedI/Odeviceslookverymuchlikememorydevices.
一种日益流行的硬件设计方法,在这种方法中,I/O设备被放置在内存空间而不是I/O空间。从处理器的观点看,内存映射I/O设备看上去很象内存一样。
memoryspace(内存空间)
Aprocessor sstandardaddressspace.ContrastwithI/Ospace.
一个处理器的标准地址空间。相对I/O空间。
Microcontroller(微控制器)
Amicrocontrollerisverysimilartoamicroprocessor.ThemaindifferenceisthatamicrocontrollerisdesignedspecificallyforuseinembeddedsystemsMicrocontrollerstypicallyincludeaCPU,memory(asmallamountofRAMand/orROM),andotherperipheralsonthesamechip.Commonexamplesarethe8051,Intel s80196,andMotorola s68HCxxseries.
微控制器很像微处理器。主要的差别在于微控制器被特殊设计用在嵌入式系统中。微控制器典型地包括CPU、内存(很小的RAM或ROM),还有其他的外设,它们在同一块芯片上。常见的例子是:8051、Intel80196、Motorola68HCxx系列。
Microprocessor(微处理器)
Apieceofsiliconcontainingageneral-purposeCPU.ThemostcommonexamplesareIntel s80x86andMotorola s680x0families.
一片包含通用CPU的硅片。常见的例子是:Intel80x86、Motorola680x0系列。
Monitor(监视器)
Inthecontextofthisbook,adebugmonitor.However,thereisasecondmeaningforthiswordthatisassociatedwithintertaskcommunication.Inthatcontext,amonitorisalanguage-levelsynchronizationfeature.
在这本书的上下文中,是指调试监视器。然而,第二个意思与任务间通讯相关联。在那个上下文中,监视器是高级同步机制的特性。
Multiprocessing(多处理)
Theuseofmorethanoneprocessorinasinglecomputersystem.So-called multiprocessorsystems usuallyhaveacommonmemoryspacethroughwhichtheprocessorscancommunicateandsharedata.Inaddition,somemultiprocessorsystemssupportparallelprocessing.
在单个的计算机系统中有多个处理器。被叫作“多处理器系统”的一般有公用的内存空间,处理器通过它们进行通讯和共享数据。另外,一些多处理器系统支持并行处理。
Multitasking(多任务)
Theexecutionofmultiplesoftwareroutinesinpseudo-parallel.Eachroutine
representsaseparate threadofexecution andisreferredtoasatask.Theoperatingsystemisresponsibleforsimulatingparallelismbyparcelingouttheprocessor stime.
伪并行运行的多个软件程序。每一个程序表现得像分开的“执行的线程”并且被看作是一个任务。操作系统通过分配处理器时间来模拟并行方式。
Mutex(互斥)
Adatastructureformutualexclusion,alsoknownasabinarysemaphore.Amutexisbasicallyjustamultitasking-awarebinaryflagthatcanbeusedto
synchronizetheactivitiesofmultipletasks.Assuch,itcanbeusedtoprotectcriticalsectionsofthecodefrominterruptionandsharedresourcesfromsimultaneoususe.
表现互斥现象的数据结构,也被当作二元信号灯。一个互斥基本上是一个多任务敏感的二元信号,它能用作同步多任务的行为,它常用作保护从中断来的临界段代码并且在共享同步使用的资源。
mutualexclusion(互斥现象)
Aguaranteeofexclusiveaccesstoasharedresource.Inembeddedsystems,thesharedresourceistypicallyablockofmemory,aglobalvariable,orasetofregisters.Mutualexclusioncanbeachievedwiththeuseofasemaphoreormutex.
唯一访问共享资源的保证。在嵌入式系统中,共享的资源典型的有内存块或寄存器组。互斥现象能由使用信号灯或互斥完成。
NVRAM
Non-VolatileRandom-AccessMemory.AtypeofRAMthatretainsitsdataevenwhenthesystemispowereddown.NVRAMfrequentlyconsistsofanSRAMandalong-lifebattery.
非易失的随机访问存储器。一种能在系统关机的情况下保持它的数据的RAM。NVRAM常常由SRAM和长寿命电池组成。
OTP
Seeone-timeprogrammable.
objectcode(目标代码)
Asetofprocessor-readableopcodesanddata.Theoutputofcompilers,assemblers,linkers,andlocatorsarefilescontainingobjectcode.
处理器能读的操作码和数据。编译器、汇编器、连接器和定位器的输出文件都含有目标代码。
objectfile(目标文件)
Afilecontainingobjectcode.Theoutputofacompilerorassembler.
包含目标代码的文件。编译器或汇编器的输出。
one-timeprogrammable(一次可编程的)
Anyprogrammabledevice,likeaPROM,thatcanbeprogrammedjustoncebyth
eenduser.However,thistermisusedalmostexclusivelytorefertomicrocontrollerswithon-chipPROM.
任一可编程的设备,像PROM,仅仅能被最终用户编程一次。然而,这个术语一般被专有地使用在拥有片上PROM的微控制器上。
opcode
Asequenceofbitsthatisrecognizedbytheprocessorasoneoftheinstruc
tionsinitsinstructionset.
一串被处理器验证过的二进制位的序列,它作为其指令集的一个子集。
operatingsystem(操作系统)
Apieceofsoftwarethatmakesmultitaskingpossible.Anoperatingsystemty
picallyconsistsofasetoffunctioncalls,orsoftwareinterrupts,andaperiodicclocktick.Theoperatingsystemisresponsiblefordecidingwhichtaskshouldbeusingtheprocessoratagiventimeandforcontrollingaccesstosharedresources.
使多任务能够实现的一个软件。一个操作系统典型地由一个函数调用集、软件中断和定期时钟周期组成。一个操作系统负责决定哪一个任务在给定的时间将使用处理器,并且控制对共享资源的访问。
Oscilloscope(示波器)
Ahardwaredebuggingtoolthatallowsyoutoviewthevoltageononeormoreelectricallines.Forexample,youmightuseanoscilloscopetodetermineifaparticularinterruptiscurrentlyasserted.
一种硬件调试工具,它让你能观察到一个或更多电路上的电压。例如:如果一个特殊的中断发生,你可以用一个示波器去检测它。
PROM(可编程只读存储器)
ProgrammableRead-OnlyMemory.AtypeofROMthatcanbewritten(programmed)withadeviceprogrammer.Thesememorydevicescanbeprogrammedonlyonce,sotheyaresometimesreferredtoaswrite-onceorone-timeprogrammabledevices.
可编程只读存储器。能被设备编程器写的一种ROM。这种内存设备可以被编程一次,所以它们有时被作为写一次或一次性编程设备来看待。
parallelprocessing(并行进程)
Theabilitytoapplytwoormoreprocessorstoasinglecomputation.
一种在单个计算机上运行两个或多个程序的能力。
Peripheral(外设)
Apieceofhardwareotherthantheprocessor,usuallymemoryoranI/Odevice.Theperipheralmayresidewithinthesamechipastheprocessor,inwhichcaseitiscalledaninternalperipheral.
一种不同于处理器的硬件设备,常指内存或I/O设备。外设经常和处理器在一片芯片上,在这种情况下,它被称为集成外设。
physicaladdress(物理地址)
Theactualaddressthatisplacedontheaddressbuswhenaccessingamemorylocationorregister.
当访问内存位置或寄存器时,在地址总线上的真实的地址。
Preemptive(抢先)
Aschedulerissaidtobepreemptiveifitallowstherunningtasktobesus
pendedwhenahigher-prioritytaskbecomesready.Non-preemptiveschedulersareeasiertoimplementbutlessappropriateforembeddedsystems.
当一个高优先级的任务准备好时,充许正在运行的任务被挂起的调度策略被称为优先。无优先的调度策略更容易实现一些但适合在嵌入式系统中使用。
Polling(轮询)
Amethodofinterfacingwithhardwarethatinvolvesrepeatedlyreadingastatusregisteruntilthedevicehasreachedtheawaitedstate.Devicedriversareeitherpollingorinterrupt-driven,withthelatterbeingmoregenerallypreferred.
一种硬件交互方法,不断读状态寄存器,直到设备进入等待状态。设备驱动程序不是轮询的就是中断驱动的,后一种越来越成为首选的。
Priority(优先)
Therelativeimportanceofonetaskcomparedtoanother.
一个任务与其他任务相比的重要关系。
priorityinversion(优先转置)
Anunwantedsoftwaresituationinwhichahigh-prioritytaskisdelayedwhilewaitingforaccesstoasharedresourcethatisnotevenbeingusedatthetime.Forallpracticalpurposes,thepriorityofthistaskhasbeenloweredduringthedelayperiod.
一种不希望发生的软件状态,在此状态一个高优先级任务因为等待访问一个那时不再使用的共享资源而被延迟。在所有的实践目标中,这个任务的优先级在延迟周期内都被降低。
Process(进程)
Awordthatisoftenconfusedwithtaskorthread.Thecrucialdistinctionisthatallofthetasksinasystemshareacommonmemoryspace.Processes,ontheotherhand,alwayshavetheirownprivatememoryspace.Processesarecommoninmulti-usersystemsbutarerarely,ifever,foundinembeddedsystems.
这个名词经常与任务或线程混淆。至关重要的差别在于系统中的所有任务共享公共的内存空间。进程,另一方面,常常有它们自己的私有内存空间。进程在多用户系统中,但少有地,如有可能,也可在嵌入式系统中。
Processor(处理器)
Agenerictermthatdoesnotdistinctionbetweenmicroprocessor,microcontroller,anddigitalsignalprocessor.
一个对于微处理器、微控制器他数字信号处器无差别的通用术语。
processorfamily(处理器族)
Asetofrelatedprocessors,usuallysuccessivegenerationsfromthesamemanufacturer.Forexample,Intel s80x86familybeganwiththe8086andnowin
cludesthe80186,286,386,486,Pentium,andmanyothers.Thelatermodels
inafamilyaretypicallybackwards-compatiblewiththeonesthatcamebefore.
一个相关的处理器集,常常连续地从一个生产商产生。例如:Intel s80x86族开始从8086开始,现在有80186,286,386,486,Pentium及其他。在一个族中,稍后的产品典型地向后兼容在它以前生产的产品。
processor-independent(处理器无关)
Apieceofsoftwarethatisindependentoftheprocessoronwhichitwillbe
run.Mostprogramsthatcanbewritteninahigh-levellanguageareprocessor-independent.Contrastwithprocessor-specific.
一个与处理器无关的,并能在其上运行的软件。大多数用高级语言编写程序是处理器无关的。相对于处理器定制。
processor-specific(处理器定制)
Apieceofsoftwarethatishighlydependentontheprocessoronwhichitwillberun.Suchcodemustusuallybewritteninassemblylanguage.Contrastwithprocessor-independent.
一个高度依赖处理器的软件,在上其才能运行。一些代码必须用汇编语言编写。相对于处理器无关。
本文链接: http://aromor.immuno-online.com/view-763247.html