have we an official api for comunicate with the SPI_FLASH?
i mean not the read, write function to a SPI_FLASH to store or read bytes.
right, we have an api command to read the manufacturer id
spi_flash_get_id()
but i mean, is there an official api to send instruction code to the SPI FLASH
example :
to read the SPI_FLASH MAC ID - i mean the uinique id ( 64 Bit )
read Winbond - instruction code byte is : 0x4B
there is a unique 64bit MAC/ID at address 0X4B on the flash chip.
this could be very useful in uniquely identifying flash ic in a large manufacturer
and history database for firmware / updates.
the UID number can be used in conjunction with user software methods
to help prevent copying or cloning of a system.
linked to a pdf ( example the W25Q64CV )
because file is too big for upload.
Code: Select all
https://www.winbond.com/resource-files/w25q64cv_revh_052214[2].pdf
please have a look to side 55
point : 7.2.3.4 Read Unique ID Number (4BH)
please support this as an api instruction.
please support to can send other instruction code too.
example: 7.2.39 Read Security Registers ( 48h )
there are more interesst instruction code
i have write/request this more as one time i know -
please support this in an api command official
thank you!
best wishes
rudi
