-->
Page 5 of 6

Re: determine flash size

PostPosted: Tue Aug 23, 2016 10:38 pm
by martinayotte
Multiple companies for same ID, I don't know how JEDEC is handling that.
Since there is no other bytes, there is no way to distinguish them.
About the 4016, if I remember the 40 is speed, and the 16 is the size : 2^16 = 4M, 2^14 = 1M, 2^13 = 512K.

Re: determine flash size

PostPosted: Wed Aug 24, 2016 10:43 am
by flagtrax
About the 4016, if I remember the 40 is speed, and the 16 is the size : 2^16 = 4M, 2^14 = 1M, 2^13 = 512K.


Thanks again Martin, That all seems to add up. I'm still puzzled though, as to how one (at my level of expertise at least) might decipher an actual manufacturer from the id code if there is more than one manufacturer with that code. Or in your opinion, am I wallowing in manucia since the tools indicate the main characteristics (ie:speed and size) anyway?

Re: determine flash size

PostPosted: Thu Aug 25, 2016 7:34 am
by martinayotte
I don't think you should bother about ManufID, as said earlier, even LG doesn't manufacture any SPI Flash, so probably only the BergMicro is the one for E0.
For size, as mentioned earlier in the thread, you should rely on this function :
Code: Select allEspClass::getFlashChipRealSize()

Re: determine flash size

PostPosted: Thu Aug 25, 2016 8:47 am
by flagtrax
Got it, thanks so much!