Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
24.3 Format of On-chip Debug Option Byte ................................................................................. 798
24.4 Setting of Option Byte ............................................................................................................ 799
CHAPTER 25 FLASH MEMORY .......................................................................................................... 800
25.1 Serial Programming Using Flash Memory Programmer ..................................................... 802
25.1.1 Programming environment.......................................................................................................... 804
25.1.2 Communication mode................................................................................................................. 804
25.2 Serial Programming Using External Device (that Incorporates UART)............................. 805
25.2.1 Programming environment.......................................................................................................... 805
25.2.2 Communication mode................................................................................................................. 806
25.3 Connection of Pins on Board................................................................................................. 807
25.3.1 P40/TOOL0 pin........................................................................................................................... 807
25.3.2 RESET pin.................................................................................................................................. 807
25.3.3 Port pins...................................................................................................................................... 808
25.3.4 REGC pin.................................................................................................................................... 808
25.3.5 X1 and X2 pins ........................................................................................................................... 808
25.3.6 Power supply .............................................................................................................................. 808
25.4 Serial Programming Method .................................................................................................. 809
25.4.1 Serial programming procedure ................................................................................................... 809
25.4.2 Flash memory programming mode............................................................................................. 810
25.4.3 Selecting communication mode.................................................................................................. 812
25.4.4 Communication commands ........................................................................................................ 812
25.5 Processing Time for Each Command When PG-FP5 Is in Use (Reference Value)........... 814
25.6 Self-Programming ................................................................................................................... 815
25.6.1 Self-programming procedure ...................................................................................................... 816
25.6.2 Boot swap function ..................................................................................................................... 817
25.6.3 Flash shield window function ...................................................................................................... 819
25.7 Security Settings..................................................................................................................... 820
25.8 Data Flash ................................................................................................................................ 822
25.8.1 Data flash overview .................................................................................................................... 822
25.8.2 Register controlling data flash memory....................................................................................... 822
25.8.3 Procedure for accessing data flash memory............................................................................... 823
CHAPTER 26 ON-CHIP DEBUG FUNCTION ..................................................................................... 824
26.1 Connecting E1 On-Chip Debugging Emulator ..................................................................... 824
26.2 On-Chip Debug Security ID .................................................................................................... 825
26.3 Securing of User Resources .................................................................................................. 825
CHAPTER 27 BCD CORRECTION CIRCUIT ..................................................................................... 827
27.1 BCD Correction Circuit Function........................................................................................... 827
27.2 Registers Used by BCD Correction Circuit .......................................................................... 827
27.2.1 BCD correction result register (BCDADJ) ................................................................................... 827
27.3 BCD Correction Circuit Operation......................................................................................... 828
CHAPTER 28 INSTRUCTION SET....................................................................................................... 830
Index-12