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
OUTPUT
= -1
<> -1
0
DRAM
1
NAND FROM
Input parameter error
DRAM size (by the unit of 1K)(where nDevice = 0)
Actual installed number of NAND chips (where nDevice = 1)
161