LAPIS Semiconductor ML62Q1000 Series User Manual page 749

Table of Contents

Advertisement

Figure 26-2 shows an example of a code option setting program (for products with the program memory space=64
Kbytes). The setting is described in the start-up file (ML621xxx.ASM) of each product.
Set every unused bit of the code option data area to "1".
For products with blank flash memory, every bit has been set to "1" as the factory default setting.
;--------------------------------------------------------------------
;
Filling the Test area at code memory
;--------------------------------------------------------------------
cseg #0 at
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
dw
cseg #0 at 0ffe0h
dw
....................................
....................................
Figure 26-2 Example of Code Option Data Program (for Products with the Program Memory Space = 64 Kbytes).
[Note]
Ÿ
For the code option data definition, always use the dw directive instruction to configure the data in the
unit of word.
FEUL62Q1000
0ffc0h
; address
0ffffh
; 0ffc0h
0ffffh
; 0ffc2h
0ffffh
; 0ffc4h
0ffffh
; 0ffc6h
0ffffh
; 0ffc8h
0ffffh
; 0ffcah
0ffffh
; 0ffcch
0ffffh
; 0ffceh
0eef8h ; 0ffd0h(CODEOP0)
; Unused ROM area access reset disabled, remapping operation enabled, WDT operation disabled
0fff9h
; 0ffd2h(CODEOP1)
; PLL frequency 24 MHz, CPU wait mode
0ffffh
; 0ffd4h
0ffffh
; 0ffd6h
0ffffh
; 0ffd8h
0ffffh
; 0ffdah
0ffffh
; 0ffdch
0ffffh
; 0ffdeh
; address
0ffffh
; 0ffe0h
ML62Q1000 Series User's Manual
Chapter 26 Code Option
26-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents