A bit more info to add to my previous message.

I couldn't find W25Q128JV50. The datasheet for W25Q128JV exists and
covers few variations of model, and those are supported by flashrom.

However, possibly it's not "50" at the end but "SQ", and chip with
this marking exist and there are lots of images on the internet.
More specifically, the full model name is W25Q128JVSIQ but it seems
like "I" is not always printed and on the chip itself it's marked as
W25Q128JVSQ. Which looks like what you have.
(look at the images tab https://www.google.com/search?q=winbond+W25Q128JVSIQ )
W25Q128JVSIQ is covered by W25Q128JV datasheet.

So you can try probing first, and see if chip detected. If yes, you
can try reading.

If chip is not detected, try to keep the verbose logs - in the logs we
can see which ID is returned by the chip. Knowing the ID we can try
find datasheet.

On Fri, Jun 13, 2025 at 8:31 PM Anastasia Klimchuk <a...@chromium.org> wrote:
>
> Hello Andreas,
>
> 1) Yes there are some similar names, but the name by itself doesn't
> mean much - whether the chip is supported or not depends on all the
> other properties in the chip definition.
> To answer the question we need a datasheet for your chip. I could find
> the datasheet for W25Q128JV (like yours but without "50" at the end),
> do you think it's yours?
>
> 2) The datasheet for W25Q128JV which I look at (but don't know if it's
> yours) describes models that identify as 0x4018 and 0x7018 , and we
> have definitions with these IDs in our flashchips. In general, if your
> model returns one of supported IDs (which are all in
> include/flashchips.h) , then the chip gets identified.
>
> 3) It happens sometimes that new models are released with the same IDs
> as previous models. It is possible that the chip will get identified
> by ID but match a different definition (and may still work. or may
> not). Again, datasheet would help recognise that.
>
> 4) If your chip supports SFDP protocol (which is common now) you can
> do read/write/erase operations via SFDP detection, for this you can
> add `-c "SFDP-capable chip"` to the command line. Then flashrom will
> only talk to the chip with SFDP and won't look at existing model
> definitions. Note this won't support write-protect commands (but maybe
> you don't need them)
>
> As a summary, if we can look at the datasheet it would be great. If
> not, you can try probing (only probing first) and see if the chip is
> detected. You can share the verbose logs from probing (fto be verbose
> add -V or -VV to the command line).
> If you don't need write-protect commands you can also try probing with
>  `-c "SFDP-capable chip"`.
>
> Hope this helps, tell us how it goes!
>
> On Sun, Jun 8, 2025 at 5:49 PM Andreas Schildbach via flashrom
> <flashrom@flashrom.org> wrote:
> >
> > Will flashrom be able to read/write a winbond 25Q128JV50, using a CH341A
> >   programmer? I notice the support list (flashchips/winbond.c) contains
> > a couple of very similar names but not this exact name.
> >
> > If not, can it be made to read/write that chip just by adding another
> > entry? Or is it possible that the CH341A can't do it?
> >
> > The chip is in a Lenovo X280 which I bricked just by enrolling my own
> > secure boot key.
> >
> > Cheers,
> > Andreas
> >
> > _______________________________________________
> > flashrom mailing list -- flashrom@flashrom.org
> > To unsubscribe send an email to flashrom-le...@flashrom.org
>
>
>
> --
> Anastasia.



-- 
Anastasia.
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to