0xB2 icon indicating copy to clipboard operation
0xB2 copied to clipboard

Alternative NOR flash

Open heyitscassio opened this issue 3 years ago • 15 comments

Since the main model of NOR flash seems to be unavailable, there is other models with more or less storage, that are a drop in replacement?

heyitscassio avatar Jul 27 '22 14:07 heyitscassio

~~At this point we don't know of any other flash that would be a drop in replacement.~~ (see answer by plut0nium below) You can either wait for restock, order the parts (that is possible at JLC), or use a different part.

Part C97521 at JLC should be a suitable replacement, but is bigger and will require modifying the PCB.

Regards,

bstiq avatar Jul 28 '22 16:07 bstiq

In fact, there are several other chips that could be used, but none of them seem to be stocked by JLC at the moment.

Most QSPI NOR Flash would work if they are in the same form factor (USON-8) and support 3.3V.

plut0nium avatar Jul 28 '22 16:07 plut0nium

P25Q32H-UXH-IR (JLC part# C414068) has been used by some people. Did not test it personally, though.

plut0nium avatar Oct 07 '22 14:10 plut0nium

Hey @plut0nium , thanks for the information! Currently, there's P25Q32H-UXH-IR available on JLCPCB, and instead, I ordered some PCBs with the alternative, which is 4 MBs, and will inform about how it'll go.

I already had connectors, and I'll hand-solder them, the rest should be same.

Ardakilic avatar Jan 13 '23 23:01 Ardakilic

@plut0nium Heya, I don't know if this is related, but here comes my experiment:

Out of the box, even though the module uploads the stuff, unlike the sparkfun rp2040, the keyboard could not be identified.

I was frustrated, since I produced about a dozen (I knew the risk).

As a last resort, I wanted to try KMK and CircuitPython. I uploaded the Sparkfun Pro Micro RP2040's circuitpython uf2 file to both Sparkfun pro micro rp2040, and to splinky, and it identified for both! Also the NAND size was correct! This gave me hope.

After that, I re-uploaded the qmk uf2 file, and boom! it worked nicely!

I don't know how, or why, but installing CircuitPython uf2 beforehand helped. Maybe this was needed for factory-produced modules, I don't know.

I'm currently testing the 5th module, all is same for every one of them

Ardakilic avatar Feb 14 '23 23:02 Ardakilic

is this a replacement? MFR.Part # W25Q16JVUXIQ JLCPCB Part # C2843335 to my untrained eye looks compatible... but any thoughts appreciated

original image vs image

alinelena avatar Jun 14 '23 16:06 alinelena

Would these ones work also? They are bigger than 16 mbits, and are in stock as well:

  1. https://jlcpcb.com/partdetail/Zetta-ZD25WQ32CEIGR/C5258281
  2. https://jlcpcb.com/partdetail/puya-P25Q32L_UXHIR/C559225

Ardakilic avatar Jun 14 '23 18:06 Ardakilic

The first one you linked seems to have the same pinout, I couldn't check the nominal voltage on a quick check. So it seems like it could work, you might need to modify the QMK code to accommodate for a different type of memory. Same thing for the others - I haven't tested them though.

If you are buying in small quantities, I recommend also looking at off-the-shelf solutions like the liatris or even kb2040 if you don't need the bottom pins

bstiq avatar Jun 15 '23 06:06 bstiq

C2843335, W25Q16JVUXIQ is 3V C5258281,ZD25WQ32CEIGR, is 1.65 - 3.6V C559225,P25Q32L-UXH-IR, is 1.65 - 2V C414068, P25Q32H-UXH-IR is 2.3 - 3.6V this is reported as working.

alinelena avatar Jun 15 '23 07:06 alinelena

Since @plut0nium mentioned if they work with 3.3v, and the pinouts match, I assume

C5258281,ZD25WQ32CEIGR, is 1.65 - 3.6V

Should work.

If I create a new batch for my prototype, I'll try this one.

Ardakilic avatar Jun 15 '23 14:06 Ardakilic

C2843335, W25Q16JVUXIQ is 3V

just to note waveshare is using this in one of theirs https://www.waveshare.com/rp2040-tiny.htm

alinelena avatar Jun 17 '23 08:06 alinelena

looking more into this one would expect instruction sets to match too https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/boot_stage2/boot2_w25q080.S but this is beyond me

alinelena avatar Jun 20 '23 06:06 alinelena

just to say used ZD25WQ32CEIGR and seems to work... at least qmk one key is happy IMG_20230712_191415

alinelena avatar Jul 12 '23 18:07 alinelena

Thanks for the feedback!

I have been considering making a list of NOR chips reported working with this board... but I do not produce or sell pcbs, so have a very limited view of what's really happening right now.

plut0nium avatar Sep 18 '23 05:09 plut0nium

I had some Splinkys made with P25Q32H-UXH-IR (LCSC C414068) flash. To make QMK work I have to set

#define RP2040_FLASH_GENERIC_03H

in config.h.

wlhlm avatar Sep 30 '23 06:09 wlhlm