狐假虎威告诉我们什么道理| 胸前有痣代表什么意思| inshop女装中文叫什么| 什么叫早搏| 什么辣椒香而不辣| 胃病四联疗法是什么药| 老婆的妹妹叫什么| 天蝎座的幸运色是什么| 梦到迁坟是什么意思| 间谍是什么意思| 上车饺子下车面什么意思| 风声鹤唳什么意思| 被蚂蚁咬了怎么止痒消肿要擦什么药| 企鹅是什么意思| 无犯罪证明需要什么材料| 痛风吃什么食物好| 一个口一个者念什么| ltp什么意思| 忽必烈姓什么| rad是什么单位| 梦见诈尸预示什么| 1889年属什么生肖| 小拇指和无名指发麻是什么原因| 机位是什么意思| 己亥是什么意思| 纪检是干什么的| 排浊是什么意思| 睡觉出汗是什么原因男性| 焗油和染发有什么区别| 大脑供血不足是什么原因引起的| 阳春三月指什么生肖| asuka是什么意思| 什么叫中成药| 老抽和生抽有什么区别| 9月21号是什么日子| 窦性心律过速是什么意思| 天麻有什么功效| 什么人会得胆囊炎| 社保是什么| kms是什么意思| 女孩子学什么专业| 米糊是什么| 胆红素升高是什么原因| 奶霜是什么| 检查肺部最好做什么检查| b是什么单位| 玫瑰茄是什么东西| 腰肌劳损用什么药| 折煞是什么意思| 脑内散在缺血灶是什么意思| 反胃是什么意思| 电瓶车什么牌子好| 子宫肌瘤什么症状| 嘛呢是什么意思| 肩周炎挂什么科| 晚上9点到11点是什么时辰| 髋关节在什么位置| 五险一金和社保有什么区别| 伤口不结痂是什么原因| 清谷天指的是什么| 开水烫了用什么紧急处理| 小肚子胀痛什么原因| 父亲节要送什么礼物好| 大理寺是什么机构| 胸骨突出是什么原因| 狗狗拉虫子又细又长吃什么药| 阴历六月十九是什么日子| 老虎吃什么食物| 赘是什么意思| 近视什么意思| 代谢慢是什么原因引起的| 手臂痛什么原因| 龙潭虎穴是什么生肖| 绾色是什么颜色| 眼睛突然出血是什么原因导致| 洗衣机不出水是什么原因| 病历是什么| 什么实实| 为什么屁多是什么原因| 画像是什么意思| 脑供血不足食补吃什么| 两极分化是什么意思| 手指缝溃烂擦什么药膏| 日照有什么特产| 2020是什么年| 喝酒打嗝是什么原因| 吃什么最容易消化| 什么什么满门| 郑州有什么好玩的| 三叶香是什么菜| 贵人相助是什么意思| 慰安妇什么意思| 男性漏尿是什么原因| 吃了安宫牛黄丸要禁忌什么不能吃| 被和谐了是什么意思| 女人梦见蛇缠身是什么预兆| 当归有什么作用和功效| 儿童吃什么| 廊坊有什么好玩的地方| 鹿晗的原名叫什么| 2是什么生肖| 狗肉和什么食物相克| 姜水什么时候喝最好| 咖啡加奶有什么坏处和好处| 甚好是什么意思| 行尸走肉什么意思| 为什么卧室要用木地板| 痛风什么药止痛最快| 为什么白天尿少晚上尿多| 保姆代表什么生肖| 锐字五行属什么| police是什么品牌| 西布曲明是什么| 墙头草是什么意思| 雷什么风什么成语| 阴虱用什么药治疗| 肌酐高了会出现什么问题| 肠胃消化不好吃什么食物| 胎盘做成胶囊吃有什么好处| 白细胞低要吃什么| 3.5是什么星座| 你为什么背着我爱别人| 什么东西越洗越脏| 1959年属什么| 七月七日是什么生肖| 老人大便失禁是什么原因| sephora是什么牌子| 女攻男受是什么意思| 紫罗兰色是什么颜色| 水痘不能吃什么食物| 康复是什么意思| 桂子是什么意思| 跌打损伤用什么药好得快| aoa是什么意思| 小苏打可以用什么代替| 气虚吃什么补最快| 发膜什么牌子效果最好| 肺纤维化是什么意思| 征候是什么意思| xswl是什么意思| 1967属什么生肖| 送父亲什么礼物好| 脚腕酸是什么原因| 黄芪和枸杞泡水喝有什么作用| 杨的右边念什么| 月经量少是什么原因啊| 八月节是什么节| 咖啡伴侣是什么| 梦见打老婆是什么预兆| 颅脑平扫是检查什么| 屁股痛是什么原因| 4月14日是什么星座| 条件反射是什么意思| 为什么会突然头晕| 新生儿眼屎多是什么原因| 三魂七魄是什么| 梦见租房子住是什么意思| 血糖低是什么原因| 一岁宝宝口臭是什么原因引起的| 什么茶属于绿茶| 阿里巴巴是干什么的| 什么是红曲米| 心存善念是什么意思| 来月经有异味什么原因| 汗斑是什么样的图片| 蜂王浆有什么好处| 求购是什么意思| 贵州菜属于什么菜系| 考军校要什么条件| 即使什么也什么造句| 耳朵尖的人什么命| 女性尿道炎挂什么科| 黑头是什么| 鳕鱼是什么鱼| 宫颈肥大有什么症状| 团粉是什么| 肺气肿用什么药| 为什么不能在床上打坐| 肌肉的作用是什么| 封建思想是什么意思| 神夫草抑菌乳膏主治什么| 脖子长痘痘是什么原因| 人潮汹涌是什么意思| 后入什么意思| 劳动的反义词是什么| 魅力是什么意思| 为什么会得卵巢肿瘤| 吃什么降尿酸最有效食物| 借力是什么意思| 麻雀吃什么| 年金是什么意思| 闪点什么意思| 1974年是什么命| 888红包代表什么意思| 裸婚是什么意思| 什么人容易得骨髓瘤| 狗是什么偏旁| 洛神花有什么功效| 宫外孕是什么意思| 吃秋葵有什么好处| 蚊子喜欢什么气味| 每天喝豆浆有什么好处| 内眼角越揉越痒用什么眼药水| crp是什么检查| 为什么射精是流出来的| 银子发黄是什么原因| 十的偏旁有什么字| 红细胞计数偏高是什么意思| 做全身检查挂什么科| 什么是纯净水| 莒姬是什么位分| 什么样属于轻度地包天| 若叶青汁有什么功效| 晚上兼职可以做什么| 抗原体阳性是什么意思| 肝囊性灶是什么意思| 流鼻血吃什么药| 梦见和妈妈吵架是什么意思| 地支是什么意思| 黄疸是什么样子的图片| 疼痛科主要看什么病| 考警校需要什么条件| 1987年属什么今年多大| 2039年是什么年| 包皮炎挂什么科| 胸闷是什么原因| 尿液白细胞高是什么原因| 放化疗是什么意思| 来例假吃什么食物好| 跟腱炎贴什么膏药最好| 一箭双雕是什么生肖| 熬夜流鼻血是什么原因| 看淡一切对什么都没兴趣| 脾虚不能吃什么| cdp是什么| 处女女和什么星座最配| 女性性冷淡是什么原因| 心代表什么生肖| 桂林有什么好玩的景点| 压抑什么意思| b超是什么| 己未日五行属什么| 珎是什么意思| 梦见亲人哭是什么征兆| 萎缩性胃炎吃什么药| em什么意思| 海带是什么植物| 盐酸吗啉胍片是什么药| 棍子鱼又叫什么鱼| 冰冻三尺非一日之寒是什么意思| 子宫长什么样子图片| 蜜蜡是什么材料| 蝈蝈是什么动物| 太岁是什么| 博士在古代是什么意思| 左肾积水有什么症状| 看见蛇过马路什么征兆| 1901年是什么年| 俞伯牙摔琴谢知音摔的是什么乐器| 什么是指标到校| 为什么北京是首都| 药物过敏用什么药| 前列腺钙化有什么症状| 什么叫二婚线| 百度Jump to content

人民日报海外版记者:倾听好声音 见证大历史

From Wikipedia, the free encyclopedia
百度 它还是英国国葬陵墓,除王室成员外,很多名人包括牛顿、丘吉尔等也葬于此。

In-circuit emulation (ICE) is the use of a hardware device or in-circuit emulator used to debug the software of an embedded system. It operates by using a processor with the additional ability to support debugging operations, as well as to carry out the main function of the system. Particularly for older systems, with limited processors, this usually involved replacing the processor temporarily with a hardware emulator: a more powerful although more expensive version. It was historically in the form of bond-out processor which has many internal signals brought out for the purpose of debugging. These signals provide information about the state of the processor.

More recently the term also covers JTAG-based hardware debuggers which provide equivalent access using on-chip debugging hardware with standard production chips. Using standard chips instead of custom bond-out versions makes the technology ubiquitous and low cost, and eliminates most differences between the development and runtime environments. In this common case, the in-circuit emulator term is a misnomer, sometimes confusingly so, because emulation is no longer involved.

Embedded systems present special problems for programmers because they usually lack keyboards, monitors, disk drives and other user interfaces that are present on computers. These shortcomings make in-circuit software debugging tools essential for many common development tasks.

Function

[edit]

An in-circuit emulator (ICE) provides a window into the embedded system. The programmer uses the emulator to load programs into the embedded system, run them, step through them slowly, and view and change data used by the system's software.

An emulator gets its name because it emulates (imitates) the central processing unit (CPU) of the embedded system's computer. Traditionally it had a plug that inserts into the socket where the CPU integrated circuit chip would normally be placed. Most modern systems use the target system's CPU directly, with special JTAG-based debug access. Emulating the processor, or direct JTAG access to it, lets the ICE do anything that the processor can do, but under the control of a software developer.

ICEs attach a computer terminal or personal computer (PC) to the embedded system. The terminal or PC provides an interactive user interface for the programmer to investigate and control the embedded system. For example, it is routine to have a source code level debugger with a graphical windowing interface that communicates through a JTAG adapter (emulator) to an embedded target system which has no graphical user interface.

Notably, when their program fails, most embedded systems simply become bricked. Embedded systems often lack basic functions to detect signs of software failure, such as a memory management unit (MMU) to catch memory access errors. Without an ICE, the development of embedded systems can be extremely difficult, because there is usually no way to tell what went wrong. With an ICE, the programmer can usually test pieces of code, then isolate the fault to a particular section of code, and then inspect the failing code and rewrite it to solve the problem.

In usage, an ICE provides the programmer with execution breakpoints, memory display and monitoring, and input/output control. Beyond this, the ICE can be programmed to look for any range of matching criteria to pause at, in an attempt to identify the origin of a failure.

Most modern microcontrollers use resources provided on the manufactured version of the microcontroller for device programming, emulating, and debugging features, instead of needing another special emulation-version (that is, bond-out) of the target microcontroller.[1] Even though it is a cost-effective method, since the ICE unit only manages the emulation instead of actually emulating the target microcontroller, trade-offs must be made to keep prices low at manufacture time, yet provide enough emulation features for the (relatively few) emulation applications.

Advantages

[edit]

Virtually all embedded systems have a hardware element and a software element, which are separate but tightly interdependent. The ICE allows the software element to be run and tested on the hardware on which it is to run, but still allows programmer conveniences to help isolate faulty code, such as source-level debugging (which shows a program as it was originally written) and single-stepping (which lets programmers run programs step-by-step to find errors).

Most ICEs consist of an adaptor unit that sits between the ICE host computer and the system to be tested. A pin header and cable assembly connects the adaptor to a socket where the actual central processing unit (CPU) or microcontroller mounts within the embedded system. Recent ICEs enable programmers to access the on-chip debug circuit that is integrated into the CPU via JTAG or background debug mode interface (BDM) to debug the software of an embedded system. These systems often use a standard version of the CPU chip, and can simply attach to a debug port on a production system. They are sometimes called in-circuit debuggers or ICDs, to distinguish the fact that they do not replicate the functionality of the CPU, but instead control an already existing, standard CPU. Since the CPU need not be replaced, they can operate on production units where the CPU is soldered in and cannot be replaced. On x86 Pentiums, a special 'probe mode' is used by ICEs to aid in debugging.[2]

In the context of embedded systems, the ICE is not emulating hardware. Rather, it is providing direct debug access to the actual CPU. The system under test is under full control, allowing the developer to load, debug and test code directly.

Most host systems are ordinary commercial computers unrelated to the CPU used for development. For example, a Linux PC might be used to develop software for a system using a Freescale 68HC11 chip, a processor that cannot run Linux.

The programmer usually edits and compiles the embedded system's code on the host system, as well. The host system will have special compilers that produce executable code for the embedded system, termed cross compilers or cross assemblers.

On-chip debugging

[edit]

On-chip debugging is an alternative to in-circuit emulation. It uses a different approach to address a similar goal.

On-chip debugging, often loosely termed as Joint Test Action Group (JTAG), uses the provision of an additional debugging interface to the live hardware, in the production system. It provides the same features as in-circuit debugging, such as inspection of internal state or variables and may have the ability to set checkpoints, breakpoints and watchpoints. The difference is that this is provided by additional silicon within the production processor, rather than swapping the processor for an off-board debugging emulator. For this reason, some of the functions of the ICE is changed by the specifications of the processor. An additional JTAG interface is added to the controller board, and this is required on every production system, but as this only requires a few signal pins the extra cost is minimal. JTAG interfaces were originally developed for, and are still useful for, end of production testing.

Intel

[edit]

To support in-circuit emulator (ICE) debugging on Intel 286, five additional pins were available on the processor: one input pin to externally force an ICE breakpoint, (ICEBP#) and two alternative pairs of output pins to select operations via the ICE-bus instead of user memory.[3] On the 80286 two instructions (0F 04, 0F 05) exist to dump/restore the complete CPU state to memory offset 0x800, along with a single-byte override prefix (F1) to enable ICE-mode to access user-memory.

See also

[edit]

References

[edit]
  1. ^ Keil, Reinhard (July 22, 2008). "Debugging with Cortex-M3 Microcontrollers". www.embedded.com. Retrieved May 25, 2013.
  2. ^ "Overview of Pentium Probe Mode".
  3. ^ US patent 4547849, Louie, Glenn; Retter, Rafi & Shaanan, Neve et al., "Interface between a Microprocessor and a Coprocessor", issued October 15, 1985, assigned to Intel Corporation  "User bus cycle status signals, S1# and S0# support the user's bus and ICE bus cycle status signals, ICES1# and ICES0# support the ICE bus. … The ICE bus is used only for Data Read, Code Read, Halt, Shutdown, and Memory Write cycles. … microprocessor is forced to compatible mode at reset, … it cannot be switched back to compatible mode except by reset (or ICE breakpoint), … ICE must be given special attention since it is the only case in which a switch of the master microprocessor from protection mode to compatibility mode can occur (except for reset). … ICE software begins execution following an ICE breakpoint in compatibility mode and then switches to protection mode for the bulk of its operations."
[edit]
睡觉头晕是什么原因引起的 取什么补什么 牛奶洗脸有什么好处 咳嗽看什么科 吃生南瓜子有什么好处
丘疹性荨麻疹吃什么药 结膜囊在眼睛什么位置 肚子一按就痛什么原因 黄褐斑内调吃什么中药 镇关西是什么意思
酒酿是什么 死板是什么意思 胃镜预约挂什么科 脑垂体挂什么科 白粉是什么
adivon是什么牌子 精神出轨什么意思 蚂蚁搬家是什么意思 看病人送什么水果 tv是什么意思
男人耳朵大代表什么hcv9jop1ns7r.cn 咳嗽咳白痰是什么症状hcv9jop2ns6r.cn pu什么意思yanzhenzixun.com 动脉硬化吃什么药最好hcv7jop9ns5r.cn 骨加客念什么hcv7jop6ns3r.cn
孕早期胎停有什么症状或征兆吗hcv9jop2ns7r.cn 33年属什么生肖helloaicloud.com 生津止渴是什么意思hcv8jop7ns5r.cn 事业有成是什么意思baiqunet.com 什么是毒品hcv8jop8ns4r.cn
剧透什么意思hcv9jop4ns7r.cn 立春吃什么食物aiwuzhiyu.com 女排精神是什么hcv9jop0ns8r.cn 着床成功后有什么症状或感觉hcv9jop4ns3r.cn 坐骨神经痛吃什么药快hcv9jop7ns5r.cn
黑怕是什么意思hcv7jop5ns3r.cn 手热脚热是什么原因hcv9jop6ns0r.cn FAN英语什么意思xjhesheng.com 五月十七号是什么星座hcv8jop4ns9r.cn 一饿就心慌是什么原因引起的hcv8jop0ns7r.cn
百度