RL78 Family Renesas Flash Driver RL78 Type 01 SC version (Data Flash)
R20AN0654EJ0100 Rev.1.00 Page 2 of 33
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 Data Flash Driver (r_rfd_rl78_dataflash) ........................................................... 6
1.4 Data Flash Programming Processing Using a Sample Program ............................................................ 7
2. Creating a Sample Project for Data 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.2 In Case of E2studio ............................................................................................................................. 12
2.2.3 In Case of IAR EW for Renesas RL78 ................................................................................................ 15
2.3 Project registration of sample program ................................................................................................. 20
2.4 The Check of Operation for Sample Program ....................................................................................... 28
2.4.1 In Case of CS+ .................................................................................................................................... 28
2.4.2 In Case of E2studio ............................................................................................................................. 29
2.4.3 In Case of IAR EW for Renesas RL78 ................................................................................................ 30
3. Precautions for specifications ................................................................................................ 31
4. Reference document ............................................................................................................. 32
5. Revision History ..................................................................................................................... 33