Renesas Renasas Single-Chip Microcomputer SH7086 Informacje Techniczne Strona 100

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 99
Flash Development Toolkit
Method for Using the User Program Mode (SH7086 Application)
REJ06J0071-0100 /Rev.1.00 2009.2 Page 98 of 106
• Execution of a write termination process (WriteFLASH)
This is part of the flash memory write termination process. For details, refer to the sources of the files for
user program mode.
In write data reception (GetWriteData), receive the address where the data to write is stored and the
address to which to write. If the write destination address is WRITE_END (0xFFFFFFFF), execute a write
termination process.
Read out the write library.
/* Acquisition of command data */
if (GetWriteData(pData, &pAddress, add_sum)){
return;
}
if (pAddress != WRITE_END){
/* A setup of boot status */
BootStatus = MODE_WRITE_RUN;
/* Program start */
if (ErrorStatus = WriteStart(pData, pAddress)){
Przeglądanie stron 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 106 107 108

Komentarze do niniejszej Instrukcji

Brak uwag