English
Language : 

MG65P701A Datasheet, PDF (35/42 Pages) Megawin Technology Co., Ltd – Build-in a over current protection circuit
MG65P701A Datasheet
Version 2.00
18 In Application Programming(IAP)
Address
00FBH
Name
IAP_PR
Bit 7
PR7
Bit 6
PR6
Bit 5
PR5
Bit 4 Bit 3
PR4 PR3
Bit 2
PR2
Bit 1
PR1
Bit 0
PR0
RW
-√
PR7 ~ PR0: Write Protect Pattern.
IAP-memory block would be written by firmware, when IAP_WP is written “46H” then “B9H”.
The IAP_WP will be automatically cleared by next uC write action or OTP VPP falling edge.
Example:
Sei
lda
sda
lda
sta
lda
sta
lda
sta
lda
sta
cli
#78H
cwpr
#80H
SYS_ST ;;(B7H)
#46H
IAP_PR ;;(F1h)
#B9H
IAP_PR ;;(F1h)
#$40 ;;The data will be written into OTP.
$E000 ;;IAP_AREA (E000h ~ FFFFh)
IAP_PR is equal to “46H”+ “B9H”
Clear by hardware
IAP_PR
UC ADDRESS
IAP_ADDR
UC DATA
IAP-memory writing is invalid
IAP_ADDR
Fcpu
VPP(P1.0)
Fcpu stop
3V/5V
7.5V
Twidth > 500us
Tsetup > 1ms
OTP - memory would be written by firmware
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
35/42