CHAPTER 12 NBD FUNCTION (
µµµµ
PD70F3116)
633
User’s Manual U14492EJ3V0UD
(2) Access to NBD space
The following are the commands for reading and writing NBD space from the NBD tool. For NBD space, an
access address is 12-bit fixed-length and the access data is 8-bit fixed-length.
(a) Write command
The address (NBD space address: 12 bits) at which a write to NBD space is to be made and the data are
received from the NBD tool as a command packet. After receiving the command packet shown in Table
12-6 from the NBD tool, a Ready command is output following write termination.
Command packets can be received once more from the NBD tool (after Ready command SYNC inactive
confirmation).
Table 12-6. Command Packet (On a Write to NBD Space)
ADn_DBG
AD3_DBG
AD2_DBG
AD1_DBG
AD0_DBG
1st
0
0
0
0
2nd
0
0
1
0
3rd
A3
A2
A1
A0
4th
A7
A6
A5
A4
5th
A11
A10
A9
A8
6th
D3
D2
D1
D0
7th
D7
D6
D5
D4
Caution
An NBD space write address is 12-bit fixed-length.
The write data is 8-bit fixed-length.
(b) Read command
The target address (real address of target: 12 bits) at which to read from internal RAM is received as a
command packet from the NBD tool. After receiving the command packet from the NBD tool, a Ready
command is output, SYNC is made inactive, and the data at the address specified by the command
packet is transmitted to the NBD tool.
Table 12-7. Command Packet (On a Read of NBD Space)
ADn_DBG
AD3_DBG
AD2_DBG
AD1_DBG
AD0_DBG
1st
0
0
0
0
2nd
0
0
0
0
3rd
A3
A2
A1
A0
4th
A7
A6
A5
A4
5th
A11
A10
A9
A8
Caution
An NBD space read address is 12-bit fixed-length.
In read mode, the output data section from the NBD tool is deleted.