-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flashchips: Added MX25U12873F #114
base: master
Are you sure you want to change the base?
Conversation
This commit adds support for the Macronix MX25U12873F spi flash chip. It is similar to the MX25U12835E and shares its RDID, but has no WP# pin. Probe, read, write and erase have been tested on hardware. Datasheet is available at the following URL: https://www.macronix.com/Lists/Datasheet/Attachments/7446/MX25U12873F,%201.8V,%20128Mb,%20v1.2.pdf Change-Id: I3047b3eda389d4c535376f6747e67de62995e82d Signed-off-by: Kevin Tavukciyan <kevintavukciyan@gmail.com>
Hi, I was wondering if you could possibly tell me the desired configuration for this chip is as my MSI B350M Mortar Arctic has the MX25U12837F flash chip and I am trying to read/write to it using flashrom on my Raspberry Pi 4B. But whenever I try flashrom does detect the chip as Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on linux_spi. I have it set to the default 2000Khz clock and the following = MISO->SO, MOSI->SI, CLK->SCLK, CS0#->CS#, VCC(1.8V) -> VCC, GND -> GND. This will be greatly appreciated. Thanks |
Are you using a voltage regulator on the Raspberry Pi to drop the voltage? The chip is 1.8V and IIRC the Raspberry Pi's IO pins are 3.3V. |
Yes i use a bi-directional logic level converter for the SPI communication pins powered by a 1.8V regulator from the pi power pins also Passing the 1.8V to the chips VCC |
It was a while back so I don't remember which speed I used, but you should try lowering it a bit if you didn't already. Might be wrong but I feel like I was in the 1900 range. |
Look I'll be honest I don't know alot about GitHub commits and whatever but I did try the included copy of flashrom on the pi and also cloned this git to my pi, make'd it and tried that flashrom (v1.2) but that still didn't change the result. I also just tried it at 1900Khz, Still finds 'generic flash chip' |
There's a commit in this pull request that has not been merged. |
Oh ok I see. I won't be able to do it for a while but I'll give it a shot. |
This commit adds support for the Macronix MX25U12873F spi flash chip.
It is similar to the MX25U12835E and shares its RDID, but has no WP# pin.
Probe, read, write and erase have been tested on hardware.
Datasheet is available at the following URL:
https://www.macronix.com/Lists/Datasheet/Attachments/7446/MX25U12873F,%201.8V,%20128Mb,%20v1.2.pdf
Change-Id: I3047b3eda389d4c535376f6747e67de62995e82d
Signed-off-by: Kevin Tavukciyan kevintavukciyan@gmail.com