mpc82l54 Megawin Technology, mpc82l54 Datasheet - Page 62
mpc82l54
Manufacturer Part Number
mpc82l54
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC82L54.pdf
(74 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mpc82l54AT
Manufacturer:
MOTO
Quantity:
95
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