CS+ Simulator for RL78/G10 V1.02.00 Release Note

CS+ Simulator for RL78/G10 V1.02.00 Release Note
CS+ Simulator for RL78/G10 V1.02.00
Release Note
R20UT3175EJ0100
Rev.1.00
Augest 22, 2014
Contents
Chapter 1. Target Devices ........................................................................................................................ 2
Chapter 2. User's Manuals ........................................................................................................................ 3
Chapter 3. Key Word for Uninstallation ..................................................................................................... 4
Chapter 4. Changes .................................................................................................................................. 5
4.1 Removal of Caution ........................................................................................................................... 5
Chapter 5. Cautions................................................................................................................................... 6
5.1 Differences between target devices and simulator ........................................................................... 6
5.1.1 Unsupported peripheral functions ................................................................................................... 6
5.1.2 Peripheral I/O redirection register (PIOR)....................................................................................... 6
5.1.3 Oscillation stabilization time of Clock Generator ............................................................................ 7
5.1.4 AMPH bit of Clock operation mode control register (CMC) ............................................................ 8
5.1.5 Operation clock of timer array unit .................................................................................................. 8
5.1.6 Noise filter of timer array unit .......................................................................................................... 8
5.1.7 Operation clock of serial array unit ................................................................................................. 8
5.1.8 Noise filter of serial array unit ......................................................................................................... 9
5.1.9 SDR0nH register of serial array unit ............................................................................................... 9
5.1.10 Reset............................................................................................................................................. 9
5.1.11 Reset control flag register (RESF) ................................................................................................ 9
5.1.12 Reference voltage of A/D converter.............................................................................................. 9
5.1.13 Digital filter of Comparator ............................................................................................................ 9
5.1.14 Response delay time of Comparator .......................................................................................... 10
5.1.15 Clock output/buzzer output controller ......................................................................................... 10
5.1.16 Execution of illegal instructions................................................................................................... 10
5.2 Cautions for using simulator GUI .................................................................................................... 11
5.2.1 Cautions for controlling each windows ......................................................................................... 11
5.2.2 Cautions for closing simulator GUI window .................................................................................. 11
5.2.3 Cautions for disconnecting the debug tool ................................................................................... 11
5.2.4 Cautions for setting the Host Machine's language and region ..................................................... 12
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 1 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Chapter 1. Target Devices
Below is a list of devices supported by the RL78/G10 simulator.
Nickname
Device name
R5F10Y14(10pin), R5F10Y16(10pin) , R5F10Y17(10pin),
RL78/G10
R5F10Y44(16pin), R5F10Y46(16pin), R5F10Y47(16pin)
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 2 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Chapter 2. User's Manuals
Please read the following user’s manuals together with this document.
Manual Name
Document Number
Note
CubeSuite+ V2.02.00 RL78 Debug
R20UT2867EJ0100
When using CS+ for CA,CX
CubeSuite+ V2.02.00 Message
R20UT2871EJ0100
When using CS+ for CA,CX
CS+ V3.00.00 RL78 Debug Tool
R20UT3107EJ0100
When using CS+ for CC
CS+ V3.00.00 Message
R20UT3099EJ0100
When using CS+ for CC
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 3 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Chapter 3. Key Word for Uninstallation
This product is included in both “CS+ for CC” and “CS+ for CA,CX”.
Therefore, there are 2 ways to uninstall this product.
- Use the integrated uninstaller (uninstalls all CS+ components)
- Use the Windows uninstaller (only uninstalls CS+ for CC or CS+ for CA,CX)
To use the Windows uninstaller, select the following key word from the Control Panel.
- CS+ for CC
- CS+ for CA,CX
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 4 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Chapter 4. Changes
This chapter describes changes from V1.01.00 to V1.02.00.
4.1
Removal of Caution
Following caution is removed.
- Cautions for showing help for the simulator GUI window
When the simulator GUI window is active, it is not possible to open help file by selecting “Help” menu or
using F1 key. Please open it from CS+ main window.
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 5 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Chapter 5. Cautions
This section describes cautions for using RL78/G10 simulator. The following two types of caution are described:
•Differences between target devices and simulator : Differences from behavior of target devices due to simulator
specifications
•Cautions for using simulator GUI
5.1
: Cautions for using the simulator GUI window
Differences between target devices and simulator
5.1.1
Unsupported peripheral functions
The simulator does not support the following peripheral functions of the target device (the following functions
cannot be debugged on the simulator).
* Regulator
* Selectable power-on-reset circuit
* Simplified I2C of Serial array unit
* CSI slave communication mode of Serial array unit
* Serial Interface IICA
5.1.2
Peripheral I/O redirection register (PIOR)
If using Peripheral I/O redirection register (PIOR), simulator’s alternate function are switched same as target
device. Therefore please refer to following table to select the pin name of “select pin dialog” on simulator
GUI.
Pin name
INTP3
INTP2
INTP1
TI01
TO01
PCLBUZ0
PIOR register value
PIOR4 : 0
PIOR4 : 1
PIOR3 : 0
PIOR3 : 1
PIOR2 : 0
PIOR2 : 1
PIOR1: 0
PIOR1: 1
PIOR1: 0
PIOR1: 1
PIOR0: 0
PIOR0: 1
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Using pin name of select Pin dialog on
Simulator GUI
P06/ANI5/SCLA0/INTP3/SI01
P121/X1
P41/TI03/INTP2
P122/X2/EXCLK
P00/SO00/TXD0/INTP1
P03/ANI2/TO00/KR4/IVCMP0
P04/ANI3/TI01/TO01/KR5
P40/KR0/TOOL0
P04/ANI3/TI01/TO01/KR5
P40/KR0/TOOL0
P02/ANI1/_SCK00/SCL00/PCLBUZ0/KR3
P40/KR0/TOOL0
Page 6 of 12
CS+ Simulator for RL78/G10 V1.02.00
5.1.3
Release Note
Oscillation stabilization time of Clock Generator
The simulator does not simulate the clock oscillator oscillation stabilization time.
The oscillation stabilization time is always 0 seconds. When the oscillation is started, the OSTC register is
set to the following values without count up operation.
OSTS Setting Value
OSTC Value
0x0 : (28+16)/fx
0x80
9
0x1 : (2 +16)/fx
0xc0
0x2 : (210+16)/fx
0xe0
11
0x3 : (2 +16)/fx
0xf0
13
0x4 : (2 +16)/fx
0xf8
0x5 : (215+16)/fx
0xfc
17
0x6 : (2 +16)/fx
0xfe
18
0xff
0x7 : (2 +16)/fx
The following figure illustrates this operation.
In the target device, the X1 clock oscillation starts after the states (1) to (4) have passed. In the simulator,
states (1) to (4) end instantly and the X1 clock oscillation starts.
[In target device (an example of when OSTS is set to 0x07)]
X1 clock
oscillation
waveform
(1) STOP mode release or
MSTOP bit = 0
(OSTC register = 0x00)
(2) Time until oscillation
starts (OSTC register
= 0x00)
(3) Oscillation
stabilization time
(counted up in
OSTC register)
(4) OSTC register = 0xff
[In simulator (an example of when OSTS is set to 0x07)]
X1 clock
oscillation
waveform
STOP mode release or MSTOP bit = 0
(The OSTC register is set to 0xff at this moment.)
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 7 of 12
CS+ Simulator for RL78/G10 V1.02.00
Release Note
Therefore, pay attention to the code that waits for oscillation stabilization.
There is no problem if a program is created with the condition that the execution exits the oscillation
stabilization wait period when the OSTC register value becomes the maximum value, or when the OSTC
register value exceeds the specified value, but if a program is created with the condition that the execution
exits the oscillation stabilization wait period when the OSTC register value becomes a value other than the
maximum value, the execution enters an infinite loop.
The following shows examples of code that causes/does not cause problems.
(This is an example of when OSTS is set to 0x07)
Correct program example (1)
Correct program example (2)
Example of program that may cause problems
while(OSTC != 0xff)
while(OSTC <= 0xf0)
while(OSTC != 0xf0)
{
{
{
NOP();/* wait */
NOP();/* wait */
NOP();/* wait */
}
}
}
5.1.4
AMPH bit of Clock operation mode control register (CMC)
The simulator does not simulate AMPH bit of Clock operation mode control register (CMC).
Although it is possible to read / write the value of this bit, the operation is not changed if changing it.
5.1.5
Operation clock of timer array unit
Do not specify an operation clock that is 233 Hz or lower. If the operation clock of the timer array unit is 233
Hz or lower, then the timer array unit will not operate correctly (it will behave as if operating via a clock that
is faster than the one selected).
5.1.6
Noise filter of timer array unit
Although the target device's timer array unit has a function to turn the noise filter on and off in order to
reduce noise on the timer input pin, the simulator does not simulate this. (There is no difference in behavior
whether filtering is on or off.) Since there is no noise in the simulator's signal, it would be meaningless to
simulate this function.
5.1.7
Operation clock of serial array unit
Do not specify an operation clock that is 233 Hz or lower. If the operation clock of the serial array unit is 233
Hz or lower, then the serial array unit will not operate correctly (it will behave as if operating via a clock that
is faster than the one selected).
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 8 of 12
CS+ Simulator for RL78/G10 V1.02.00
5.1.8
Release Note
Noise filter of serial array unit
Although the target device's serial array unit has a function to turn the noise filter on and off in order to
reduce noise on the input pin, the simulator does not simulate this. (There is no difference in behavior
whether filtering is on or off.) Since there is no noise in the simulator's signal, it would be meaningless to
simulate this function.
5.1.9
SDR0nH register of serial array unit
The following differences occur between the target device and simulator when the serial data register
(SDR0nH) is read during serial operation.
[Target device]
The value is 0.
[Simulator]
The value is immediately before start of serial operation.
5.1.10
Reset
The behavior differs as follows if a reset is generated by the RESET pin.
[Target device]
MCU goes into reset status when the RESET pin goes to low level. Reset status is released when it goes
to high level.
[Simulator]
MCU does not go into reset status when the RESET pin goes to low level. When it goes to high level, the
simulator momentarily goes into reset status, and then the reset status is released immediately.
5.1.11
Reset control flag register (RESF)
The simulator only simulate WDTRF bit of Reset control flag register (RESF).
The operation of TRAP bit and SPORF bit are not supported.
5.1.12
Reference voltage of A/D converter
When VDD signal has no input, the default reference voltage of A/D converter is 5.0V.
For changing the reference voltage, input it to VDD signal by using signal data editor and so on.
5.1.13
Digital filter of Comparator
The simulator does not simulate the digital filter function of Comparator.
So bit 0 and bit 1 of COMPFIR register are not operated.
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 9 of 12
CS+ Simulator for RL78/G10 V1.02.00
5.1.14
Release Note
Response delay time of Comparator
The simulator does not simulate the response delay time of Comparator.
So the operation of high-speed mode and low-speed mode is same.
5.1.15
Clock output/buzzer output controller
When selecting fMAIN as an output clock, timing chart window cannot display the clock waveform of
PCLBUZn signal.
When selecting fMAIN/2 or slower as an output clock, timing chart window can display the clock waveform.
5.1.16
Execution of illegal instructions
If an illegal instruction (instruction code: 0xFF) is executed, the target device will be reset, but the simulator
will go into an infinite loop (the illegal instruction will be executed repeatedly).
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 10 of 12
CS+ Simulator for RL78/G10 V1.02.00
5.2
Release Note
Cautions for using simulator GUI
5.2.1
Cautions for controlling each windows
The following keyboard operations are not available in the simulator windows (signal-data editor window, I/O
panel window, and serial window).
* Navigation via tab or arrow keys (←, ↑, →, ↓)
* Deletion via the Del or Backspace keys
* Copy & paste and other operations via the Ctrl + C, V, X, A, or Z keys.
Perform the above operations as follows.
* Navigation:
Navigate using the mouse.
* Deletion:
Right click and perform the action via the context menu.
* Copy & paste, etc.: Right click and perform the action via the context menu.
5.2.2
Cautions for closing simulator GUI window
The simulator GUI window can only be closed by disconnecting from the debugging tool, or by closing CS+
proper. (The X button cannot be clicked.)
Additionally, although it appears that the X button can be pressed if Aero is enabled in Windows Vista,
pressing this button will not close the GUI window.
5.2.3
Cautions for disconnecting the debug tool
CS+ may exit if the debugging tool is disconnected while any of the following dialog boxes is open from the
simulator GUI window. Make sure that the following dialog boxes are closed before disconnecting the
debugging tool.
•Save As
•Open
•New
•Color
•Font
•Customize
•Loop
•Select Pin
•Search Data
•Format (UART)
•Format (CSI)
•Message (e.g. Error)
R20UT3175EJ0100 Rev.1.00
August 22, 2014
•Parts Button Properties
•Analog Button Properties
•Parts Key Properties
•Parts Level Gauge Properties
•Parts Led Properties
•Parts Segment LED Properties
•Parts Matrix Led Properties
•Parts Buzzer Properties
•Pull up / Pull down
•Entry Bitmap
•Object Properties
Page 11 of 12
CS+ Simulator for RL78/G10 V1.02.00
5.2.4
Release Note
Cautions for setting the Host Machine's language and region
If a Japanese OS is installed on your Host Machine, then if the language or region is set to other than
Japanese/Japan, the menus and dialog-box names of the simulator GUI window will be shown in English.
Similarly, if a non-Japanese OS is installed on your Host Machine, then if the language or region is set to
Japanese/Japan, the menus and dialog-box names of the simulator GUI window will be shown in Japanese.
All trademarks and registered trademarks are the property of their respective owners.
R20UT3175EJ0100 Rev.1.00
August 22, 2014
Page 12 of 12
Notice
1.
Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for
the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the
use of these circuits, software, or information.
2.
Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics
assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
3.
Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or
technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or
others.
4.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or
third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
5.
Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The recommended applications for each Renesas Electronics product depends on
the product's quality grade, as indicated below.
"Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic
equipment; and industrial robots etc.
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical
implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it
in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. 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 which the product is not intended by Renesas Electronics.
6.
You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage
range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the
use of Renesas Electronics products beyond such specified ranges.
7.
Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and
malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the
possibility of physical injury, and injury or damage caused by fire in the 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 malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult,
please evaluate the safety of the final products or systems manufactured by you.
8.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics
products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes
no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
9.
Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or
regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the
development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and
regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the
contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics
products.
11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries.
(Note 1)
"Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries.
(Note 2)
"Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
SALES OFFICES
http://www.renesas.com
Refer to "http://www.renesas.com/" for the latest and detailed information.
Renesas Electronics America Inc.
2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A.
Tel: +1-408-588-6000, Fax: +1-408-588-6130
Renesas Electronics Canada Limited
1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada
Tel: +1-905-898-5441, Fax: +1-905-898-3220
Renesas Electronics Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K
Tel: +44-1628-585-100, Fax: +44-1628-585-900
Renesas Electronics Europe GmbH
Arcadiastrasse 10, 40472 Düsseldorf, Germany
Tel: +49-211-6503-0, Fax: +49-211-6503-1327
Renesas Electronics (China) Co., Ltd.
Room 1709, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100191, P.R.China
Tel: +86-10-8235-1155, Fax: +86-10-8235-7679
Renesas Electronics (Shanghai) Co., Ltd.
Unit 301, Tower A, Central Towers, 555 Langao Road, Putuo District, Shanghai, P. R. China 200333
Tel: +86-21-2226-0888, Fax: +86-21-2226-0999
Renesas Electronics Hong Kong Limited
Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong
Tel: +852-2265-6688, Fax: +852 2886-9022/9044
Renesas Electronics Taiwan Co., Ltd.
13F, No. 363, Fu Shing North Road, Taipei 10543, Taiwan
Tel: +886-2-8175-9600, Fax: +886 2-8175-9670
Renesas Electronics Singapore Pte. Ltd.
80 Bendemeer Road, Unit #06-02 Hyflux Innovation Centre, Singapore 339949
Tel: +65-6213-0200, Fax: +65-6213-0300
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
Tel: +60-3-7955-9390, Fax: +60-3-7955-9510
Renesas Electronics Korea Co., Ltd.
12F., 234 Teheran-ro, Gangnam-Ku, Seoul, 135-920, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-5141
© 2014 Renesas Electronics Corporation and Renesas Solutions Corp.
© 2014 Renesas Electronics Corporation. All rights reserved.
Colophon
Colophon4.0
4.0
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement