Skip to content
Prajwal Bhattaram edited this page Mar 7, 2018 · 2 revisions

Chip ID functions

These functions help the user identify the chip in use.

getManID()

  • Returns the Manufacturer ID as a 16 bit value.

getJEDECID()

  • Returns the JEDEC ID as a 32 bit value.

getUniqueID()

  • Returns the flash memory chip's Unique ID as a 64 bit value.

getCapacity()

  • Returns the capacity in bytes as a 32 bit value.

getmaxPage()

  • Returns the maximum number of pages in the flash memory as a 32 bit value.
  • This value is obtained by dividing the chip capacity (in bytes) by the pagesize (in bytes).