
Ordering Mask ROM
17-2
17.1 Overview
This chapter describes the procedure for ordering mask ROM. This chapter also describes the difference in
programming when using a product that has on-chip flash memory versus a mask product, and explains how to
order ROM, etc.
17.2 Procedure for Ordering ROM
When program development with a product that has on-chip flash memory has been conducted using a flash overwrite
program (loader program), process the flash memory program by either of the following methods when ordering
the mask ROM product.
[Ordering method 1]
Refer to Fig. 17-2-1.
Delete the loader program portion (8 KB), and then recompile so that the start of the user program is located at
x’40000000. (The address x’40000008 should be used as the starting address for the user non-maskable interrupt
processing routine. This is not necessary if non-maskable interrupts are not being used, however.)
When using this method, however, the program must be relocatable.
[Ordering method 2]
Refer to Fig. 17-2-2.
Rewrite the loader program so that the user program executes without referencing the flash memory mode register
(FLMODR).
Because the execution address after a reset state is released is x’40000000, and the execution address when a non-
maskable interrupt is generated is x’40000008, place an instruction that branches to the start of the user program in
address x’40000000, and place an instruction that branches to the start of the user non-maskable interrupt processing
routine in address x’40000008.
If the user is not using non-maskable interrupt processing, the branch instruction in address x’40000008 is not
needed.
Fig. 17-2-1 ROM Ordering Method 1
Program in flash memory
Program in mask ROM
x'40000000
x'40000000
x'40002000
User program
User program
Loader program
8 KB
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...