Philips 8-bit microcontroller with two-clock 80C51 core UM10109 Manual De Usuario

Descargar
Página de 133
 
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 02 — 23 May 2005 
118 of 133
Philips Semiconductors
UM10109
P89LPC932A1 User manual
 
18.12 In-application programming (IAP)
Several In-Application Programming (IAP) calls are available for use by an application 
program to permit selective erasing and programming of Flash sectors, pages, security 
bits, configuration bytes, and device id. All calls are made through a common interface, 
PGM_MTP. The programming functions are selected by setting up the microcontroller’s 
registers before making a call to PGM_MTP at FF03H. The IAP calls are shown in 
.
18.13 IAP authorization key
(This feature was not present in the original P89LPC932). 
05
Read Sector CRC
:01xxxx05aacc
Where:
xxxx = required field but value is a ‘don’t care’
aa= sector address high byte
cc= checksum
Example:
:0100000504F6cc
06
Read Global CRC
:00xxxx06cc
Where:
xxxx = required field but value is a ‘don’t care’
cc= checksum
Example:
:00000006FA
07
Direct Load of Baud Rate
:02xxxx07HHLLcc
Where:
xxxx = required field but value is a ‘don’t care’
HH= high byte of timer
LL = low byte of timer
cc = checksum
Example:
:02000007FFFFcc
08
Reset MCU
:00xxxx08cc
Where:
xxxx = required field but value is a ‘don’t care’
cc = checksum
Example:
:00000008F8
Table 97:
In-system Programming (ISP) hex record formats
 …continued
Record type
Command/data function