Open franrad opened 5 years ago
@franrad i know is an old issue but have you found a solution ?
in my experience almost all these chips have the same registers. every time i see a new id tag i get worried.. then i use the same old winbond code for it and it just works.
Hi! Congratulations for this project, really appreciated. This is not really an issue but I would like to ask you some advice. I hope you have still some free time to help me. I'm a newbie of i2c/RTD2660 programming and I am trying to flash PCB8000099 card with a raspberry pi 2. I ran your tool and I obtained a ">>> Review wiki to add new flash chip !" message. According to your documentation I looked for the returned Jedec ID (0xc22013) and I found it should be a Macronix MX25L4005. Then according to the info I found at this address http://www.alldatasheet.com/view.jsp?Searchword=Mx25l4005&gclid=EAIaIQobChMIg7aYrMn03gIVSM-yCh1v9g3ZEAAYASAAEgIjXPD_BwE (page 1 of the pdf) I added the following item to the FlashDevices array:
FlashDesc("MX25L4005" , 0xc22013, 512, 256, 64)
Now, based on the code already present for Windbond manufacturer, I'm trying to add the op codes for Macronix flash memories within the SetupChipCommands function. According to the datasheet at the previous link (page 7) the opcodes are the same ones as for the Windbond cards, except for "Flash Write register op code" (0x50). Which code should I use? Furthermore I cannot find any code 0x50 in the documentation of any Windbound flash memories. For example I was looking at page 15 of the following Windbound datasheet (W25X10) http://pdf1.alldatasheet.com/datasheet-pdf/view/178187/WINBOND/W25X10.html. "Write Status Register" (op code 0x01) and "Flash Write register op code" are the same thing? Why are you using a different code? Am I missing something?
Thank you in advance, kind regards Francesco