RL78 Family Renesas Flash Driver RL78 Type 01 SC version (Code Flash)
R20AN0653EJ0100 Rev.1.00 Page 2 of 37
Dec.20.21
Contents
1. Specification ............................................................................................................................ 3
1.1 Operating Environment ........................................................................................................................... 3
1.2 Structure of Sample Program Folders ..................................................................................................... 4
1.3 File Structure of RFD Driver .................................................................................................................... 5
1.3.1 File Structure of RFD Common Driver (r_rfd_rl78_common) ............................................................... 5
1.3.2 File Structure for RFD Code Flash Driver (r_rfd_rl78_codeflash) ......................................................... 6
1.4 Code Flash Programming Processing Using a Sample Program ........................................................... 7
2. Creating a Sample Project for Code Flash Reprogramming ..................................................... 8
2.1 Example of Creating a Sample Project ................................................................................................... 8
2.1.1 In Case of CS+ ...................................................................................................................................... 8
2.1.2 In Case of E2studio ............................................................................................................................... 8
2.1.3 In Case of IAR EW for Renesas RL78 .................................................................................................. 8
2.2 Example of Source Code Registration .................................................................................................... 9
2.2.1 In Case of CS+ ...................................................................................................................................... 9
2.2.1.1 Notes of case used at the same time in r_rfd_rl78_codeflash and r_rfd_rl78_extraarea ................. 12
2.2.2 In Case of E2studio ............................................................................................................................. 13
2.2.2.1 Notes of case used at the same time in r_rfd_rl78_codeflash and r_rfd_rl78_extraarea ................. 16
2.2.3 In Case of IAR EW for Renesas RL78 ................................................................................................ 17
2.2.3.1 Notes of case used at the same time in r_rfd_rl78_codeflash and r_rfd_rl78_extraarea ................. 22
2.3 Project registration of sample program ................................................................................................. 23
2.4 The Check of Operation for Sample Program ....................................................................................... 32
2.4.1 In Case of CS+ .................................................................................................................................... 32
2.4.2 In Case of E2studio ............................................................................................................................. 33
2.4.3 In Case of IAR EW for Renesas RL78 ................................................................................................ 34
3. Precautions for specifications ................................................................................................ 35
4. Reference document ............................................................................................................. 36
5. Revision History ..................................................................................................................... 37