Startup Routine - Fujitsu FR60 Hardware Manual

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

20.5 Startup Routine

This section describes the startup routine.
■ Startup Routine
For the MB91302A-010, the startup routine init_MB91302A-010_rtos.asm is always located in
the startcode section. REALOS/FR stored in internal ROM directly references the _uinit and
_system_down labels defined in init_MB91302A-010_rtos.asm. Therefore, be sure to use
init_MB91302A-010_rtos.asm provided by Fujitsu as the startup routine and do not modify the
content. Updating the contents shifts the addresses of these labels referenced by REALOS/FR,
preventing normal operation.
The following explains the process flow of the subroutine coded in init_MB91302A-
010_rtos.asm. Of these, _csinit (bus setting/clock setting, etc.), _rtinit (reload timer setting), _init
(other user initialization setting), and _sysdwn (routine used the system goes down) are
subroutines called by the call instruction. These are created by the user to meet the system.
Figure 20.5-1 Flow for the Subroutine Coded in the Startup Routine
_system_entry
_R_init
Real - time OS normal processing
(task activation, dispatching, etc.)
CHAPTER 20 REAL-TIME OS EMBEDDED MB91302A-010 USER'S GUIDE
_csinit
Label defined in
init_MB91302A - 010_rtos.asm
referenced by REALOS/FR
_uinit
_rtinit
_init
_system_down
Label defined in
init_MB91302A - 010_rtos.asm
referenced by REALOS/FR
_sysdwn
521

Advertisement

Table of Contents
loading

Table of Contents