Skip to contentSkip to conversation

JEDEC and MX29F1610 flash question

DISCUSSION Fabrice Gautier 1 participant 1 message Apr 22, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

In jedec.c jedec_probe8 uses this sequence to reset and get the device ID of the flash:

   // Reset the chip
   flwrite(Reset,0x555); 
   
   // Send the sequence
   flwrite(AutoSel1,0x555);
   flwrite(AutoSel2,0x2AA);
   flwrite(AutoSel3,0x555);

My flash which is a Macronix MX29F1610MC claim to be JEDEC compatible but both the sample code and the datasheet of the MX29F1610A (which should be pretty close to mine) seems to say that the good sequence is:

   // Reset the chip
   flwrite(AutoSel1,0x5555);
   flwrite(AutoSel2,0x2AAA);
   flwrite(Reset,0x5555); 
   
   // Send the sequence
   flwrite(AutoSel1,0x5555);
   flwrite(AutoSel2,0x2AAA);
   flwrite(AutoSel3,0x5555);

Two thing are differents:
First the adress are 5555 and 2AAA instead of 555 and 2AA Then the Reset sequence require Three writes , not one.

Can someone explain this odd things to me?
Are Macronix flash not really JEDEC compatible?
Or is there some tricks in adress translations so that 555 = 5555 and 2AA = 2AAA ??

I've also seen a macronix entry int some table so i gues someone played with one.

Thanks

Signature · 5 lines
Fabrice Gautier <[email protected]>



To unsubscribe, send "unsubscribe mtd" to [email protected]