MPC82E52AE MEGAWIN [Megawin Technology Co., Ltd], MPC82E52AE Datasheet - Page 62

no-image

MPC82E52AE

Manufacturer Part Number
MPC82E52AE
Description
8-bit micro-controller
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MPC82E52AE
Manufacturer:
SST
Quantity:
1 363
62
Procedures demonstrating ISP function
not software reset.
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
MPC82x52A 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 MPC82E52AE