參數(shù)資料
型號: MX10EXAQCG
廠商: MACRONIX INTERNATIONAL CO LTD
元件分類: 微控制器/微處理器
英文描述: XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
中文描述: 16-BIT, FLASH, 30 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 18/55頁
文件大?。?/td> 488K
代理商: MX10EXAQCG
18
P/N:PM0625
Specifications subject to change without notice, contact your sales representatives for the most update information.
REV. 1.0, JUL. 01, 2005
MX10EXA
In-Application Programming Method
Several Application Program Interface (API) calls are available for use by an application program to permit selective
erasing and programming of FLASH sectors. All calls are made through a common interface, PGM_MTP. The pro-
gramming functions are selected by setting up the microcontroller's registers before making a call to PGM_MTP at
FFFOH. Results are returned in the registers. The API calls are shown in Table 2.
Table 2. API calls
API CALL
PROGRAM DATA BYTE
PARAMETER
Input Parameters:
R0H
R6
R4L
Return Parameter
R4L
Input Parameters:
R0H = 01h or 93h
R6H = block number in bits 7:5, bits 4:0 = "0"
block 0 : R6H = 00h
block 1 : R6H = 20h
block 2 : R6H = 40h
block 3 : R6H = 80h
block 4 : R6H = C0h
REL = 00h
Return Parameter
R4L = 00 if pass, non-zero if fail
Input Parameters:
ROH =04h
Return Parameter
R4L
=00 if pass, non-zero if fail
Input Parameters:
R0H
= 05h
R6H
= 00h
R6L
= 00h - security bit # 1 (inhibit writing to FLASH)
0lh - security bit # 2 (inhibit FLASH verify)
02h - security bit # 3 (disable external memory)
Return Parameter:none
Input Parameters:
R0H
= 60h
R6H
= 00h
R6L
= 00H- program status byte
R4L
= status byte
Return Parameter
R4L
= 00 if pass, non-zero if fail
Note : only two bits of status byte may be programmed at one time
Input Parameters:
R0H
= 06h
R6H
= 00h
R6L
= 0lh - program BPC
R4L
= BPC[15:8] (BPC[7:0] unchanged)
Return Parameter
R4L = 00 if pass, non-zero if fail
Note : only two bits of BPC [15:8] may be programmed at one time
= 02h or 92h
= address of byte to program
= byte to program
= 00 if pass, non-zero if fail
ERASE BLOCK
ERASE BPC and
STATUS BYTE
PROGRAM SECURITY
BIT
PROGRAM STATUS
BYTE
PROGRAM BPC HIGH
BYTE
相關(guān)PDF資料
PDF描述
MX10EXAUC XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
MX10EXAUCG XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
MX10EXA XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
MX10F201FC High-Performance and Low Power Microcontroller designed for Use Many Applications
MX10FMAXDPC SINGLE-CHIP 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MX10EXAUC 制造商:MCNIX 制造商全稱:Macronix International 功能描述:XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
MX10EXAUCG 制造商:MCNIX 制造商全稱:Macronix International 功能描述:XA 16-bit Microcontroller Family 64K Flash/2K RAM, Watchdog, 2UARTs
MX10F201FC 制造商:MCNIX 制造商全稱:Macronix International 功能描述:High-Performance and Low Power Microcontroller designed for Use Many Applications
MX10FMAXDPC 制造商:MCNIX 制造商全稱:Macronix International 功能描述:SINGLE-CHIP 8-BIT MICROCONTROLLER
MX10FMAXDQC 制造商:MCNIX 制造商全稱:Macronix International 功能描述:SINGLE-CHIP 8-BIT MICROCONTROLLER