
421
CHAPTER 21 FLASH MEMORY
21.3 Flash Memory Operation
MB91130 provides the following two modes for accessing flash memory via the FR-
CPU:
• FR-CPU ROM mode
In this mode, word data (32 bits) can be collectively read but cannot be written.
• FR-CPU programming mode
In this mode, access to word data (32 bits) is inhibited but half word data (16 bits) can
be written.
■
FR-CPU ROM mode (32 bits, read only)
In this mode, the flash memory functions as the internal ROM of the FR-CPU. In this mode,
word data (32 bits) can be collectively read but data cannot be written to flash memory and
automatic algorithms cannot be activated.
❍
Mode specification method
•
When the WE bit of the flash memory status register (FLCR) is set to 0, the MB91130 enters
FR-CPU ROM mode.
•
When the CPU is in operation, MB91130 always enters FR-CPU ROM mode after reset has
been released.
•
When the CPU is not in operation, MB91130 cannot enter FR-CPU ROM mode.
❍
Description of operation
•
When the flash memory area is read, word data (32 bits) is collectively read from the
memory.
•
The number of cycles required to read data is 2 cycles per word (1 wait). This enables
instructions to be supplied to the FR-CPU without wait.
❍
Restrictions
•
The addressing method and endian mode used when the ROM writer writes data to flash
memory differ from those used in FR-CPU ROM mode.
•
In FR-CPU ROM mode, commands and data cannot be written to flash memory.
■
FR-CPU programming mode (16 bits, read/write)
In this mode, data can be erased and written. Word data (32 bits) cannot be collectively
accessed; when the MB91130 is operating in this mode, programs in flash memory cannot be
executed.
❍
Mode specification method
•
When the WE bit of the flash memory status register (FLCR) is set to 1, the MB91130 enters
FR-CPU programming mode.
•
When the CPU is in operation, the WE bit is kept at 0 after reset has been released. To set
FR-CPU programming mode, set the WE bit to 1. When the WE bit is again set to 0 or when
the WE bit is set to 0 because of a reset, the FR-CPU programming mode switches to FR-
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......