Chapter 6 Cautions; Cautions When On-Chip Debug - Renesas QB-78K0KX1H-DA User Manual

On-chip debug emulator
Table of Contents

Advertisement

6.1 Cautions When On-chip Debug

(1) Reserved area used by QB-78K0MINI
The following reserved areas are used by QB-78K0MINI.
(a) Flash memory area
Addresses 0x02 and 0x03
Addresses 0x7E and 0x7F (when using a software break)
Address 0x84
Addresses 0x85 to 0x8E
Addresses 0x8F to 0x18F: Standard value of program
(+256 bytes when using pseudo real-time RAM monitor function)
(when using a device with 10 or more SFRs the can be accessed in 16-bit units: +n (the number of
exceeding registers x 6 bytes))
(b) Internal extended RAM area
Addresses 0xF7F0 to 0xF7FF
(when using pseudo real-time RAM monitor function)
(c) Internal high-speed RAM area
7 bytes as stack area: Standard value of stack
(+2 bytes when using software breaks)
(+7 bytes when using pseudo real-time RAM monitor function)
(2) Values at addresses 0x02, 0x03 and 0x8F or higher
Values other than 0xFF cannot be downloaded to address 0x02, 0x03 or the program area starting from address
0x8F. 0xFF is always displayed in the Memory window in order to prevent errors that occur by changing the
value. Uploaded data is also displayed as 0xFF. In addition, on-chip debugging cannot be performed on these
areas after they are overwritten by self programming.
(3) Values specified by linker option -go
Among the reserved areas used by QB-78K0MINI, the following areas can be secured using the linker option -go.
Addresses 0x02 and 0x03
(Size of program specified from address 0x8F) +1
Specify the -go option default value, 256, for the program size for on-chip debugging.
Standard
When using the pseudo real-time RAM monitor function, expand the program area by 256 bytes. When using a
device with 10 or more SFRs that can be accessed in 16-bit units, expand the program area for on-chip
debugging (default: 257 bytes of 0x8F to 0x18F) by the amount exceeding the 10-SFR area. As a rough guide,
add the number of exceeding registers x 6 bytes.
Specify the size of the program area as "default size (257 bytes) + (the number of exceeding registers x 6 bytes)
with the linker option.
The value specified by the option may change when the function is extended in future.
44

CHAPTER 6 CAUTIONS

Value Specified by Option
256
User's Manual U17029EJ3V0UM
Program Size
257
0x8F to 0x18F
Program Area

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qb-78k0miniQb-78k0mini-kf2Qb78k0miniee

Table of Contents