Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MAEC TOOL NEWS: MAECT-NC79WA-010616D

NC79WA
Precaution

Please take note of the following problem in using C compiler NC79WA for the 7900 series MCUs:
  • On changing memory mapping in the startup program


  1. Versions Concerned
    NC79WA V.2.00 Release 1 -- NC79WA V.4.10 Release 1


  2. Description
    In startup programs ncrt0.a79 and sect79.inc stored respectively in directory \src79\startup and \smp79 under the directory where NC79WA has been installed, the interrupt vector table and the addresses of the interrupt processing function are for the 7902 group of MCUs. So, if NC79WA is used for microcomputers belonging to other groups than the 7902 group, for example, the 7910 or 7911 group, modify the interrupt vector table and the addresses of the interrupt processing function according to microcomputers involved.


  3. Modifications
    Below shown are examples of modifications for the 7910/7911 group MCUs.
    For other groups of MCUs, see their data sheets and others.
    3.1 Interrupt Vector Tables
    ------------------------------------------------------------------
    Default startup program sect79.inc:
                   .section     vector  
                   .org         00ffc0H 
         DMA3:     .word        dummy_int
                     :       
                     :       
    
    Modified startup program sect79.inc for the 7910/7911 group:
                   .section     vector  
                   .org         7fffb0H
         RESERVED15:  .word     OFFSET dummy_int   ;  Note 1
                     :       
                     :     
    ------------------------------------------------------------------
    Note: 1. Assembler directive "OFFSET" must be added to the branch label in the interrupt vector table.

    3.2 Addresses of Interrupt Processing Functions
    ------------------------------------------------------------------
    Default startup program sect79.inc: 
                    .section     interrupt
                    .org         004000H   
    
    Modified startup program sect79.inc for the 7910/7911 group:
                    .section     interrupt
                    .org         7f0000H 
    ------------------------------------------------------------------





© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal