OP7100
Software
s
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 020418 J ...
Страница 10: ...OP7100 x s About This Manual ...
Страница 16: ...OP7100 16 s Overview ...
Страница 50: ...OP7100 50 s Hardware ...
Страница 51: ...OP7100 Software s 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 72: ...OP7100 72 s Software ...
Страница 80: ...OP7100 80 s Graphics Programming ...
Страница 86: ...OP7100 86 s Installation ...
Страница 96: ...OP7100 96 s Specifications ...
Страница 110: ...110 s Serial Interface Board 2 OP7100 ...
Страница 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Страница 114: ...OP7100 114 s Backup Battery ...
Страница 122: ...OP7100 122 s Index ...