Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-MR30-981216D

MR30
Precaution

Please take note of the following problems in using real-time OS MR30 for the M16C/60 and M16C/20 series of microcomputers.


Problem on SB Register (for MR30 V.3.00 Release 1 Only)
Inside the system clock interrupt handler and system call routine, MR30 uses variables addressed in the SB relative addressing mode. Hence, altering the contents of the SB register in tasks and task-independent sections will cause the user's system to malfunction. To prevent this the contents of the SB register must not be altered.
[Example]
---------------------------------------------------------------------- 
                                                                       
   _task:
               :
          pushc SB
          ldc  #800h,SB  <----- must not be altered
               :
          popc  SB
                                                                       
---------------------------------------------------------------------- 

Problem on M16C/62 Group MCUs
As the timer for generating the system clock of MR30, use any one of timers A0--A4 and B0--B2 provided for the M16C/62 group MCUs. The other timers, B3, B4, and B5, cannot be used for this purpose.





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