Renesas M3T-ICC740 Informações Técnicas Página 31

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 53
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 30
29
6. Editing the Project
After you created a new project, you must edit cstartup.s31 and lnk740.xcl and change
options as necessary.
6.1. Editing cstartup.s31
In cstartup.s31, edit the items listed in Table 6 as necessary.
Table
Table Table
Table 6
66
6
Items to Edit in
Items to Edit in Items to Edit in
Items to Edit in cstartup.s31
Edit item Subject Corresponding line
Stack page Stack area Line 137
Interrupt vector area Target microcomputer Line 375
6.1.1. Changing the Stack Page
The line 137 in cstartup.s31 is used to set the stack page. Here, the stack page for the 3803
group CPU mode register is set to page 1.
LDM #0CH, 3BH ; set stack page : 3803 Group
Set the stack page to suit your target microcomputer.
If you set the stack page to page 0, you need to change CSTACK segment settings in the
lnk740.xcl file.
6.1.2. Changing the Interrupt Vector Area
The line 375 is used to set the size of the interrupt vector area. Here, the size of the
interrupt vector area in the 3803 group of microcomputers is set.
BLKB 0FFFEH - 0FFDCH - 2 ; 3803 Group
Area settings by BLKB requires that an amount equal to the vector size be subtracted by the
set area (as subtracted by 2 in the above setting).
Note, however, that the beginning address of the interrupt vector area is set in the lnk740.xcl
file.
Vista de página 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 52 53

Comentários a estes Manuais

Sem comentários