
ML62Q1000 Series User's Manual
Chapter 26 Code Option
FEUL62Q1000
26-4
26.2.3 Code Options 2 (CODEOP2)
This is the symbol assigned to address in the code option area of the program memory space (different from the special
function registers (SFR)).
Address:
(See Table 26-1)
Access:
R/W
Access size: 16 bits
Initial value: 0xFFFF (factory default setting for products with blank flash memory)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
CODEOP2
byte
−
−
Bit
CREM
APMD
−
CRES
1
CRES
0
CREA
15
CREA
14
CREA
13
CREA
12
−
−
−
−
−
−
−
−
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial
value
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Bit No.
Bit symbol
name
Description
15
CREMAPMD
This bit is used to control the initial value of Flash Remap Address Register (REMAPADD) at
the system reset.
0: The initial value of the REMAPADD consists of CREA15 to 12 bits and CRES1 to 0
bits
1: The initial value of the REMAPADD is 0x00
If setting this bit to "0", The initial value of the REMAPADD consists of CREA15 to 12 bits and
CRES1 to 0 bits. For details on REMAPADD, see Section 2.7.3 "Flash Remap Address
Register (REMAPADD)".
The MCU remaps to the address specified with the CREA15 to 12 bits and the CRES1 to 0
bits every time at the system reset. See also Section 2.8.3 "Code Option Remap".
The remap function is enabled by setting REMAPMD bit of the Code Options 0.
14
-
Reserved bit
13, 12
CRES1 to
CRES0
These bits are used to set the initial values of RES1 to RES0 bits of the Flash Remap
Address Register (REMAPADD).
11 to 8
CREA15 to
CREA12
These bits are used to set the initial values of REA15 to REA12 bits of the Flash Remap
Address Register (REMAPADD).
7 to 0
-
Reserved bits
CPU instruction execution start addresse after releasing the reset
Reset
REMAPMD
CREMAPMD
Remap function
CPU instruction execution start
addresse
CPU reset
(BRK instruction)
1
1
Diable
0x0000
1
0
0
1
Enable
(Software Remap)
Address set in the REMAPADD
register
0
0
LSI system reset
1
1
Disable
0x0000
1
0
0
1
Enable
(Code Option Remap)
Initial data of the REMAPADD
register
(data set by the Code Options 2)
0
0
See Section 2.7.3 "Flash Remap Address Register (REMAPADD)" and Section 2.8.3 "Code Option Remap".
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...