瑞萨RL78单片机和开发工具(培训教程)[RL78 Tool introduce]

  • 格式:pdf
  • 大小:1.00 MB
  • 文档页数:24
22
© 2011 Renesas Electronics Corporation. All rights reserved.
5
© 2011 Renesas Electronics Corporation. All rights reserved.
The basic operation of E1
User program execution Reset Tracing Break Performance measurement
E1
In-line programming by OCD OCD with programming function
E1
OS
Itron Compliance
Debugging by High Function Emulator In-circuit Emulator
IECUBE
REBJ-AN-MC-10001
RL78 Family Development Tool Lineup Useful tools at every development stage
Coding
Debugging
Debugging on PC
Programming
Programming by Renesas Ele.
RL7 8 / G 1 3
CubeSuite
Programmed
CPU Simulator Coding/ Building/ Device Driver IDE
In Renesas Electronics’s Factory
CubeSuite
Debugging by OCD On-Chip-Debugger with Programming function
Explanation cautions of CubeSuite E1.50e
20
© 2011 Renesas Electronics Corporation. All rights reserved.
Cautions of CubeSuite E1.50e (1)
CubeSuite (IDE) : Only for RL78/G13. Don't use for other devices. Device information file (DIF) : Only the part of RL78/G13 are supported. Please confirm currently support devices on the "Create Project" dialog. Code Generator : Only the part of RL78/G13 are supported. The currently support devices are following. [ROM:16KByte] R5F1006A, R5F1007A, R5F1008A, R5F100AA, R5F100BA, R5F100CA, R5F100EA, R5F100FA, R5F100GA [ROM:32KByte] R5F1006C, R5F1007C, R5F1008C, R5F100AC, R5F100BC, R5F100CC, R5F100EC, R5F100FC, R5F100GC, R5F100JC, R5F100LC [ROM:48KByte] R5F1006D, R5F1007D, R5F1008D, R5F100AD, R5F100BD, R5F100CD, R5F100ED ,R5F100FD, R5F100GD, R5F100JD, R5F100LD [ROM:64KByte] R5F1006E, R5F1007E, R5F1008E, R5F100AE, R5F100BE, R5F100CE, R5F100EE, R5F100FE, R5F100GE, R5F100JE, R5F100LE
Flash programming - Erase and Program -
18
© 2011 Renesas Electronics Corporation. All rights reserved.
Flash programming disconnection
19
© 2011 Renesas Electronics Corporation. All rights reserved.
Install CubeSuite V1.40 /micro/en/freesoft/cubesuite/index.html
- If other version of CubeSuite is already installed, uninstall it at first. - Install .NET Framework 2.0 and the Visual C++ 2005 SP1 runtime components. - If installing CubeSuite V1.40 by using "Update Manager", please install the USB driver of E1 emulator. - Install E1 USB DRIVER.
9
© 2011 Renesas Electronics Corporation. All rights reserved.
Create Project
10
© 2011 Renesas Electronics Corporation. All rights reserved.
Build Project
11
© 2011 Renesas Electronics Corporation. All rights reserved.
Connect E1 to PC
At the first time, the following dialog are upped.
Click here
12
© 2011 Renesas Electronics Corporation. All rights reserved.
Debug Tool (E1) setting1
Right-click here
Click here
Right-click here again
Click here
13
© 2011 Renesas Electronics Corporation. All rights reserved.
Debug Tool (E1) setting2
14
© 2011 Renesas Electronics Corporation. All rights reserved.
Debug Tool (E1) setting3
15
© 2011 Renesas Electronics Corporation. All rights reserved.
Flash Programming setting
For MC members
RL78 Tool Introduce
Renesas Electronics (China) Corporation
MCU Product Center
February 16, 2011 Rev. 1.00
© 2011 Renesas Electronics Corporation. All rights reserved.
6
© 2011 Renesas Electronics Corporation. All rights reserved.
The basic operation of FP5
[Blank check] [Erase] [Program] [Verify] [Set Security] [Checksum] [Autoprocedure(E.P.)]
7
© 2011 Renesas Electronics Corporation. All rights reserved.
Basic Training
8
© 2011 Renesas Electronics Corporation. All rights reserved.
The flow of Basic Training
Pin Configurator & Code Generator
4
© 2011 Renesas Electronics Corporation. All rights reserved.
The basic operation of debug tool
Download the program Go, Stop, Reset Set breakpoint Use watch panel Setting an access break Display SFR, memory Disconnect debug tool
21
© 2011 Renesas Electronics Corporation. All rights reserved.
Cautions of CubeSuite E1.50e (2)
Pin Configurator : Not supported. There are no plan to support for the time being. Compiler (CA78K0R) : Supported. If the license key is not inputed, compiler is operated as code size limited version (64KByte). If the license key is inputed, there are no limitation about code size. IECUBE (Debug Tool) : Only the part of RL78/G13 (less than 64KByte ROM size) are supported. Japan will add the support devices step by step. * Note : Currently IECUBE has restriction that can not be used if EVDD and VDD are not the same voltage level. This restriction will be fixed e/o April. E1(Debug Tool) : Supported. But there is a restriction that the self-programming while debugging is not possible. (The data flash programming is possible currently.)