OP7100
Software 55
Display
Flash EPROM
The
WriteFlash
function in the Dynamic C
DRIVERS.LIB
library is
used to write data to the program flash EPROM.
•
int WriteFlash( unsigned long physical_addr,
char *buf, int count )
Writes
count
number of bytes pointed to by
buf
to the program flash
EPROM absolute data location
physical_adr
. Allocate data location
by declaring the byte arrays as initialized arrays or declare an initial-
ized
xdata
array. If byte array is declared, conert logical memory to
physical memory with
phy_adr(array)
. For initialized
xdata
, you
can pass the array name directly.
PARAMETERS:
physical_adr
is the absolute data location in the
flash EPROM.
*buf
is a pointer to the bytes to write.
count
is the number of bytes to write.
RETURN VALUES:
0 if
WriteFlash
is okay.
-1 if the program flash EPROM is not in used.
-2 if
physical_addr
is inside the BIOS area.
-3 if
physical_addr
is within the symbol area or the simulated
EEPROM area.
-4 if
WriteFlash
times out.
The
WriteFlash
function writes to the program flash
EPROM. See the
SYS.LIB
section later in this chapter for the
functions associated with the second flash EPROM.
Содержание OP7100
Страница 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Страница 10: ...OP7100 x About This Manual ...
Страница 16: ...OP7100 16 Overview ...
Страница 51: ...OP7100 Software 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 74: ...OP7100 74 Software ...
Страница 82: ...OP7100 82 Graphics Programming ...
Страница 88: ...OP7100 88 Installation ...
Страница 98: ...OP7100 98 Specifications ...
Страница 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Страница 112: ...112 Serial Interface Board 2 OP7100 ...
Страница 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Страница 116: ...OP7100 116 Backup Battery ...
Страница 124: ...OP7100 124 Index ...
Страница 126: ...XX0000 Schematics ...