<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="generator" content="pdf2htmlEX">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css">
<link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css">
<link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/raw.css">
<script src="https://static.pudn.com/base/js/compatibility.min.js"></script>
<script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script>
<script>
try{
pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
}catch(e){}
</script>
<title></title>
</head>
<body>
<div id="sidebar" style="display: none">
<div id="outline">
</div>
</div>
<div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span><span class="ff2 fs1 ls1 ws1">APPLICATION NOTE </span></div><div class="t m0 x1 h3 y2 ff2 fs2 fc0 sc0 ls2 ws2">R01AN0718EJ010<span class="_ _1"></span>2 Rev.1.02 <span class="_ _2"> </span> <span class="_ _3"> </span> Page <span class="_ _4"></span>1 <span class="_ _4"></span>of <span class="_ _4"></span>52 </div><div class="t m0 x1 h3 y3 ff2 fs2 fc0 sc0 ls2 ws3">Feb 15, 2013<span class="fs0 ls0 ws0"> </span></div><div class="t m0 x1 h4 y4 ff2 fs3 fc0 sc0 ls3 ws0">RL78/G13 </div><div class="t m0 x1 h2 y5 ff2 fs1 fc0 sc0 ls4 ws4">Flash Self Programming: Execution </div><div class="t m0 x1 h5 y6 ff2 fs4 fc0 sc0 ls5 ws0">Introduction </div><div class="t m0 x2 h6 y7 ff2 fs5 fc0 sc0 ls6 ws5">This application note is intended for use<span class="_ _5"></span>rs who have <span class="ls7 ws6">a basic understanding of the <span class="ls8 ws7">function<span class="_ _5"></span>s of the Type 01 </span></span></div><div class="t m0 x1 h6 y8 ff2 fs5 fc0 sc0 ls6 ws8">Flash Self Programming Li<span class="_ _5"></span>brary for the RL78/G13 micro<span class="_ _5"></span>c<span class="ls9 ws9">ontrollers and who are to design ap<span class="_ _5"></span>plication systems </span></div><div class="t m0 x1 h6 y9 ff2 fs5 fc0 sc0 lsa wsa">using that library. </div><div class="t m0 x2 h6 ya ff2 fs5 fc0 sc0 ls9 wsb">The purpose of this application note is to<span class="_ _5"></span> have the user gain an understanding of how to u<span class="_ _5"></span>se the Type 01 </div><div class="t m0 x1 h6 yb ff2 fs5 fc0 sc0 ls9 wsb">Flash Self Programming Library which is used to program the code <span class="_ _5"></span>flash memory of the RL78 family. </div><div class="t m0 x3 h6 yc ff2 fs5 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h5 yd ff2 fs4 fc0 sc0 lsb wsc">Target Device<span class="fs5 ls0 ws0"> </span></div><div class="t m0 x3 h6 ye ff2 fs5 fc0 sc0 ls7 ws6">RL78/G13 (R5F100LE) </div><div class="t m0 x4 h6 yf ff2 fs5 fc0 sc0 lsc ws0">R01AN0718E<span class="_ _5"></span>J0102</div><div class="t m0 x5 h6 y10 ff2 fs5 fc0 sc0 lsd ws0">Rev.1.02</div><div class="t m0 x6 h6 y11 ff2 fs5 fc0 sc0 ls7 ws6">Feb 15, 2013</div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>
</body>
</html>
<div id="pf2" class="pf w0 h0" data-page-no="2"><div class="pc pc2 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/bg2.jpg"><div class="t m0 x1 h5 y12 ff3 fs4 fc0 sc0 lse wsd">RL78/G13 <span class="_ _6"> </span>Flash Self Programming: Execution </div><div class="t m0 x1 h3 y2 ff3 fs2 fc0 sc0 lsf wse">R01AN0718EJ0102 Rev.1.0<span class="_ _1"></span>2 <span class="_ _2"> </span> <span class="_ _7"> </span> Page <span class="_ _4"></span>2 <span class="_ _4"></span>of <span class="_ _4"></span>52 </div><div class="t m0 x1 h3 y3 ff3 fs2 fc0 sc0 ls2 ws3">Feb 15, 2013<span class="fs0 ls0 ws0"> </span></div><div class="t m0 x7 h7 y13 ff3 fs6 fc0 sc0 ls0 ws0">Contents </div><div class="t m0 x1 h3 y14 ff3 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h3 y15 ff3 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h5 y16 ff3 fs4 fc0 sc0 ls10 ws0">Introduc<span class="ls11">tion<span class="_ _8"></span>...................................................................................................................<span class="ls12">.3<span class="_ _9"></span><span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x1 h5 y17 ff3 fs4 fc0 sc0 lsb wsf">Chapter <span class="_ _a"></span>1 <span class="ls13 ws0">Overview<span class="_ _b"></span>...................................................................................................<span class="_ _b"></span>5<span class="ff4 fs7 ls0"> </span></span></div><div class="t m0 x8 h6 y18 ff3 fs5 fc0 sc0 lsa ws10">1.1 Code <span class="_ _c"></span>Flash <span class="_ _c"></span>Memory<span class="lsd ws11"> in the R<span class="ls14 ws0">L78/G13<span class="_ _d"> </span>......................................................................................<span class="_ _d"> </span>6<span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x8 h6 y19 ff3 fs5 fc0 sc0 ls15 ws12">1.2 RL78/G13 <span class="_ _c"></span>Flas<span class="ls16 ws13">h Self Pr<span class="ls17 ws0">ogrammi<span class="ls14">ng<span class="_ _b"></span>..........................................................................................<span class="_ _d"> </span><span class="ls0">7<span class="ff4 fs7"> </span></span></span></span></span></div><div class="t m0 x8 h6 y1a ff3 fs5 fc0 sc0 lsa ws10">1.3 How <span class="_ _c"></span>to <span class="_ _c"></span>Program <span class="_ _c"></span>t<span class="ls18 ws14">he Code Flas<span class="_ _1"></span><span class="ls19 ws15">h Memory<span class="_ _e"> </span>................................................................................<span class="_ _d"> </span>8<span class="ff4 fs7 ls0 ws0"> </span></span></span></div><div class="t m0 x8 h6 y1b ff3 fs5 fc0 sc0 ls0 ws16">1.4 Rewriting <span class="_ _c"></span><span class="lsd ws0">Programs <span class="ls14 ws17">and Data<span class="_ _1"></span>..............................................................................................</span><span class="ls1a">.....<span class="_ _d"> </span>9<span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x8 h6 y1c ff3 fs5 fc0 sc0 ls7 ws18">1.5 Relin<span class="ls14 ws19">k Function<span class="_ _d"> </span>..........................................................................................................<span class="ls1b ws0">.............<span class="_ _d"> </span>12<span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x1 h5 y1d ff3 fs4 fc0 sc0 ls1c ws1a">Chapter 2 <span class="_ _f"> </span> <span class="_ _f"> </span> <span class="_ _f"> </span>Example of Configuring a Program to Rewrite the Code Flash Memory<span class="_ _1"></span>.<span class="_ _10"></span>13<span class="ff4 fs7 ls0 ws0"> </span></div><div class="t m0 x8 h6 y1e ff3 fs5 fc0 sc0 ls1d ws1b">2.1 Operating <span class="_ _c"></span>Environment <span class="_ _c"></span><span class="ls1e ws1c">of the Sample<span class="ls19 ws1d"> Program<span class="_ _b"></span>.....................................................................<span class="_ _d"> </span>13<span class="ff4 fs7 ls0 ws0"> </span></span></span></div><div class="t m0 x8 h6 y1f ff3 fs5 fc0 sc0 ls9 ws1e">2.2 Flash <span class="_ _c"></span>Programmi<span class="ls18 ws14">ng Operati<span class="ls19 ws1d">on Flow<span class="_ _10"></span>.......................................................................................<span class="_ _d"> </span>17<span class="ff4 fs7 ls0 ws0"> </span></span></span></div><div class="t m0 x8 h6 y20 ff3 fs5 fc0 sc0 lsa ws10">2.3 File <span class="_ _c"></span>Configuration <span class="_ _c"></span><span class="ls1e ws1c">of the Sample<span class="ls19 ws1d"> Program..............................................................................<span class="_ _e"> </span>19<span class="ff4 fs7 ls0 ws0"> </span></span></span></div><div class="t m0 x8 h6 y21 ff3 fs5 fc0 sc0 ls1e ws1f">2.4 Resources <span class="_ _c"></span>of <span class="_ _c"></span>t<span class="lsa wsa">he Sample Pr<span class="ls1a ws0">ogram<span class="_ _1"></span>.........................................................................................<span class="_ _e"> </span>2<span class="ls0">0<span class="ff4 fs7"> </span></span></span></span></div><div class="t m0 x8 h6 y22 ff3 fs5 fc0 sc0 ls1f ws20">2.5 Configuring <span class="_ _c"></span>Projects <span class="_ _c"></span>(R<span class="ls20 ws21">elink Function C<span class="ws0">onfigurat<span class="ls21">ion)<span class="_ _1"></span>.............................................................<span class="_ _e"> </span>21<span class="ff4 fs7 ls0"> </span></span></span></span></div><div class="t m0 x8 h6 y23 ff3 fs5 fc0 sc0 ls1d ws1b">2.6 Configuration <span class="_ _c"></span>for <span class="_ _c"></span>Pr<span class="ls22 ws22">ocessing from Rese<span class="_ _1"></span>t Release to Main Processing<span class="_ _b"></span>..................................<span class="_ _d"> </span>28<span class="ff4 fs7 ls0 ws0"> </span></span></div><div class="t m0 x8 h6 y24 ff3 fs5 fc0 sc0 lsa ws10">2.7 Details <span class="_ _c"></span>of <span class="_ _c"></span>the <span class="_ _c"></span>Ma<span class="ls9 wsb">in and Other Fu<span class="ls14 ws0">nctions<span class="_"> </span>................................................................................<span class="_ _d"> </span>32<span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x8 h6 y25 ff3 fs5 fc0 sc0 lsd ws23">2.8 Precautions <span class="_ _c"></span>to <span class="_ _c"></span><span class="ws24">be Taken when<span class="ls15 ws25"> Debuggi<span class="ls19 ws0">ng<span class="_ _b"></span>.............................................................................<span class="_ _d"> </span>42<span class="ff4 fs7 ls0"> </span></span></span></span></div><div class="t m0 x8 h6 y26 ff3 fs5 fc0 sc0 ls9 ws1e">2.9 How <span class="_ _c"></span>to <span class="_ _c"></span>Evaluate <span class="_ _c"></span>Re<span class="ls1e ws1c">writing of <span class="ls14 ws0">Programs<span class="_ _10"></span>.................................................................................<span class="_ _e"> </span>44<span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x8 h6 y27 ff3 fs5 fc0 sc0 ls8 ws26">2.10 How <span class="_ _c"></span>to <span class="_ _c"></span>Evaluat<span class="ls1d ws24">e Rewriting <span class="ls14 ws17">of Data<span class="_ _10"></span>.......................................................................................<span class="_ _d"> </span><span class="ls23 ws0">45<span class="ff4 fs7 ls0"> </span></span></span></span></div><div class="t m0 x1 h5 y28 ff3 fs4 fc0 sc0 ls24 ws27">Appendix <span class="_ _a"></span>A Self<span class="ls25 ws0">FlashWri<span class="ls11">ter.....................................................................................<span class="_ _10"></span>46<span class="_ _5"></span><span class="ff4 fs7 ls0"> </span></span></span></div><div class="t m0 x1 h3 y29 ff3 fs2 fc0 sc0 ls0 ws0"> </div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>
<div id="pf3" class="pf w0 h0" data-page-no="3"><div class="pc pc3 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/bg3.jpg"><div class="t m0 x1 h5 y12 ff5 fs4 fc0 sc0 lse wsd">RL78/G13 <span class="_ _6"> </span>Flash Self Programming: Execution </div><div class="t m0 x1 h3 y2 ff5 fs2 fc0 sc0 ls2 ws3">R01AN0718EJ010<span class="_ _1"></span>2 <span class="_ _d"> </span> <span class="_ _d"> </span>Rev.1.02 <span class="_ _11"> </span> <span class="_ _12"> </span> <span class="_ _13"> </span>Page 3 of 52 </div><div class="t m0 x1 h3 y3 ff5 fs2 fc0 sc0 ls2 ws3">Feb 15, 2013<span class="fs0 ls0 ws0"> </span></div><div class="t m0 x9 h7 y13 ff5 fs6 fc0 sc0 ls26 ws0">Introduction </div><div class="t m0 x1 h8 y2a ff6 fs2 fc0 sc0 ls27 ws28">Target Readers<span class="ff5 ls28 ws29"> <span class="_ _14"> </span>This application note is intended for users wh<span class="ls27 ws2a">o are to des<span class="_ _1"></span>ign application s<span class="_ _1"></span>ystems using the </span></span></div><div class="t m0 xa h3 y2b ff5 fs2 fc0 sc0 ls27 ws28">Type 01 Flash Self Programming L<span class="_ _1"></span>ibr<span class="ls29 ws2b">ary for RL78/G13 micr<span class="_ _1"></span>ocontrollers. </span></div><div class="t m0 x1 h8 y2c ff5 fs2 fc0 sc0 ls0 ws0"> <span class="_ _15"> </span><span class="ff6"> </span></div><div class="t m0 x1 h8 y2d ff6 fs2 fc0 sc0 ls2a ws0">Purpose<span class="ff5 ls27 ws2c"> <span class="_ _16"> </span>This application note is intended to give <span class="ls2 ws2d">us<span class="_ _1"></span>ers an understanding of ho<span class="_ _1"></span>w to use the Flash </span></span></div><div class="t m0 xa h3 y2e ff5 fs2 fc0 sc0 ls28 ws2e">Self Programming Library for the RL78/G<span class="_ _1"></span>13 to<span class="ls27 ws2f"> develop programs for re<span class="_ _1"></span>writing the flash </span></div><div class="t m0 xa h3 y2f ff5 fs2 fc0 sc0 ls2b ws0">memory. </div><div class="t m0 x1 h3 y30 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h8 y31 ff6 fs2 fc0 sc0 ls2c ws0">Organization<span class="ff5 ls29 ws2b"> <span class="_ _17"> </span>This application note inclu<span class="_ _1"></span>des the following sections. </span></div><div class="t m0 x1 h3 y32 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xa h3 y33 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 lsb ws30"> Overview </span></div><div class="t m0 xa h3 y34 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 ls2 ws3"> <span class="_ _10"></span>Flash self programming library </span></div><div class="t m0 xa h3 y35 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 ls2 ws3"> <span class="_ _10"></span>Example of rewriting progr<span class="_ _1"></span>ams </span></div><div class="t m0 xa h3 y36 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 ls2d ws31"> Appendix </span></div><div class="t m0 x1 h8 y37 ff6 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xa h3 y38 ff5 fs2 fc0 sc0 lsf ws32">This application note introduces e<span class="_ _1"></span>xamples<span class="ls2e ws33"> of programs that <span class="ls2f ws34">appl<span class="_ _1"></span>y the Flash Self </span></span></div><div class="t m0 xa h3 y39 ff5 fs2 fc0 sc0 ls30 ws35">Programming Library o<span class="_ _1"></span>n the QB-R5F100LE-T<span class="_ _1"></span>B ev<span class="ls31 ws36">aluation board. For this reason, <span class="_ _1"></span>you will </span></div><div class="t m0 xa h3 y3a ff5 fs2 fc0 sc0 ls27 ws28">need to obtain a QB-R5F100L<span class="_ _1"></span>E-TB if you wish<span class="ls32 ws37"> to run the provided s<span class="_ _1"></span>ample programs. </span></div><div class="t m0 xa h3 y3b ff5 fs2 fc0 sc0 ls33 ws38">Evaluating programs on the QB-R5F<span class="_ _1"></span>100LE-TB al<span class="_ _1"></span><span class="ws39">so requires other items such as an E1 </span></div><div class="t m0 xa h3 y3c ff5 fs2 fc0 sc0 ls32 ws3a">emulator, UART-RS-232C co<span class="_ _1"></span>nverter, and exter<span class="ls27 ws3b">nal po<span class="_ _1"></span>wer supply. For how to purchase the </span></div><div class="t m0 xa h3 y3d ff5 fs2 fc0 sc0 ls34 ws3c">E1 emulator and UART-RS-232C converter or ot<span class="ls35">her inquiries, contact your local d<span class="_ _1"></span>istributor. </span></div><div class="t m0 x3 h9 y3e ff5 fs8 fc0 sc0 ls0 ws0"> </div><div class="t m0 xb h3 y3f ff5 fs2 fc0 sc0 ls27 ws3d">Figure QB-R5F100LE-T<span class="_ _1"></span>B <span class="_ _4"></span>Evaluation <span class="_ _4"></span>Board </div><div class="t m0 xc h3 y40 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xc h3 y41 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xc h3 y42 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xc h3 y43 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xc h3 y44 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h8 y45 ff6 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h8 y46 ff6 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xd h3 y47 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h8 y48 ff6 fs2 fc0 sc0 ls36 ws0">Conventions<span class="ff5 ls0"> <span class="_ _18"> </span></span><span class="ls29 ws2b">Data significance<span class="ff5 ls2e ws3e">: <span class="_ _d"> </span> <span class="_ _d"> </span>Higher-order digits to the left and lo<span class="_ _1"></span>wer-order digits to the right </span></span></div><div class="t m0 x1 h8 y49 ff6 fs2 fc0 sc0 ls37 ws3f"> <span class="_ _19"> </span>Active low representations<span class="ff5 ls0 ws0">:<span class="ff6"> <span class="_ _d"> </span></span> <span class="_ _d"> </span><span class="ff8">xxx</span><span class="ls33 ws40"> (overscore over pin and signal name) </span></span></div><div class="t m0 x1 h8 y4a ff5 fs2 fc0 sc0 ls0 ws0"> <span class="_ _19"> </span><span class="ff6 ls37">Note</span><span class="ls38 ws41">: <span class="_ _d"> </span> <span class="_ _d"> </span>Footnote for item marked with </span><span class="ff6 ls37">Note</span><span class="ls39 ws42"> in the text. </span></div><div class="t m0 x1 h8 y4b ff5 fs2 fc0 sc0 ls0 ws0"> <span class="_ _19"> </span><span class="ff6 ls3">Caution</span><span class="ls32 ws37">: <span class="_ _d"> </span> <span class="_ _d"> </span>Information requiring particular at<span class="_ _1"></span>tention </span></div><div class="t m0 x1 h8 y4c ff5 fs2 fc0 sc0 ls0 ws0"> <span class="_ _19"> </span><span class="ff6 ls3a">Remark</span><span class="ls31 ws43">: Supplementar<span class="_ _1"></span>y <span class="_ _4"></span>information </span></div><div class="t m0 x1 h8 y4d ff5 fs2 fc0 sc0 ls0 ws0"> <span class="_ _19"> </span><span class="ff6 ls3b ws44">Numeral representation</span><span class="ws45">: <span class="_ _1a"> </span>Binary ... xxxx or xxxxB </span></div><div class="t m0 x1 h3 y4e ff5 fs2 fc0 sc0 ls3c ws46"> <span class="_ _1b"> </span> <span class="_ _1c"> </span>Decimal ... xxxx </div><div class="t m0 x1 h3 y4f ff5 fs2 fc0 sc0 ls3d ws47"> <span class="_ _1b"> </span> <span class="_ _1c"> </span>Hexadecimal ... xxxxH </div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>
<div id="pf4" class="pf w0 h0" data-page-no="4"><div class="pc pc4 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/bg4.jpg"><div class="t m0 x1 h5 y12 ff5 fs4 fc0 sc0 lse wsd">RL78/G13 <span class="_ _6"> </span>Flash Self Programming: Execution </div><div class="t m0 x1 h3 y2 ff5 fs2 fc0 sc0 ls2 ws3">R01AN0718EJ010<span class="_ _1"></span>2 <span class="_ _d"> </span> <span class="_ _d"> </span>Rev.1.02 <span class="_ _11"> </span> <span class="_ _12"> </span> <span class="_ _13"> </span>Page 4 of 52 </div><div class="t m0 x1 h3 y3 ff5 fs2 fc0 sc0 ls2 ws3">Feb 15, 2013<span class="fs0 ls0 ws0"> </span></div><div class="t m0 xd h3 y50 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h8 y51 ff6 fs2 fc0 sc0 ls3e ws48">Related Documents </div><div class="t m0 x1 h8 y52 ff6 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 xe ha y53 ff5 fs0 fc0 sc0 ls3f ws49">IDE/Title Document <span class="_ _1d"></span>No. </div><div class="t m0 xf ha y54 ff5 fs0 fc0 sc0 ls40 ws4a">RL78 Microcontrollers Flash Se<span class="ls41 ws4b">lf Programming Library Type01 </span></div><div class="t m0 xf h3 y55 ff5 fs2 fc0 sc0 ls42 ws4c">User’s Manual</div><div class="t m0 x10 hb y56 ff5 fs9 fc0 sc0 ls43 ws4d">Note 1</div><div class="t m0 x11 ha y55 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y57 ff5 fs0 fc0 sc0 ls41 ws0">R01US0050 </div><div class="t m0 xf ha y58 ff5 fs0 fc0 sc0 ls40 ws4a">RL78 Microcontrollers Flash Se<span class="ls41 ws4b">lf Programming Library Type01 </span></div><div class="t m0 xf ha y59 ff5 fs0 fc0 sc0 ls44 ws4e">V2.20 Release Note</div><div class="t m0 x13 hb y5a ff5 fs9 fc0 sc0 ls43 ws0">Note1</div><div class="t m0 x14 ha y5b ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y5c ff5 fs0 fc0 sc0 ls45 ws0">R20UT0777 </div><div class="t m0 x15 ha y5d ff5 fs0 fc0 sc0 ls44 ws4f">CubeSuite+ V1.03.00 <span class="_ _4"></span>Release <span class="_ _1e"></span>Note</div><div class="t m0 x16 hb y5e ff5 fs9 fc0 sc0 ls46 ws50">Note 2</div><div class="t m0 x17 ha y5d ff5 fs0 fc0 sc0 ls45 ws51"> R20UT2259 </div><div class="t m0 x15 ha y5f ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y60 ff5 fs0 fc0 sc0 ls47 ws52">User’s Manual: Start</div><div class="t m0 x18 hb y61 ff5 fs9 fc0 sc0 ls46 ws50">Note 2</div><div class="t m0 x19 ha y62 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y63 ff5 fs0 fc0 sc0 ls45 ws0">R20UT2133 </div><div class="t m0 x15 ha y64 ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y65 ff5 fs0 fc0 sc0 ls48 ws53">User’s Manual: </div><div class="t m0 x1a hc y66 ff5 fsa fc0 sc0 ls49 ws54">RL78 Design</div><div class="t m0 x1b hb y67 ff5 fs9 fc0 sc0 ls43 ws4d">Note 2</div><div class="t m0 x1c ha y66 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1d hc y64 ff5 fsa fc0 sc0 ls49 ws0">R20UT2136<span class="fs0 ls0"> </span></div><div class="t m0 x15 ha y68 ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y69 ff5 fs0 fc0 sc0 ls4a ws55">User’s Manual: Analysis</div><div class="t m0 x1e hb y6a ff5 fs9 fc0 sc0 ls43 ws4d">Note 2</div><div class="t m0 x1b ha y6b ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y6c ff5 fs0 fc0 sc0 ls45 ws0">R20UT2146 </div><div class="t m0 x15 ha y6d ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y6e ff5 fs0 fc0 sc0 ls4a ws55">User’s Manual: Message</div><div class="t m0 x14 hb y6f ff5 fs9 fc0 sc0 ls43 ws4d">Note 2</div><div class="t m0 x1f ha y70 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y71 ff5 fs0 fc0 sc0 ls45 ws0">R20UT2147 </div><div class="t m0 x15 ha y72 ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y73 ff5 fs0 fc0 sc0 ls3f ws4e">User’s Manual: RL78 Debug</div><div class="t m0 x20 hb y74 ff5 fs9 fc0 sc0 ls43 ws56">Note 2</div><div class="t m0 x21 ha y75 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y76 ff5 fs0 fc0 sc0 ls45 ws0">R20UT2145 </div><div class="t m0 x15 ha y77 ff5 fs0 fc0 sc0 ls3f ws57">CubeSuite+ RL78,78K0R Compiler CA78K0R V V1.50 Release Note</div><div class="t m0 x22 hb y78 ff5 fs9 fc0 sc0 ls43 ws0">Note2</div><div class="t m0 x23 ha y77 ff5 fs0 fc0 sc0 ls45 ws58"> R20UT2261 </div><div class="t m0 x15 ha y79 ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y7a ff5 fs0 fc0 sc0 ls3f ws4e">User’s Manual: RL78, 78K0R Coding</div><div class="t m0 x24 hb y7b ff5 fs9 fc0 sc0 ls43 ws4d">Note 2</div><div class="t m0 xb ha y7c ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y7d ff5 fs0 fc0 sc0 ls45 ws0">R20UT2140 </div><div class="t m0 x15 ha y7e ff5 fs0 fc0 sc0 ls44 ws4e">CubeSuite+ V1.03.00 Integrated Development Environment </div><div class="t m0 x15 ha y7f ff5 fs0 fc0 sc0 ls47 ws52">User’s Manual: RL78, 78K0R Build</div><div class="t m0 x1c hb y80 ff5 fs9 fc0 sc0 ls43 ws0">Note2</div><div class="t m0 x25 ha y81 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x12 ha y82 ff5 fs0 fc0 sc0 ls45 ws0">R20UT2143 </div><div class="t m0 x1 h3 y83 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h3 y84 ff5 fs2 fc0 sc0 ls28 ws59">Notes: <span class="_ _4"></span>1. This document should be instal<span class="ls32 ws3a">led togeth<span class="_ _1"></span>er with Ver. 2.20 of the Type <span class="ls31 ws5a">01 Flash Self Programming Library. For </span></span></div><div class="t m0 x26 h3 y85 ff5 fs2 fc0 sc0 ls35 ws5b">the topics that are not covered in t<span class="ls27 ws5c">he "Flas<span class="_ _1"></span>h Self Programming Libr<span class="_ _1"></span>ary Type01 User’<span class="_ _1"></span>s Manual," refer to "RL7<span class="_ _1"></span>8 </span></div><div class="t m0 x26 h3 y86 ff5 fs2 fc0 sc0 ls29 ws2b">Microcontrollers Flash Self Programmi<span class="_ _1"></span>ng <span class="ls4b ws5d">Library T<span class="_ _1"></span>ype01 Ver.2.20 Release Note"</span></div><div class="t m0 x27 ha y87 ff5 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x26 h3 y88 ff5 fs2 fc0 sc0 ls31 ws5e">2. This document should <span class="_ _1"></span>be downloaded from the <span class="_ _1"></span>w<span class="ls4b ws5f">eb page entitled "C<span class="_ _1"></span>ubeSuite<span class="_ _1"></span><span class="ls27 ws60">+ Integrated Development<span class="_ _1"></span> </span></span></div><div class="t m0 x26 h3 y89 ff5 fs2 fc0 sc0 ls29 ws2b">Environment" at the Renesas websit<span class="_ _1"></span>e. </div><div class="t m0 x1 h3 y8a ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x28 h3 y8b ff5 fs2 fc0 sc0 ls29 ws61">Caution: The contents of <span class="ws62">the </span></div><div class="t m0 x29 h3 y8c ff5 fs2 fc0 sc0 ls29 ws62">above-listed documents are <span class="_ _1"></span>subject to change with<span class="ls3b ws63">out notice. Be sure to</span><span class="ls4c"> refer to the latest </span></div><div class="t m0 x2a h3 y8d ff5 fs2 fc0 sc0 ls31 ws64">edition of the relevant doc<span class="_ _1"></span>ument<span class="ls35 ws65">s in the design process etc. </span></div><div class="t m0 x28 hd y8e ff9 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x28 hd y8f ff9 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 hd y90 ff9 fs2 fc0 sc0 ls0 ws0"> </div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>
<div id="pf5" class="pf w0 h0" data-page-no="5"><div class="pc pc5 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625154c374bc5c01059a232a/bg5.jpg"><div class="t m0 x1 h5 y12 ff5 fs4 fc0 sc0 lse wsd">RL78/G13 <span class="_ _6"> </span>Flash Self Programming: Execution </div><div class="t m0 x1 h3 y2 ff5 fs2 fc0 sc0 ls2 ws3">R01AN0718EJ010<span class="_ _1"></span>2 <span class="_ _d"> </span> <span class="_ _d"> </span>Rev.1.02 <span class="_ _11"> </span> <span class="_ _12"> </span> <span class="_ _13"> </span>Page 5 of 52 </div><div class="t m0 x1 h3 y3 ff5 fs2 fc0 sc0 ls2 ws3">Feb 15, 2013<span class="fs0 ls0 ws0"> </span></div><div class="t m0 x2b h7 y13 ff5 fs6 fc0 sc0 ls4d ws66">Chapter <span class="_ _1f"></span>1 Overview </div><div class="t m0 x2c h3 y91 ff5 fs2 fc0 sc0 ls2 ws67">This application note i<span class="_ _1"></span>ntroduces<span class="lsf ws68"> the proc<span class="_ _1"></span>edures for flash self programmi<span class="_ _1"></span>ng <span class="ls28 ws69">of the code fl<span class="_ _1"></span>ash memory in an RL78/G13 </span></span></div><div class="t m0 x3 h3 y92 ff5 fs2 fc0 sc0 ls35 ws65">microcontroller using the RL78 Microco<span class="_ _1"></span>ntrollers <span class="ls28 ws6a">Flash Self Programming Libr<span class="_ _1"></span>ary Type01 V2.20. <span class="_ _d"> </span> </span></div><div class="t m0 x2c h3 y93 ff5 fs2 fc0 sc0 ls32 ws37">For details on “RL78 Microcontrollers Flas<span class="_ _1"></span>h Self Program<span class="ws65">ming Library T<span class="_ _1"></span>ype01,” refer to the following documents. </span></div><div class="t m0 x1 h3 y94 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x1 h3 y95 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 lsf ws6b"> RL78 Microcontrollers Flas<span class="_ _1"></span>h Self Programming Library <span class="_ _1"></span><span class="ls32 ws37">Type01 User’s Manual (Doc<span class="_ _1"></span>ument No.: R01US0050) </span></span></div><div class="t m0 x1 h3 y96 ff7 fs2 fc0 sc0 ls0 ws0"><span class="ff5 ls31 ws64"> RL78 Microcontrollers Flas<span class="_ _1"></span>h Self Programming Library T<span class="_ _1"></span>ype01 V2.20 </span></div><div class="t m0 x2d h3 y97 ff5 fs0 fc0 sc0 ls47 ws52">Release Note<span class="fs2 ls34 ws3c"> (Document No.: R20UT0777) </span></div><div class="t m0 x1 h3 y98 ff5 fs2 fc0 sc0 ls0 ws0"> </div><div class="t m0 x3 h3 y99 ff5 fs2 fc0 sc0 ls32 ws37">This chapter gives an overview of the RL78/G13's flash self<span class="_ _1"></span> programming functions. </div><div class="t m0 x3 h3 y9a ff5 fs2 fc0 sc0 ls0 ws0"> </div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div>