| поискавой системы для электроныых деталей |
|
P89C51RB2BA датащи(PDF) 45 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89C51RB2BA датащи(HTML) 45 Page - NXP Semiconductors |
|
45 / 52 page ![]() Philips Semiconductors Preliminary specification 89C51RB2/89C51RC2/ 89C51RD2 80C51 8-bit Flash microcontroller family 16KB/32KB/64KB ISP/IAP Flash with 512B/512B/1KB RAM 1999 Sep 23 45 In Application Programming Method Several In Application Programming (IAP) 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 programming functions are selected by setting up the microcontroller’s registers before making a call to PGM_MTP at FFF0H. The oscillator frequency is an integer number rounded down to the nearest megahertz. For example, set R0 to 11 for 11.0592 MHz. Results are returned in the registers. The API calls are shown in Table 9. Table 9. IAP calls IAP CALL PARAMETER PROGRAM DATA BYTE Input Parameters: R0 = osc freq (integer) R1 = 02h DPTR = address of byte to program ACC = byte to program Return Parameter ACC = 00 if pass, !00 if fail ERASE BLOCK Input Parameters: R0 = osc freq (integer) R1 = 01h DPH = block code as shown below: block 0, 0k to 8k, 00H block 1, 8k to 16k, 20H block 2, 16k to 32k, 40H block 3, 32k to 48k, 80H block 4, 48k to 64k, C0H DPL = 00h Return Parameter none ERASE BOOT VECTOR Input Parameters: R0 = osc freq (integer) R1 = 04h DPH = 00h DPL = don’t care Return Parameter none PROGRAM SECURITY BIT Input Parameters: R0 = osc freq (integer) R1 = 05h DPH = 00h DPL = 00h – security bit # 1 (inhibit writing to Flash) 01h – security bit # 2 (inhibit Flash verify) 02h – security bit # 3 (disable external memory) Return Parameter none PROGRAM STATUS BYTE Input Parameters: R0 = osc freq (integer) R1 = 06h DPH = 00h DPL = 00h – program status byte ACC = status byte Return Parameter ACC = status byte PROGRAM BOOT VECTOR Input Parameters: R0 = osc freq (interger) R1 = 06h DPH = 00h DPL = 01h – program boot vector ACC = boot vector Return Parameter ACC = boot vector READ DEVICE DATA Input Parameters: R1 = 03h DPTR = address of byte to read Return Parameter ACC = value of byte read |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |