English
Language : 

MC68HC908RF2 Datasheet, PDF (62/254 Pages) Motorola, Inc – HCMOS Microcontroller Unit
FLASH 2TS Memory
;**************************************************************
; CALLING EXAMPLE FOR REDUNDANT PROGRAM A ROW (REDPROG)
;**************************************************************
MOV #$56,DATA
MOV #’P’,DATA+1
MOV #’R’,DATA+2
MOV #’O’,DATA+3
MOV #’G’,DATA+4
MOV #’R’,DATA+5
MOV #’E’,DATA+6
MOV #’D’,DATA+7
MOV #$08,CPUSPD
MOV #$0A,BUMPS
LDHX #100000/24
STHX DERASE
;Load Bus frequency in MHz * 4
;Load max number of programming steps
;before a failure is returned
;Set erase time in uS/24
LDHX #$7808
STHX LADDR
LDHX #$7800
JSR REDPROG
;Load the last address of the multi-row
;range; (in this case, 2 rows)
;into LADDR
;Load the first address of the
;multi-row range into H:X
;Call through jump table.
4.12 Low-Power Modes
The WAIT and STOP instructions put the MCU in low power-
consumption standby modes.
4.12.1 Wait Mode
Advance Information
62
Putting the MCU into wait mode while the FLASH 2TS is in read mode
does not affect the operation of the FLASH 2TS memory directly, but
there will be no memory activity since the CPU is inactive.
The WAIT instruction should not be executed while performing a
program or erase operation on the FLASH 2TS. When the MCU is put
into wait mode, the charge pump for the FLASH 2TS is disabled so that
either a program or erase operation will not continue. If the memory is in
either program mode (PGM = 1, HVEN = 1) or erase mode (ERASE = 1,
HVEN = 1), then it will remain in that mode during wait. Exit from wait
mode must now be done with a reset rather than an interrupt because if
FLASH 2TS Memory
MC68HC908RF2 — Rev. 1
MOTOROLA