Rainbow-electronics AT89C5132 Manuel d'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 31
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 24
25
AT89C5132
4256A–USB–06/03
API Commands Several types of APIs are available:
Read/Program Flash memory
Read Configuration and Manufacturer Information
Program Configuration Information
•Erase Flash
Start bootloader
Read/Program Flash Memory To read the Flash memory the bootloader is not involved.
For more details on these routines see the AT89C5132 Datasheet, section “Pro-
gram/Code Memory”.
Two routines are available to program the Flash:
__api_wr_code_byte
__api_wr_code_page
The application program load the column latches of the Flash then call the
__api_wr_code_byte or __api_wr_code_page see datasheet, section
“Program/Code Memory
”.
Parameter settings
Instruction: LCALL FFF0h.
Note: No special resources are used by the bootloader during this operation
API Name api_command api_dph api_dpl api_value
__api_wr_code_byte
__api_wr_code_page
0Dh
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 31

Commentaires sur ces manuels

Pas de commentaire