CS+ Code Generator for 78K
The product name of CubeSuite+, an integrated development environment from Renesas,
has been changed to "CS+" from V. 3.00.00, which was released on October 1, 2014.
Changes from V2.05.00 to V2.06.00 (Jul. 20, 2017)
This updating is only a change of version number associated with the updating of the CS+, there is no change in the functions.
Changes from V2.04.00 to V2.05.00 (Oct. 1, 2014)
This updating has associated with the updating to CS+ from CubeSuite+, there is no change in the functions.
Changes from V2.03.00 to V2.04.00 (Jul. 16, 2014)
1. Supported Devices Increased
- RL78/G10 Group 16pin Package
- RL78/G14 Group ROM capacity 384KB upper
2. Problem fixed
In the updated generator, the following problems, which was reported in RENESAS TOOL NEWS Document No. 140416/tn5,
have been fixed:
1. Problem with Selecting the 20-pin, 30-pin, or 32-pin Package for the RL78/F13 or RL78/F14 Group
2. Problem with Using the Remote Control Carrier Wave Mask Signal in the RL78/L12 or RL78/L13 Group
3. Problem with Processing to Reflect the Pin Configurator When the A/D Converter is Set in the RL78/G12 Group
4. Problem with the Case When Ports that Are Not Available in the MCU Are Displayed in the RL78/G14 Group
For details, see the Web page at:
https://www.renesas.com/document/tnn/note-using-code-generator-rl78-family-78k0r-and-78k0-mcus-managed-cubesuite-2
Changes from V2.01.00 to V2.03.00 (Mar. 24, 2014)
1. Supported Devices Increased
- RL78/L1C group
|
80pin |
R5F110MJ, R5F110MH, R5F110MG, R5F110MF, R5F110ME,
R5F111MJ, R5F111MH, R5F111MG, R5F111MF, R5F111ME |
100pin |
R5F110PJ, R5F110PH, R5F110PG, R5F110PF, R5F110PE,
R5F111PJ, R5F111PH, R5F111PG, R5F111PF, R5F111PE |
|
|
2. Changes the clock frequency of operation
The list of 2, 3, and 6 MHz has been added to the frequency of the high-speed on-chip oscillator clock.
Therefore, if the project in Cubesuite+ V2.03.00 or any earlier version is read, the clock frequency of the high-speed on-chip oscillator
may be shifted.
In that case, reset the correct frequency.
(Target MCU: RL78/I1A, G12, G13, G14, F12, F13, F14, L12)
3. Removal of the watch error correction function in the real-time clock
The watch error correction function in the real-time clock has been removed.
(Target MCU: RL78/I1A, G13, G14, F12, F13, F14, L12, L13 ,G1C)
4. Problem fixed
In the updated generator, the following problems, which was reported in RENESAS TOOL NEWS Document No. 131016/tn1,
have been fixed:
1. Problem with code for initialization when setting external interrupts (78K0R/Kx3-L)
2. Problem with a RL78/G13 product in a 100-pin package is selected (RL78/G13 Group)
3. Problem with the key input interrupt setting (RL78/L12 Group)
4. Problem with A/D converter operation setting (RL78/G1A Group)
5. Problem with the timer KB20 is in use (RL78/L13 Group)
For details, see the Web page at:
https://www.renesas.com/document/tnn/note-using-code-generator-rl78-family-78k0r-and-78k0-mcus-managed-cubesuite-1
Changes from V2.00.01 to V2.01.00 (Nov. 18, 2013)
1. RL78/I1A Group of MCUs Supported Again
The code generator for the RL78/I1A group of MCUs was taken out of the support line temporarily in the CubeSuite+ Code_Generator
for RL78_78K V2.00.01 released on September 30, 2013.
Note that it has again been added to the support line in the newest version.
2. Supported Devices Increased
RL78/F13, RL78/F14, and RL78/G1C groups
Changes from V2.00.00 to V2.00.01 (Sep. 30, 2013)
1. Supported Devices Increased
- RL78/L13 group
|
64pin
|
R5F10WLA, R5F10WLC, R5F10WLD, R5F10WLE, R5F10WLF, R5F10WLG |
80pin
|
R5F10WMA, R5F10WMC, R5F10WMD, R5F10WME, R5F10WMF, R5F10WMG |
|
|
- RL78/G1E group
|
64pin
|
R5F10FLC, R5F10FLD, R5F10FLE |
80pin
|
R5F10FMC, R5F10FMD, R5F10FME |
|
|
- RL78/G10 group
2. Deletion for the following device
- RL78/I1A group
3. Modification of option byte generation in RL78/G12 code generation
Generation of option bytes in the RL78/G12 20-pin devices has been modified.
4. Modification of Initial code for port settings in RL78/G1A code generation
The problem that PMC register settings are not output in R_PORT_Create() has been modified.
5. Modification of RL78/G14 code generation
- Troubles observed when using the timer RD
Modification was made so that periodic register values (duty cycles) can now be correctly set in the code generated
after specifying 64 MHz for the high-speed on-chip oscillator clock and PWM mode for the timer RD.
- Troubles observed when using the timer RJ pulse periodic measurement mode
Modification was made so that a correct value will now be set in a pulse cycle variable g_tmrj0_width which is set
by the interrupt handler of r_tmr_rj0_interrupt.
6. Modification of 78K0R/Fx3 code generation
Click the checkbox Low Speed Internal Oscillator (flL) and select flL for the CPU and the peripheral clock.
The problem that a fatal error occurs when serial settings are made thereafter has been modified.
Changes from V1.00.06 to V2.00.00 (Apr. 16, 2013)
1. Changes of API about Simplified I2C by SAU
The R_IICmn_StartCondition of Simplified I2C of SAU and the R_IICmn_StopCondition of 78K0R family were changed.
The waiting code for time required for generation of the start condition of Simplified I2C standard and stop condition was added.
2. Changes of the timer RD and the timer RJ0, and new restriction
The timer RD and the timer RJ0 of RL78/G14 was corrected. And a new restriction about timer RJ0 was added.
3. Changes of input pulse interval measurement of TAU
It corrected that the right measured value was not able to be acquired for the input pulse interval measurement function
of TAU of 78K0R and RL78 family, and a high / low width measurement function by interruption function
r_taux_channelx_interrupt() at the time of use.
4. Changes the time of the channel 2 output of TAU1
A terminal setup when output functions (square-wave output etc.) were used by the channel 2 of TAU1 of 78K0R/FX3 was corrected.
5. Changes the notation of a power supply
The notation on GUI of RL78/G12 was corrected.
Changes from V1.00.05 to V1.00.06 (Nov 1, 2012)
1. Supported Devices Increased
- RL78/L12 group
|
32pin |
R5F10RBC, R5F10RBA, R5F10RB8 |
44pin |
R5F10RFC, R5F10RFA, R5F10RF8 |
48pin |
R5F10RGC, R5F10RGA, R5F10RG8 |
52pin |
R5F10RJC, R5F10RJA, R5F10RJ8 |
64pin |
R5F10RLC, R5F10RLA |
|
|
2. A file generation mode has been added.
"Output control of API function" has been added to the Code Generator Property for RL78, 78K0R, and 78K0.
"Output all API functions according to the setting": Outputs necessary API functions according to the GUI settings (conventional output method).
"Output only initialization API function": Outputs only initialization functions (Create functions) regardless of the GUI settings.
Users can configure the settings such as interrupt functions according to their needs.
3. Initial codes in the hdwinit() function and the main() function have been modified.
When the code generator for RL78, 78K0R, and 78K0 is performed , a source for initializing the device named "xxx_systeminit.c" is created.
In this file, the hdwinit function, which is called at the startup, is defined. This hdwinit function has been modified.
------------------------------------
void hdwinit(void)
{
DI();
R_Systeminit();
EI();
}
------------------------------------
The above has been changed as shown below so that the hdwinit function should not enable interrupts.
------------------------------------
void hdwinit(void)
{
DI();
R_Systeminit();
}
------------------------------------
Instead, interrupts are enabled in the main() function.
/******************************************************************************
* Function Name: main
* Description : This function implements main function.
******************************************************************************/
void main(void)
{
R_MAIN_UserInit();
/* Start user code. Do not edit comment generated here */
while (1U)
{
;
}
/* End user code. Do not edit comment generated here */
}
/******************************************************************************
* Function Name: R_MAIN_UserInit
* Description : This function adds user code before implementing main function.
******************************************************************************/
void R_MAIN_UserInit(void)
{
/* Start user code. Do not edit comment generated here */
EI();
/* End user code. Do not edit comment generated here */
}
4. Support for pin configurator tool
The pin configurator tool of RL78 family MCUs has been newly supported by CubeSuite+ V1.03.00.
Note that this tool has the following restrictions.
- For some pins, reflection of the settings made in the code generator to the pin configurator fails.
- Reflection of values set by using the code generator's PIOR capability to the pin configurator fails.
In the above cases, edit the pin information with the pin configurator.
Changes from V1.00.04 to V1.00.05 (May 21, 2012)
1. Generated code for RL78/G1A group MCUs modified
On setting of A/D converter, the modification has been made so that the conversion time could be set up.
Changes from V1.00.03 to V1.00.04
1. Supported Devices Increased
- RL78/G1A group
|
25pin |
R5F10E8A, R5F10E8C, R5F10E8D, R5F10E8E |
32pin |
R5F10EGA, R5F10EGC, R5F10EGD, R5F10EGE |
48pin |
R5F10EGA, R5F10EGC, R5F10EGD, R5F10EGE |
64pin |
R5F10ELC, R5F10ELD, R5F10ELE |
|
|
- RL78/F12 group
|
20pin |
R5F109AE, R5F109AD, R5F109AC, R5F109AB, R5F109AA |
30pin |
R5F109BE, R5F109BD, R5F109BC, R5F109BB, R5F109BA |
32pin |
R5F109BE, R5F109BD, R5F109BC, R5F109BB, R5F109BA |
48pin |
R5F109GE, R5F109GD, R5F109GC, R5F109GB, R5F109GA |
64pin |
R5F109LE, R5F109LD, R5F109LC, R5F109LB, R5F109LA |
|
|
Changes from V1.00.02 to V1.00.03
1. Supported Devices Increased
- RL78/G12 group
|
20pin |
R5F10266, R5F10267, R5F10268, R5F10269, R5F1026A. R5F10366, R5F10367, R5F10368,
R5F10369, R5F1036A |
24pin |
R5F10277, R5F10278, R5F10279, R5F1027A, R5F10377, R5F10378, R5F10379, R5F1037A |
30pin |
R5F102A7, R5F102A8, R5F102A9, R5F102AA, R5F103A7, R5F103A8, R5F103A9, R5F103AA |
|
|
- RL78/I1A group
2. RL78/G13, RL78/G14 Revision up
a. Output code changes of the receiving function of UARTn (for RL78/G13, RL78/G14)
The output code of the receiving function of UARTn was corrected. The following is a case of UART0.
[ r_cg_serial.c ]
MD_STATUS R_UART0_Receive(uint8_t * const rx_buf, uint16_t rx_num)
{
MD_STATUS status = MD_OK;
if (rx_num < 1U)
{
status = MD_ARGERROR;
}
else
{
g_uart0_rx_count = 0U;
g_uart0_rx_length = rx_num;
gp_uart0_tx_address = rx_buf;
}
return (status);
}
Before : gp_uart0_tx_address = rx_buf;
After : gp_uart0_rx_address = rx_buf;
This issue has been corrected in Code Generator for RL78,78K0R,78K0 V1.00.03
b. Control correction of a competition pin (for RL78/G13)
Control of the competition pin when simple-I2C of 24 and 25 pin device of RL78/G13 is set up was corrected.
Before : |
P17/SDA11 |
|
P30/SCL11 |
After : |
P50/SDA11 |
|
P30/SCL11 |
This issue has been corrected in Code Generator for RL78,78K0R,78K0 V1.00.03.
c. GUI correction of an A/D converter (for RL78/G13, RL78/G14)
In the A/D converter, it corrected so that the message displayed with the fixed value as the number of analog input channels might be
dynamically displayed according to a number of channels.
This issue has been corrected in Code Generator for RL78,78K0R,78K0 V1.00.03
Changes from V1.00.01 to V1.00.02
1. Supported Devices Increased
- RL78/G14 group
|
30pin |
R5F104AA, R5F104AC, R5F104AD, R5F104AE, R5F104AF, R5F104AG |
32pin |
R5F104BA, R5F104BC, R5F104BD, R5F104BE, R5F104BF, R5F104BG |
36pin |
R5F104CA, R5F104CC, R5F104CD, R5F104CE, R5F104CF, R5F104CG |
40pin |
R5F104EA, R5F104EC, R5F104ED, R5F104EE, R5F104EF, R5F104EG, R5F104EH |
44pin |
R5F104FA, R5F104FC, R5F104FD, R5F104FE, R5F104FF, R5F104FG, R5F104FH, R5F104FJ |
48pin |
R5F104GA, R5F104GC, R5F104GD, R5F104GE, R5F104GF, R5F104GG, R5F104GH, R5F104GJ |
52pin |
R5F104JC, R5F104JD, R5F104JE, R5F104JF, R5F104JG, R5F104JH, R5F104JJ |
64pin |
R5F104LC, R5F104LD, R5F104LE, R5F104LF, R5F104LG, R5F104LH, R5F104LJ |
|
|
- RL78/I1A group
|
20pin |
R5F1076C |
30pin |
R5F107AC, R5F107AE |
32pin |
not supported |
38pin |
R5F107DE |
|
|
2. Modification of the generated code for RL78/G13
The code generated for the following MCUs of the RL78 family has been modified:
- MCUs in RL78/G13 group which have no data flash