Rainbow-electronics T89C5115 Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 105
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
40
T89C5115
4128A–8051–04/02
Application
Programming Interface
Several Application Program Interface (API) calls are available for use by an application
program to permit selective erasing and programming of Flash pages. All calls are made
by functions.
All APIs are describe in: "In-System Programing: Flash Library for T89C5115", available
on the Atmel web site at www.atmel.com.
Table 23. List of API
XROW Bytes Table 24. XROW Mapping
API Call Description
PROGRAM DATA BYTE Write a byte in flash memory
PROGRAM DATA PAGE Write a page (128 bytes) in flash memory
PROGRAM EEPROM BYTE Write a byte in Eeprom memory
ERASE BLOCK Erase all flash memory
ERASE BOOT VECTOR (SBV) Erase the boot vector
PROGRAM BOOT VECTOR (SBV) Write the boot vector
PROGRAM EXTRA BYTE (EB) Write the extra byte
READ DATA BYTE
READ EEPROM BYTE
READ FAMILY CODE
READ MANUFACTURER CODE
READ PRODUCT NAME
READ REVISION NUMBER
READ STATUS BIT (BSB) Read the status bit
READ BOOT VECTOR (SBV) Read the boot vector
READ EXTRA BYTE (EB) Read the extra byte
PROGRAM X2 Write the hardware flag for X2 mode
READ X2 Read the hardware flag for X2 mode
START BOOTLOADER To start the bootloader from the application
Mnemonic Description Default value Address
Copy of the Manufacturer Code 58h 30h
Copy of the Device ID#1: Family code D7h 31h
Copy of the Device ID#2: Memories size and type BBh 60h
Copy of the Device ID#3: Name and Revision FFh 61h
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 104 105

Kommentare zu diesen Handbüchern

Keine Kommentare