




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、2013 培訓(xùn)CubeSuite+ V.1.03.002013. RESG Ptd.,s.練習(xí) 5a:CubeSuite+ -如何配置用戶定義的啟動文件應(yīng)用說明R20AN0203CS0100Rev.1.00 Sep 15, 2012簡介在 CubeSuite+ IDE 中針對 RL78 和 RX MCU 的工程生成 (PG) 過程中,默認情況下,系統(tǒng)會指定標準啟動例程(以庫的形式)。本應(yīng)用說明介紹了默認啟動例程,以及如何將用戶定義的啟動例程添加到 CubeSuite+ 工作空間中。用于 RL78、78K V1.02.00 或更高版本的 CubeSuite+ 套件用于 RX V1.02.00 或
2、更高版本的 CubeSuite+ 套件目標器件RL78,RX 族系列目錄1.默認啟動例程22.用戶定義的啟動例程43.結(jié)論6R20AN0203CS0100 Rev.1.00Sep 15, 2012第 1 頁,共 7 頁1.默認啟動例程1.2.調(diào)用 CubeSuite+ IDE 并創(chuàng)建示例工程“RL78_G13_Tutorial_Basic_Operation”雙擊 CA78K0R (Build Tool)(CA78K0R(創(chuàng)建工具)打開 CA78K0R Property(CA78K0R 屬性)面板3.查看 Compile Options(編譯選項)選項卡中的默認設(shè)置 Memory M(器模型)
3、Output objects for flash(為閃存輸出目標)= No(否)Startup(啟動)Use standard startup routine(使用標準啟動例程)= Yes(Normal)(是(普通)Using standard routine(使用標準例程)=“S0rll rel”圖 1 CA78K0R 屬性面板(使用標準啟動例程)“S0rll.rel” 是預(yù)編譯目標文件,用于啟動例程。該文件可在以下路徑中找到C:Program FilesRenesas ElectronicsCubeSuite+CA78K0RV1.40Srccc78k0rlib (default insta
4、llation directory)R20AN0203CS0100 Rev.1.00Sep 15, 2012第 2 頁,共 7 頁在相同的“l(fā)ib”文件夾中(取決于所選的目標 RL78 器件),系統(tǒng)會將不同的預(yù)編譯目標文件用于 RL78 啟動例程(如表 1 中所示)。表 1 針對 RL78 啟動例程的 Lib 文件夾內(nèi)容R20AN0203CS0100 Rev.1.00Sep 15, 2012第 3 頁,共 7 頁文件名文件角色普通引導(dǎo)區(qū)閃存區(qū)s0rm.rels0rmb.rels0rme.rel用于啟動例程的目標文件s0rml.rels0rmlb.rels0rmle.rels0rl.rels0r
5、lb.rels0rle.rels0rll.rels0rllb.rels0rlle.rels0r.relm: 小或中模型l: 大模型none: 未使用標準庫l: 使用的是標準庫none: 普通b: 針對引導(dǎo)區(qū)e: 針對閃存區(qū)2.用戶定義的啟動例程1.進行以下設(shè)置Startup(啟動)Use standard startup routine(使用標準啟動例程)=“No”(否)“Using standard routine = S0rll rel”(使用標準例程 = S0rll rel)選項變?yōu)殡[藏。圖 2 CA78K0R 屬性面板(未使用標準啟動例程)2.找到“cstart.asm”并將其添加到
6、CubeSuite+ 工程工作空間。此匯編啟動例程可在以下路徑中找到:C:Program FilesRenesas ElectronicsCubeSuite+CA78K0RV1.40Srccc78k0rsrc(默認安裝目錄)R20AN0203CS0100 Rev.1.00Sep 15, 2012第 4 頁,共 7 頁“src”文件夾中包含針對普通區(qū)、引導(dǎo)區(qū)或閃存區(qū)的不同匯編源文件,均用于 RL78 啟動例程(如表 2 中所示)。表 2 針對 RL78 啟動例程的 Src 文件夾內(nèi)容R20AN0203CS0100 Rev.1.00Sep 15, 2012第 5 頁,共 7 頁啟動例程源文件名解釋
7、使用標準庫未使用標準庫cstart.asmcstartn.asm用于啟動例程的源文件(普通區(qū))cstartb.asmcstartbn.asm用于啟動例程的源文件(引導(dǎo)區(qū))cstarte.asmcstarten.asm用于啟動例程的源文件(閃存區(qū))3.結(jié)論默認情況下,在 CubeSuite+ IDE 中,預(yù)編譯的目標文件會用于 PG 生成的工作空間的啟動例程。要使用用戶定義的啟動例程,需要將編譯器選項“Use standard startup routine”(使用標準啟動例程)配置為“No”(否)并將“cstart.asm”添加到 CubeSuite+ 工程工作空間。R20AN0203CS01
8、00 Rev.1.00Sep 15, 2012第 6 頁,共 7 頁和支持站/瑞薩查詢/contact/所有商標和商標都是其各自所有者的。R20AN0203CS0100 Rev.1.00Sep 15, 2012第 7 頁,共 7 頁修訂說明修訂版日期頁面摘要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ù)防措施”下的說明和本手冊正文中的說明不相同,則本手冊正文中的說明優(yōu)先。Handling of Unus
9、ed 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 shoot-through curren
10、t 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 circuitshe LSI are in
11、determinate 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 similar way, the ses
12、 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 thesible future expanof fu
13、nctions. 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 theclock signal has
14、 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 (or by an external o
15、scillator) 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 buving different type num
16、bers 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.httpSALES OFFIRefer to http/ for the latest and detailed information.Renesas Electronics America Inc.288
17、0 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 Electronics Europe GmbHAr
18、cadiastrasse 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 Lujiazui Ring Rd., Pudon
19、g 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,: +886-2-8175-9600, Fa
20、x: +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 Darul Ehsan, Malaysia:
21、 +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 current as of the date
22、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 attention to addition
23、al and different information to be disclosed by Renesas Electronic ch as disclosed through our website.Renesas Electronics does not a me any liab lity for infringement of patents, copyrights, or other ellectual property rights of third parties by or arising from the use of Renesas Electronics produc
24、ts or technical information described his. No 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 no er, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether
25、 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 he design of your equi
26、pment. 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 described his, you should comply with the applicable export control laws and regulations and f
27、ollow 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 destruction. Renesas Elec
28、tronics 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 included his, but Renesas
29、 Electronics does not warrant such information is error free. Renesas Electronics a mes no liability 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 following three quality
30、 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 t in a particular application. You may not use any Re
31、nesas 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 Electronics. Renesas Ele
32、ctronics 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 Specific or for which the product is not ended where you have failed to obta he prior written consent of Renesa
33、s 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 and visual equipment; ho
34、me 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 designed for life suppor
35、t.Spec ficAircraft; 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. exc , etc.), and any other applications or pur es t e a direc
36、t threat to human life.You should use the Renesas Electronics products described hiswith he range specified by Renesas Electronics, espe ly with respect to theum rating, operating supply voltage range, movement er voltage range, heat radiation characteristics, installation and oth roduct characteris
37、tics. Renesas Electronics shall 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 ts products, semiconductor products have specific characteristic
38、ch as the occurrence o ilureertain rate and malfunctions 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 malfu
溫馨提示
- 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)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 竹淘米、洗菜籮筐企業(yè)數(shù)字化轉(zhuǎn)型與智慧升級戰(zhàn)略研究報告
- 二零二五年度鄉(xiāng)村旅游土地租賃及收益分成合同
- 2025年度車輛租賃行業(yè)政策研究與合作合同
- 二零二五年度房產(chǎn)過戶稅費結(jié)算及協(xié)助協(xié)議
- 二零二五年度新材料研發(fā)與產(chǎn)業(yè)化基地租賃服務(wù)協(xié)議
- 二零二五年度新型環(huán)保涂料購貨與應(yīng)用推廣合同
- 二零二五年度商業(yè)空間裝修工程違約責(zé)任及賠償細則合同
- 2025年度酒水行業(yè)人才培養(yǎng)與交流合同
- 二零二五年度環(huán)保項目保證金協(xié)議模板
- 二零二五年度房地產(chǎn)兼職銷售合作協(xié)議
- “家校合育”手冊
- 食堂安全培訓(xùn)-課件
- 計算機之父-圖靈課件
- 水利工程建設(shè)監(jiān)理人員培訓(xùn)講義課件
- 長短樁樁復(fù)合地基長短樁基技術(shù)
- 長沙市建筑施工安全生產(chǎn)“一會三卡”
- 藥品質(zhì)量管理體系文件目錄
- 直臂式高空作業(yè)車施工方案
- 安徽涵豐科技有限公司年產(chǎn)6000噸磷酸酯阻燃劑DOPO、4800噸磷酸酯阻燃劑DOPO衍生品、12000噸副產(chǎn)品鹽酸、38000噸聚合氯化鋁、20000噸固化劑項目環(huán)境影響報告書
- 大學(xué)生安全教育第一章維護國家安全
- 《職場關(guān)系與溝通技巧》教案第15課上行溝通-與上級之間的溝通
評論
0/150
提交評論