当前位置:网站首页>Renesas ide: CS + for CC download, installation and basic use

Renesas ide: CS + for CC download, installation and basic use

2022-04-23 22:08:00 InfoQ

Because of work needs , Recently, I began to come into contact with Renesas MCU, In the future, it is planned to output some relevant technical contents .
There are three kinds of Renesas MCU development environment :
e²studio
、CS+ for CA,CX、CS+ for CC.
  • e²studio It's based on Eclipse Integrated development environment (IDE), Applicable to Renesas Electronics MCU. except Eclipse In addition to its own powerful code editor ,e²studio It also provides rich extension functions .
  • CS+ for CA,CX Similar to 51 The operation method of register is the same as that of single chip microcomputer ,CS+ for CC No way. . from CSDN Blogger
    Mu Shihua
    I learned from my article that : The feedback from the technical support of Renesas suppliers is CA It's early NEC Developed , and NEC Of IP Well done , And Reza's peripherals are doing well , Then gather the strengths of the two families , Reza did something about RL78 Series of microcontrollers . however CA The compiler is not very efficient , Then Renesas went straight to develop a new compiler , Used in place of CA The compiler , It's the back of it CC. be relative to CC,CA More support for , More resources , Official website Demo It's all based on CA, But I suggest you use it later CC This kind of IDE,CC The method of use is basically the same as CA equally , And the compiled binary file is better than CA Compiled little 20%, And CC Can support long long Type the amount of , and CA Only support long Type variable .
This blog will introduce :CS+ for CC Installation and basic use ( This article uses :RH850  series MCU For example ).
null

​1、 Download and install the development environment

The first 1 Step : Get into
Renesas official website
, choice “ Design resources ”→“ development tool ”, As shown in the figure below :
null
​ The first 2 Step : By screening conditions , Choose what suits you MCU Compiler environment for , What I'm using here is MCU:RH850,IDE:
CS+
, Of course, you can download and install : be based on  Eclipse  Renesas integrated development environment (e²studio) perhaps IAR Compiler environment .
null
​ The first 3 Step : Download , Before downloading, you need to register your account .
null
​ The first 4 Step : Install the software , The process will not be repeated .
null
The first 5 Step :IDE After installation, you need to add a license key (License), The location is as follows :
null
​ add to License After success, the effect is as follows :
null
​ If you are an individual developer, you don't need to buy License,60 After the day trial period, only the code size limit , There is no difference in function , It can meet the basic development needs .

2、 Basic usage

CS+ for CC, Although there is no ST The ecosystem of development tools is sound , But for the first contact with Renesas with certain development experience MCU It's also friendly for developers .
open IDE, Create a new project , choice :
File→New→Create New Project
, As shown below :
null
Select the to create the project MCU、 Information such as project type and file address , As shown below :
null
​ After the project is created, it is as follows :
null
​ For the first trial CS+ for CC Developers don't have to panic , stay IDE In Engineering , choice :
Code Generator(Design Tool)→Peripheral Functions
, You can graphically generate their own driver sample code , As shown below :
null
For example, I want to generate UART0 Example code for , Select the appropriate configuration information in the options panel , Click on :Generate Code You can generate code , As shown below :
null
​ The generated sample code file will appear in the project path , As shown below :
null
null
​ At the same time, it can also be used in :Pin View View in MCU Use of pins , As shown in the figure below :
null
​ Last , Click compile project , result IDE Prompt error , What's going on ??
null
This question will be in my next blog post :
Reza IDE:CS+ for CC Engineering configuration
It's said in , Coming soon ~

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/113/202204232207172798.html