Fujitsu F2MC-16L Series User Manual page 13

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

Advertisement

user mode preset:
user sub mode:
Fig. 5: on-board mode switches block
The memory mapping is controlled by the two control bank registers and two switches:
Monitor Mode register, User Mode register, SW3/3 and SW3/4.
The Monitor (or Master) Mode Register (70000h) selects between Monitor Mode and User
Modes. If bit 0 is set to "0" Monitor Mode mapping is active and the other mapping controls
have no function at all. If bit 0 is set to "1" User Mode mapping is active. It is cleared on
Monitor Reset and set on User Reset.
The User Mode Register (70002h) selects between User Mode 0 and User Mode 1 if the
Monitor Mode register is set to "1" (User Mode). It is cleared on Monitor Reset. After User
Reset (User Reset button) it is set equivalent to User Mode Preset (SW3/3 position). The User
Mode Preset function is triggered off only by pressing the User Reset button. Software User
Reset (Monitor command) sets the User Mode register only if requested by parameter.
Software Reset (controller register) keeps this mapping unchanged.
The User Sub-Mode Switch (SW3/4) does only affect User Mode 1 and selects between User
Mode 1a and 1b. If the Monitor Mode register and the User Mode register are set to "1" the
selected sub-mode "b" (SW3/4 = off) causes the mapping of Module 1 to page F. In sub-mode
"a" (SW3/4 = on) RAM 3 is mapped to page F.
The relation of the controls to the memory modes shows following table:
Memory Mode
Monitor
User 0
User 1a
User 1b
The Run LED Register (70004h) controls the RUN LED. It does not affect any other
hardware. However, it is intended as a running-user-program indicator. The monitor clears this
register (LED on, inverse logic bit 0) when it releases the controller for user program and sets
the register (LED off) when it gains control back. Therefore, this register should not be used,
by the User' program.
The User LED Register (70006h) controls the separated red LED and works similar as the
RUN LED. This LED is intended for user's purpose. Writing "1" at bit position 0 switches the
LED on and writing "0" switches it off.
The External UART Register accesses the (external) on-board UART controller. Due to this
controller, the monitor is independent of the timing of the microcontroller's internal UART.
Therefore, the external UART Data Register (70008h) and external UART Status Register
(7000Ah) should not be accessed by the user.
© FUJITSU Mikroelektronik GmbH 1996
FUJITSU MB90675-Evaluation Board - User Manual
Mode Switches
"1"
internal
MD1-pin:
1
user mode
b
sub mode
Monitor Mode
Register
0
1
1
1
AAA
AAA
1
/HST-pull up
AAA
AAA
AAA
2
AAA
or "0"
external ROM
AAA
AAA
3
or 0 after user reset
AAA
AAA
AAA
4
or a if user mode 1
AAA
AAA
SW3
off
on
default setting
Board Controls
User Mode
Register
-
0
1
1
Sub-Mode
Switch SW3/4
-
-
On
Off
- 13 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90675 series

Table of Contents