04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 29 ON-CHIP DEBUG FUNCTION<br />

Boot cruster 1<br />

Boot cruster 0<br />

Figure 29-2. Memory Spaces Where Debug Monitor Programs Are Allocated<br />

Note 1<br />

04000H<br />

020D8H<br />

020CEH<br />

020C4H<br />

020C3H<br />

02002H<br />

02000H<br />

000D8H<br />

000CEH<br />

000C4H<br />

000C3H<br />

00002H<br />

00000H<br />

Code flash memory<br />

Use prohibited<br />

(512 bytes or<br />

256 bytes Note 2 )<br />

Debug monitor area<br />

(10 bytes)<br />

Security ID area<br />

(10 bytes)<br />

Debug monitor area<br />

(2 bytes)<br />

Note 3<br />

Debug monitor area<br />

(10 bytes)<br />

Security ID area<br />

(10 bytes)<br />

Debug monitor area<br />

(2 bytes)<br />

Note 3<br />

Code flash<br />

area<br />

On-chip debug option byte area<br />

(1 byte)<br />

On-chip debug option byte area<br />

(1 byte)<br />

Internal RAM<br />

SFR area<br />

Stack area for debugging<br />

Note 4<br />

(4 bytes)<br />

Mirror area<br />

: Area used for on-chip debugging<br />

Notes 1. Address differs depending on products as follows.<br />

Products (code flash memory capacity) Address of Note 1<br />

R5F10CGB 05C00H to 05FFFH<br />

R5F10CGC, R5F10DGC 07C00H to 07FFFH<br />

R5F10CxD, R5F10DxD (x = G, L, M) 0BC00H to 0BFFFH<br />

R5F10CME, R5F10DxE (x = G, L, M, P) 0FC00H to 0FFFFH<br />

R5F10DxF (x = M, P) 17C00H to 17FFFH<br />

R5F10DxG (x = M, P) 1FC00H to 1FFFFH<br />

R5F10DxJ, R5F10TPJ (x = M, P) 3FC00H to 3FFFFH<br />

Internal RAM<br />

area<br />

2. When real-time RAM monitor (RRM) function and dynamic memory modification (DMM) function are not<br />

used, it is 256 bytes.<br />

3. In debugging, reset vector is rewritten to address allocated to a monitor program.<br />

4. Since this area is allocated immediately before the stack area, the address of this area varies depending on<br />

the stack increase and decrease. That is, 4 extra bytes are consumed for the stack area used.<br />

When using self-programming, 12 extra bytes are consumed for the stack area used.<br />

R01UH0317EJ0004 Rev. 0.04 1185<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!