FGA Boot Software
SYS68K/CPU-30 R4 Technical Reference Manual
Page 194
#37 (0x25)
Erase Flash Memories
The function allows partial erasing of Flash Memory banks if the devices
support page erasing mode.
Syntax:
long util (37, flashbank, offset, length)
Parameters: flashbank
Base address of the Flash Memory bank that
should be erased.
offset
Relative byte offset within the flash bank.
length
Length in bytes. If length is 0, all the
remaining space of the flash bank will be
erased.
If offset and length are both set to 0, the whole flash bank
is erased.
Returns:
0
OK
1
CLEAR_ERROR
2
INVAL_PARMS
3
ERASE_ERROR
4
WRITE_ERROR
5
ILL_WIDTH
6
UNKNOWN_ID
7
CAPACITY
8
WRITEPROTECT
9
NO_VPP
10
SELECT_ERROR
11
UNIMP_CMD
12
UNSUP_DEV
Parameters offset and length must exactly match the page boundaries of
the flash devices. For example, if the System Flash bank consists of four
28F008 (1 M * 8 bit) devices in parallel with a page size of 64 Kbyte
each, the minimum size of one erasable region is 256 Kbyte (64 KB * 4).
Содержание SYS68K/CPU-30 R4
Страница 41: ...Installation SYS68K CPU 30 R4 Technical Reference Manual Page 28...
Страница 127: ...Hardware Description SYS68K CPU 30 R4 Technical Reference Manual Page 114...
Страница 130: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 117 4 2 1 RTC 72421...
Страница 131: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 118 4 2 2 DUSCC 68562...
Страница 132: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 119 4 2 3 PI T TS68230...
Страница 133: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 120 4 2 4 SCSI 87033 34...
Страница 134: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 121 4 2 5 FDC37C65C...
Страница 135: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 122 4 2 6 LANCE Am79C90...
Страница 136: ...SYS68K CPU 30 R4 Technical Reference Manual Set of Data Sheets Page 123 4 2 7 SIA Am7992B...
Страница 137: ...Set of Data Sheets SYS68K CPU 30 R4 Technical Reference Manual Page 124 4 2 8 Motorola MC68030 and MC68882...
Страница 145: ...VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 132...
Страница 189: ...Appendix to VMEPROM SYS68K CPU 30 R4 Technical Reference Manual Page 176...