161
Acquisition of Memory Device Size
If the memory device size is designated, the total capacity of the DRAM and the number of
NAND FROM chips is read. The memory device size is the total capacity of all the physically
installed devices, and not the disc capacity.
SYNTAX
int SYS_GetMemCapacity(int nDevice);
INPUT
nDevice = device type
0 DRAM
1 NAND FROM
OUTPUT
= -1 Input parameter error
<> -1 DRAM size (by the unit of 1K)(where nDevice = 0)
Actual installed number of NAND chips (where nDevice = 1)