[riot-notifications] [RIOT-OS/RIOT] drivers/mtd_spi_nor: derive capacity from JEDEC ID (#14084)

benpicco notifications at github.com
Tue May 19 18:09:07 CEST 2020


@benpicco commented on this pull request.



> +    if ((id->manuf == SPI_NOR_JEDEC_ADESTO) &&
+        (id->device[0] & 0xE0) == 0x80) {

Hmm looks like [newer Adesto chips](https://www.adestotech.com/wp-content/uploads/AT25SF128A.pdf) also use the ID2 coding - looks like that got standardized. 

![image](https://user-images.githubusercontent.com/1301112/82350443-a8706280-99fb-11ea-8112-7f165a3046ec.png)

I'll see if there is a way to identify the ones that use the old scheme. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14084#discussion_r427422881
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/ed6c8459/attachment-0001.htm>


More information about the notifications mailing list