mpc82l54 Megawin Technology, mpc82l54 Datasheet - Page 62

no-image

mpc82l54

Manufacturer Part Number
mpc82l54
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mpc82l54AE2
Quantity:
160
Part Number:
mpc82l54AT
Manufacturer:
MOTO
Quantity:
95
Company:
Part Number:
mpc82l54AT2
Quantity:
33
62
Procedures demonstrating ISP function
IFMT ← xxxxx001
ISPCR ← 100xx010
IFADRH ← (Address high byte)
IFADRL ← (Address low byte)
SCMD ← 46h
SCMD ← B9h
(CPU progressing will be hold here)
(CPU continues and currently IFD contain the desired data byte )
IFMT ← xxxxx010
ISPCR ← 100xx010
IFADRH ← (Address high byte)
IFADRL ← (Address low byte)
IFD ← (byte date to be written into flash)
SCMD ← 46h
SCMD ← B9h
(CPU progressing will be hold here)
(CPU continues)
IFMT ← xxxxx011
ISPCR ← 100xx010
IFADRH ← (page address high byte)
IFADRL ← (page address low byte)
SCMD ← 46h
SCMD ← B9h
(CPU progressing will be hold here )
(CPU continues)
B
B
B
B
B
B
MPC82x54A Data Sheet
Erase a specific flash page
Program a byte into flash
Read a byte from flash
/* set ISPEN=1 to enable flash change.
/* set ISPEN=1 to enable flash change.
/* set ISPEN=1 to enable flash change.
/* specify the address to be read */
/* choice page-erasing command */
/* specify the address of the page to be erased */
/* prepare data source */
set WAIT=010, 11 MC; assumed 10M X’s*/
set WAIT=010, 60 MC; assumed 10M X’s*/
/* specify the address to be programmed */
/* choice byte-read command */
set WAIT=010, 10942 MC; assumed 10M X’s*/
/* trig ISP activity */
/* choice byte-programming command */
/* trig ISP activity */
/* trig ISP activity */
MEGAWIN

Related parts for mpc82l54