User’s Manual U14359EJ4V0UM
18
14.3.1
Port 0 .........................................................................................................................................466
14.3.2
Port 1 .........................................................................................................................................469
14.3.3
Port 2 .........................................................................................................................................471
14.3.4
Port 3 .........................................................................................................................................475
14.3.5
Port 4 .........................................................................................................................................478
14.3.6
Port 5 .........................................................................................................................................481
14.3.7
Port 7 .........................................................................................................................................483
14.3.8
Port AL .......................................................................................................................................484
14.3.9
Port AH.......................................................................................................................................486
14.3.10 Port DL .......................................................................................................................................488
14.3.11 Port CS.......................................................................................................................................490
14.3.12 Port CT.......................................................................................................................................494
14.3.13 Port CM ......................................................................................................................................496
14.3.14 Port CD ......................................................................................................................................499
14.3.15 Port BD.......................................................................................................................................502
CHAPTER 15 RESET FUNCTIONS.................................................................................................... 504
15.1 Features ................................................................................................................................... 504
15.2 Pin Functions .......................................................................................................................... 504
15.3 Initialization ............................................................................................................................. 506
CHAPTER 16 FLASH MEMORY (
µµµµ
PD70F3107A) ........................................................................... 509
16.1 Features ................................................................................................................................... 509
16.2 Writing with Flash Programmer ............................................................................................ 509
16.3 Programming Environment ................................................................................................... 514
16.4 Communication Mode ............................................................................................................ 514
16.5 Pin Connection........................................................................................................................ 515
16.5.1
MODE2/V
PP
pin ..........................................................................................................................515
16.5.2
Serial interface pin .....................................................................................................................515
16.5.3
RESET pin .................................................................................................................................517
16.5.4
NMI pin.......................................................................................................................................517
16.5.5
MODE0 to MODE2 pins .............................................................................................................517
16.5.6
Port pins .....................................................................................................................................517
16.5.7
Other signal pins ........................................................................................................................517
16.5.8
Power supply..............................................................................................................................517
16.6 Programming Method............................................................................................................. 518
16.6.1
Flash memory control.................................................................................................................518
16.6.2
Flash memory programming mode ............................................................................................519
16.6.3
Selection of communication mode .............................................................................................519
16.6.4
Communication commands........................................................................................................520
16.7 Flash Memory Programming by Self-Programming............................................................ 521
16.7.1
Outline of self-programming .......................................................................................................521
16.7.2
Self-programming function .........................................................................................................522
16.7.3
Outline of self-programming interface ........................................................................................522
16.7.4
Hardware environment ...............................................................................................................523