Renesas H8S/2378F Technical Information Seite 101

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 109
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 100

Kommentare zu diesen Handbüchern

Keine Kommentare