Renesas M3T-ICC740 Información técnica Pagina 33

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 53
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 32
31
Note, however, that if you change the stack area to page 0, you also need to alter the
cstartup.s31 file.
6.2.2. Changing the Beginning Address of Page 0
The ICC740 requires that the RAM area be set separately for page 0 and page N (from the
address 100h on). To set page 0, specify -Z(ZPAGE).
-Z(ZPAGE)ZPAGE,C_ARGZ,Z_UDATA,Z_IDATA=41-FF
The above setting directs that the ZPAGE, C_ARGZ, Z_UDATA and Z_IDATA segments be
located in a RAM space from the address 41h to the address FFh following the SFR area
(0h–40h). Because these segments are intended for use by the ICC740, do not delete them.
An example of how to change is shown below.
Example: For the microcomputers whose SFR area is not set beginning with the address 0h
as in the case of the 7220 series, change the settings of page 0 as follows:
-Z(ZPAGE)ZPAGE,C_ARGZ,Z_UDATA,Z_IDATA=0-BF
the case of the 7220 series
, change the settings of page 0 as follows:
6.2.3. Changing the Ending Address of Page N
To set page N, specify -Z(NPAGE).
For the ending address of page N, set the ending address of the RAM of the target
microcomputer.
-Z(NPAGE)NPAGE,C_ARGN,N_UDATA,N_IDATA,ECSTR=100-43F
The above setting directs that the NPAGE, C_ARGN, N_UDATA, N_IDATA and ECSTR
segments be located in a RAM space from the address 100h to the address 43Fh. Because
these segments are intended for use by the ICC740, do not delete them.
If the CSTACK segment is located in one page, the NPAGE segment is located
beginning
with the address following the CSTACK segment (with standard settings, the address 140h).
For the ending address of page N, set the last address of the RAM area in the target
microcomputer. This setting will allow you to inspect overflow in the RAM area.
For the microcomputers whose SFR area exists also in page N as in the case of the 38C2
Vista de pagina 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 52 53

Comentarios a estos manuales

Sin comentarios