Nbd Function; Ram Monitoring, Accessing Nbd Space - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

12.4 NBD Function

12.4.1 RAM monitoring, accessing NBD space

The NBD function performs read and write operations on internal RAM data via DMA (direct memory access) for
addresses in internal RAM. It also performs reading or writing to NBD space.
(1) RAM monitoring
The following are the commands for reading and writing to internal RAM areas from the NBD tool.
(a) Write command
The target address (real address of target: lower 24 bits) at which a write to internal RAM is to be made
and the data are received from the NBD tool as a command packet. After receiving the command packet
shown below 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).
ADn_DBG
1st
2nd
3rd to 8th
9th to 16th
(b) Read command
The target address (real address of target: lower 24 bits) at which a read of internal RAM is to be made is
received from the NBD tool as a command packet. 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. The address (A27 to A24) during read is "1111".
ADn_DBG
1st
2nd
3rd to 8th
Caution In read mode, the output data section from the NBD tool is deleted.
ADn_DBG
1st to 8th
632
CHAPTER 12 NBD FUNCTION ( µ µ µ µ PD70F3116)
Table 12-3. Command Packet (On a Write)
AD3_DBG
AD2_DBG
0
0
SIZ1
SIZ0
Target space write address specification (24 bits)
Write data (data specified by SIZ0 and SIZ1)
Table 12-4. Command Packet (On a Read)
AD3_DBG
AD2_DBG
0
0
SIZ1
SIZ0
Target space read address specification (24 bits)
Table 12-5. Data Packet (On a Read)
AD3_DBG
AD2_DBG
Target space read data
User's Manual U14492EJ3V0UD
AD1_DBG
AD0_DBG
0
0
1
1
AD1_DBG
AD0_DBG
0
0
0
1
AD1_DBG
AD0_DBG

Advertisement

Table of Contents
loading

Table of Contents