版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、瑞薩工具培訓(xùn) 2013CubeSuite+ V.1.03.002013. RESG Ptd.,s.練習(xí) 3:E1 仿真器 -應(yīng)用說明E1 Emulator簡介On-chip 調(diào)試器 (OCD),即 E1 仿真器支持兩 (2) 種基本的斷點:用于調(diào)試的斷點和硬件斷點。斷點通過地址匹配暫停代碼執(zhí)行,而硬件斷點則通過條件匹配(即數(shù)據(jù)和地址、讀/寫存取等)暫停代碼執(zhí)行。CubeSuite+ IDE 支持組合斷點,即允許將多個斷點事件組合在一起進行設(shè)置。此應(yīng)用說明介紹了如何在配備RX610 RSK MCU 板的 E1 仿真器中使用組合斷點。CubeSuite+ IDE V1.02.01 和更高版本目標器
2、件RL78,RX 族系列目錄1.組合斷點概覽22.設(shè)置 E1 仿真器中的事件組合條件33.執(zhí)行組合斷點74.結(jié)論8R20AN0205CS0100 Rev.1.00Sep 15, 2012第 1 頁,共 9 頁E1 Emulator1.組合斷點概覽組合斷點是指在 E1 仿真器中將多個斷點事件(即執(zhí)行類事件斷點和存取類事件斷點)組合在一起進行設(shè)置,合條件(即 OR(或)、AND(與)、Sequential(順序)時暫停程序。以便在表 1 組合斷點條件最多可以為組合斷點設(shè)置 8 個事件(從 8 個執(zhí)行地址類事件和 4 個數(shù)據(jù)存取類事件中選擇并組合)。R20AN0205CS0100 Rev.1.00S
3、ep 15, 2012第 2 頁,共 9 頁組合條件說明OR(或)只要滿足任何一個斷點事件條件便會發(fā)生中斷。AND(與)當滿足所有事件條件(不考慮時間軸)時將發(fā)生中斷。Sequential(順序)當按指定順序滿足斷點事件條件時將發(fā)生中斷。合斷點中只有 1 個斷點事件可被為復(fù)位事件(R 事件)。E1 Emulator2.設(shè)置 E1 仿真器中的事件組合條件準備示例工程工作空間的步驟:1. 調(diào)用 CubeSuite+ IDE 并創(chuàng)建示例工程“RX610_Tutorial_Basic_Operation”2. 單擊 Debug(調(diào)試) Build & Download(創(chuàng)建并 MCU 板。),以便將
4、E1 仿真器連接到 RX610 RSK此示例工程演示了 LED2(由端口 36 控制)和 LED3(由端口 33 控制)之間的 LED 閃爍。下面介紹了配置斷點事件(條件為函數(shù) Cmt0Func() 中的“count1”等于 0 x10)的步驟。3.將鼠標光標放到代碼行“count1+”(地址:0 xF856B,行號:34)。右鍵單擊以選擇 Break Settings(斷點設(shè)置) Set Combination Break(設(shè)置組合斷點)圖 1 設(shè)置組合斷點R20AN0205CS0100 Rev.1.00Sep 15, 2012第 3 頁,共 9 頁E1 Emulator圖 2 顯示第 34
5、 行設(shè)置了組合斷點。圖 2 組合斷點4.單擊 View(視圖) Event(事件)以調(diào)用 Events(事件)面板,然后右鍵單擊 Edit Condition.(編輯條件.)圖 3 編輯組合斷點條件R20AN0205CS0100 Rev.1.00Sep 15, 2012第 4 頁,共 9 頁E1 Emulator5.將“Combination”(組合)設(shè)置為“Sequential”(順序)(默認為“OR”(或),然后單擊 OK(確定)按鈕繼續(xù)。圖 4 將組合條件設(shè)置為 Sequential(順序)6.在 Watch1(監(jiān)視 1)面板中“count1”(地址:0 x1000)和“count2”(
6、地址:0 x1404)。圖 5 Watch1(監(jiān)視 1)面板中的變量R20AN0205CS0100 Rev.1.00Sep 15, 2012第 5 頁,共 9 頁E1 Emulator7.右鍵單擊 Watch1(監(jiān)視 1)面板中的變量“count1+”以選擇 Ac s Break(存取斷點) Set Write Combination Break to(將寫入組合斷點設(shè)置為),并將值設(shè)為“10”。此操作旨在允許當 “count1”等于 0 xA 時設(shè)置硬件斷點。圖 6 設(shè)置組合斷點條件R20AN0205CS0100 Rev.1.00Sep 15, 2012第 6 頁,共 9 頁E1 Emula
7、tor3.執(zhí)行組合斷點在 CPU 復(fù)位時,“count1”將初始化為“0”。當滿足以下條件時,程序?qū)⒃陧樞蚪M合斷點處暫停count 1(地址:0 x1000)的值變成 0 xA地址 0 xF856B 處出現(xiàn)硬件斷點圖 7 顯示組合斷點的執(zhí)行結(jié)果圖 7 組合斷點的執(zhí)行結(jié)果R20AN0205CS0100 Rev.1.00Sep 15, 2012第 7 頁,共 9 頁E1 Emulator4.結(jié)論組合斷點是一種高級調(diào)試功能,可讓用戶基于某些事件條件暫停程序。只有支持 RX 族系列的 E1 仿真器(或 E20 仿真器)具備該功能。此應(yīng)用說明中介紹的典型用法與基于匹配的數(shù)據(jù)和地址捕捉斷點事件有關(guān)。R20
8、AN0205CS0100 Rev.1.00Sep 15, 2012第 8 頁,共 9 頁E1 Emulator和支持站/瑞薩查詢/inquiry所有商標和商標都是其各自所有者的。R20AN0205CS0100 Rev.1.00Sep 15, 2012第 9 頁,共 9 頁修訂說明修訂版日期頁面摘要1.002012 年 9 月 15 日初版已A-1處理 MPU/MCU 產(chǎn)品時的通用預(yù)防措施以下使用說明適用的所有 MPU/MCU 產(chǎn)品。對于有關(guān)本手冊的產(chǎn)品的詳細使用說明,請查閱本手冊的相關(guān)章節(jié)。如果“處理 MPU/MCU 產(chǎn)品時的通用預(yù)防措施”下的說明和本手冊正文中的說明不相同,則本手冊正文中的說
9、明優(yōu)先。Handling of Unused PinsHandle unused pins in accord with the directions given under Handling of Unused Pinshe manual.The input pins of CMOS products are generallyhe high-impedane. In operation win unused pinhe open-circuit se, extra electromagnetic noise is inducedhe vicinity of LSI, an assoted
10、shoot-through current flowsernally, and malfunctions occur due to the false recognition of thn se as an input signalesible. Unused pins should be handled as described under Handling of Unused Pinshe manual.Prosing ater-onThe se of the product is undefined at the moment whener ipp d.The ses ofernal c
11、ircuitshe LSI are indeterminate and the ses of register settings and pins are undefined at the moment whener ipp d.In a finished product where the reset signal is app d to the external reset pin, the ses of pins are not guaranteed from the moment whener ipp d until the reset pros is completed. In a
12、similar way, the ses of pins in a productt is reset by an on-chiper-on reset function are not guaranteed from the moment whener ipp d until theer reaches the level at which resetting has been specified.Prohibition of Ac s toAddresses Acs toaddresses is prohibited.Theaddresses are provided for thesib
13、le future expanof functions. Do notacs these addresses; the correct operation of LSI is not guaranteed if they are acsed.Clock SignalsAfter applying a reset, only release the reset line after the operating clock signal hase stable. When switching the clock signal during program execution, wait until
14、 theclock signal has stabilized.When the clock signal is generated win external resonator (or from an external oscillator) during a reset, ensuret the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced win external resonator
15、(or by an external oscillator) while program execution is in progress, wait until theclock signal is stable.Differenbetn ProductsBefore changing from one product to another, i.e. toidifferent type number, confirmt the change will not lead to problems.The characteristics of MPU/MCUhe same group buvin
16、g different type numbers may differ because of the differeninernal memory capacity and layout pattern. When changing to products of different type numbers, implement a system-evaluation test for each of the products.SALES OFFIhttpRefer to http/ for the latest and detailed information.Renesas Electro
17、nics America Inc.2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A.:, Fax:Renesas Electronics Canada Limited1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada:, Fax:Renesas Electronics Europe LimitedDukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K:, Fax:Renesas Elect
18、ronics Europe GmbHArcadiastrasse 10, 40472 D dorf, Germany:, Fax:Renesas Electronics (China) Co., .7th Floor, Quantum Plaza, No.27 ZhiC Lu Haidian District, Beijing 100083, P.R.China: +86-10-8235-1155, Fax: +86-10-8235-7679Renesas Electronics (Shanghai) Co.,Unit 204, 205, AZIA Center, No.1233 Lujiaz
19、ui Ring Rd., Pudong District, Shanghai 200120, China: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898Renesas ElectronicsLimitedUnit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok,:, Fax:/9044Renesas ElectronicsCo., .13F, No. 363, Fu Shing North Road, Taipei,: +8
20、86-2-8175-9600, Fax: +886 2-8175-9670Renesas Electronics Singapore Pte. .1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632:, Fax:Renesas Electronics Malaysia Sdn.Bhd.Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Daru
21、l Ehsan, Malaysia: +60-3-7955-9390, Fax: +60-3-7955-9510Renesas Electronics Korea Co., .11F., Samik Lavied or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea: +82-2-558-3737, Fax: +82-2-558-5141 2012 Renesas Electronics Corporation.s.Colophon 1.1NoticeAll information included hisis curre
22、nt as of the date thisis i ed. Such information, however, i bject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information wi Renesas Electronics sales office. Also, please pay regular and careful att
23、ention to additional and different information to be disclosed by Renesas Electronic ch as t disclosed through our website.Renesas Electronics does not a me any liability for infringement of patents, copyrights, or other ellectual property rights of third parties by or arising from the use of Renesa
24、s Electronics products or technical information described hisNo license, express, imp d or otherwise, is granted hereby under any patents, copyrights or other ellectual property rights of Renesas Electronics or others.You should not alter, modify, copy, or otherwise misappropriate any Renesas Electr
25、onics product, whether in whole or in part.Descriptions of circuits, software and other related information hisare provided only to illustrate the operation of semiconductor products and application ex les. You are fully responsible for the incorporation of these circuits, software, and information
26、he design of your equipment. Renesas Electronics a mes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.When exporting the products or technology descr bed hisyou should comply with the applicable export control laws a
27、nd regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described hisfor any pur e relating to military applications or use by the military, including but not limited to the development of weapons of mass destr
28、uction. Renesas Electronics products and technology may not be used for or incorporated o any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations.Renesas Electronics has used reasonable care in preparing the information inclu
29、ded his, but Renesas Electronics does not warrant t such information is error free. Renesas Electronics a mes no liab lity whatsoever for any damages incurred by you resulting from errors in or omis s from the information included herein.Renesas Electronics products are classified according to the f
30、ollowing three quality grades Standard, High Quality, and Specific. Themended applications for each Renesas Electronics product depends on the products quality grade, as indicated below. You must check the qua ity grade of each Renesas Electronics product before using it in a particular application.
31、 You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not ended without the prior written consent of Renesas E
32、lectronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Spec fic or for which the product is not ended where you have failed to obta he prior wr
33、 tten consent of Renesas Electronics. The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc.Standard Computers; office equipment; communications equipment; test and measurement equipment; audio a
34、nd visual equipment; home electronic applian machine tools; al electronic equipment; and industrial robots.High Quality Transpor ion equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems;rime systems; safety equipment; and medical equipment not specifically des
35、igned for life support.SpecificAircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artifi l life support dev or systems), surgical implan ons, or healthcare ervention (e.g. excietc.), and any other applications or
36、 pur ese a direct threat to human l fe.You should use the Renesas Electronics products described hiswith he range specified by Renesas Electronics, espe lly with respect to theum rating, operating supply voltage range, movement er vo tage range, heat radiation characteristics, installation and oth r
37、oduct characteristics. Renesas Electronics sha l have no liability for malfunctions or damages arising out of the use of Renesas Electronics productssuch specified ranges.Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specif
38、ic characteristic ch as the occurrence o lureertain rate and ma functions under certain use conditions. Further, Renesas Electronics products are not subject to radiationdesign. Please be sure to implement safety measures to guard them against thesibility of physical injury, and injury or damage caused by fire he event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and m
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度農(nóng)業(yè)機械租賃收益分成合同
- 二零二五年度臨時雇傭服務(wù)合同規(guī)范文本
- 二零二五版木材加工廢棄物資源化利用合同范本3篇
- 二零二五版通信設(shè)備租賃擔保服務(wù)協(xié)議2篇
- 個人攝影服務(wù)2024年度合同9篇
- 二零二五年度房地產(chǎn)買賣合同標的及相關(guān)定義3篇
- 2025年度采石場礦山生態(tài)環(huán)境恢復(fù)合同范本3篇
- 2025年度智能交通信號燈安裝與維護合同3篇
- 2025版文化產(chǎn)業(yè)項目咨詢與投資合作委托協(xié)議3篇
- 2025年個人與企業(yè)間租車服務(wù)安全保障合同2篇
- 2025年度公務(wù)車輛私人使用管理與責任協(xié)議書3篇
- 售后工程師述職報告
- 綠化養(yǎng)護難點要點分析及技術(shù)措施
- 2024年河北省高考歷史試卷(含答案解析)
- 車位款抵扣工程款合同
- 小學(xué)六年級數(shù)學(xué)奧數(shù)題100題附答案(完整版)
- 高中綜評項目活動設(shè)計范文
- 英漢互譯單詞練習(xí)打印紙
- 2023湖北武漢華中科技大學(xué)招聘實驗技術(shù)人員24人筆試參考題庫(共500題)答案詳解版
- 一氯二氟甲烷安全技術(shù)說明書MSDS
- SWITCH暗黑破壞神3超級金手指修改 版本號:2.7.6.90885
評論
0/150
提交評論