Renesas H8S/2378F Informations techniques Page 101

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 109
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 100
(3) Executing programming end processing (WriteFLASH)
Flash memory programming end processing is partially shown below. For details, refer to Source Files of the Sample
Program.
Programming data reception (GetWriteData) receives the programming data storage address and programming
destination address. When the programming destination address is WRITE_END (0xFFFFFFFF), programming end
processing is performed.
The programming data storage address is set to ADD_WRITE_PRM0 (0xF0F0F0F0), the programming destination
address is set to ADD_WRITE_PRM1 (0x0F0F0F0F), and the programming library is read.
/* Acquisition of command data */
if (GetWriteData(pData, &pAddress, add_sum)){
return;
}
if (pAddress == WRITE_END){
pData = (BYTE *)ADD_WRITE_PRM0;
pAddress = ADD_WRITE_PRM1;
end_flg = LOOP_END;
}
/* A setup of boot status */
BootStatus = MODE_WRITE_RUN;
/* Write-in start */
if (ErrorStatus = WriteStart(pData, pAddress)){
93
Vue de la page 100

Commentaires sur ces manuels

Pas de commentaire