04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

28.1.1 Programming Environment......................................................................................................... 1163<br />

28.1.2 Communication Mode ................................................................................................................ 1163<br />

28.2 Writing to Flash Memory by Using External Device (that Incorporates UART) ..................... 1164<br />

28.2.1 Programming Environment......................................................................................................... 1164<br />

28.2.2 Communication Mode ................................................................................................................ 1165<br />

28.3 Connection of Pins on Board ...................................................................................................... 1166<br />

28.3.1 P40/TOOL0 pin .......................................................................................................................... 1166<br />

28.3.2 RESET pin.................................................................................................................................. 1166<br />

28.3.3 Port pins ..................................................................................................................................... 1167<br />

28.3.4 REGC pin ................................................................................................................................... 1167<br />

28.3.5 X1 and X2 pins........................................................................................................................... 1167<br />

28.3.6 Power supply.............................................................................................................................. 1167<br />

28.4 Data Flash...................................................................................................................................... 1168<br />

28.4.1 Data flash overview .................................................................................................................... 1168<br />

28.4.2 Register controlling data flash memory ...................................................................................... 1169<br />

28.4.3 Procedure for accessing data flash memory .............................................................................. 1170<br />

28.5 Programming Method .................................................................................................................. 1171<br />

28.5.1 Controlling flash memory............................................................................................................ 1171<br />

28.5.2 Flash memory programming mode............................................................................................. 1172<br />

28.5.3 Selecting communication mode.................................................................................................. 1173<br />

28.5.4 Communication commands........................................................................................................ 1174<br />

28.5.5 Description of signature data...................................................................................................... 1175<br />

28.6 Security Settings .......................................................................................................................... 1176<br />

28.7 Flash Memory Programming by Self-Programming ................................................................. 1178<br />

28.7.1 Boot swap function ..................................................................................................................... 1180<br />

28.7.2 Flash shield window function...................................................................................................... 1182<br />

CHAPTER 29 ON-CHIP DEBUG FUNCTION .................................................................................... 1183<br />

29.1 Connecting E1 On-chip Debugging Emulator to <strong>RL78</strong>/<strong>D1A</strong>..................................................... 1183<br />

29.2 On-Chip Debug Security ID ......................................................................................................... 1184<br />

29.3 Securing of User Resources ....................................................................................................... 1184<br />

CHAPTER 30 BCD CORRECTION CIRCUIT...................................................................................... 1186<br />

30.1 BCD Correction Circuit Function................................................................................................ 1186<br />

30.2 Registers Used by BCD Correction Circuit................................................................................ 1186<br />

30.3 BCD Correction Circuit Operation .............................................................................................. 1187<br />

CHAPTER 31 INSTRUCTION SET...................................................................................................... 1189<br />

31.1 Conventions Used in Operation List .......................................................................................... 1190<br />

31.1.1 Operand identifiers and specification methods...........................................................................1190<br />

Index-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!