Renesas M3A-HS19G50 Installation Manual page 68

Sh7619 cpu board
Table of Contents

Advertisement

5
(c) Setting example (Transfers the vector table section DINTTBL to the on-chip RAM)
To accelerate the interrupt response speed, transfer the vector table to the on-chip RAM.
To transfer a vector table, set the Section of the vector table on the ROM as "DINTTBL", the Section on the transfer
destination RAM as "RINTTBL" in the file "dbsct.c" added in section 5.3.3 in this manual.
Section definition for vector table:
• Section name for vector table (ROM section): DINTTBL
• Transfer destination section name (RAM section): RINTTBL
Followings are steps to move the DINTTBL section from ROM to the on-chip RAM in the sample program.
(1) Set the RINTTBL section to on-chip RAM area in [Section] dialog box as shown in Figure 5.3.17.
"Address": 0xE55FC000
"Section": RINTTBL
Note: When setting the address as above, set the CPU Vector base register. This sample software sets the
vector base register in the reset exception handling in the "resetprg.c" file.
Set section addresses of
RINTTBL, B, and R to
0xE55FC000
Rev. 1.00 July 11, 2008
REJ10J1328-0100
Creating and Running a New Project Workspace
Figure 5.3.17 Change Section (1/3)
5.3.5 Set Link/Library
5-18

Advertisement

Table of Contents
loading

Table of Contents