Appendix D: Monitor Software Notes, Restrictions And Recommendation - Fujitsu F2MC-16L Series User Manual

Hide thumbs Also See for F2MC-16L Series:
Table of Contents

Advertisement

7.4. Appendix D: Monitor Software Notes, Restrictions
and Recommendation
As mentioned in chapter 2, the Monitor software resides in an EPROM memory bank in the
upper address area XC0000h-XDFFFFh . Therefore, any address with upper bits (23..16)
----110- is accessing the monitor ROM.
In addition, some User RAM locations are reserved for monitor variables. Monitor reserved
RAM sections are:
a) A small section in the User RAM area (x90000h-x92800h). This section is used for
monitor variables
b) The control bank on page 7 contains only a few register but they are not completely
decoded. So, only the odd bytes of the control register are free (excluding the LED Display
registers).
c) The vector table entry for the INT9 instruction, (User RAM Address: FFFFD8-FFFFDBh)
is initialised with a vector to monitor ROM. The monitor does also use the Exception
interrupt (0Ah), but it may be occupied by the user. The external interrupt #3 (0Eh) and the
associated register ICR01 at B1h are used for the User Break function (see User Break), if
enabled.
External interrupt #3 shares ICR01 with external interrupt #2. Therefore, the User Break
handler checks if an external interrupt #3 has occurred. If not, it jumps to interrupt 0Dh
handler.
Other restrictions:
1.) Single Stepping certain code sequences:
Due to the implementation of the single step mechanism, the following assembler-code
constructions can not be single stepped:
Conditional Branch to the same or following address
-----------------------------------------------------
e.g.
LABEL1:
e.g.
FOLLA:
The single step and breakpoint handling needs a valid stack segment. Therefore, set
SSB:SSP/USB:USP to user RAM areas before reaching any breakpoint if the user program
starts on reset. On Monitor Reset SSB, USB are zero and SSP and USP are undefined.
3.) Processor Speed, Power Management Functions
When developing programs which utilise or activate special on-chip registers, be aware that the
monitor generally disables interrupts when it is active.
- 60 -
FUJITSU MB90675-Evaluation Board - User Manual
BBC 10:3,LABEL1
BNC FOLLA
xxx yyy,zzz
Use constructs like:
-----------------------------
LABEL:
NOP
BBC 10:3,LABEL
BNC FOLLA
FOLLA:
xxx yyy,zzz
© FUJITSU Mikroelektronik GmbH 1996

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90675 series

Table of Contents