On 10.09.21 00:44, Jack Fivedock wrote:
> Much appreciated. Sorry for the lack of knowledge here, I'm very new to
> this.
> I see in the data sheet the command I need to enter to enable WREN but I'm
> not sure how to issue this command to the chip?

Sorry, you're on the wrong track. This command is simply send before
every attempt to write, always. So that's nothing specific to your chip
that flashrom could miss.

Maybe we should back up. You mentioned you were using a special connec-
tor:

> Using this cable from Chipset pro to connect to the hirose 12 pin EFI
> connector on the macbook pro.

This made me assume that there can't be any physical issue because this
connector is made for flashing. But maybe it isn't, or maybe you are
using it wrong. Is there any public documentation about this connector?

One thing that could go wrong is the voltage supply. If you can, you
should check if the voltage drops once the flash is connected. If it
drops below a certain level, it's possible that the chip would still
answer to commands, but a protection circuit would prevent any write
attempt.

Looking at the datasheet, this chip has a "individual block protection"
mode, selected by a write-once WPSEL bit in a security register. AIUI,
the state can be read with the RDSCUR (read security register) command.
If WPSEL (bit 7) is set, a WREN + GBULK (gang block unlock) command
sequence should allow to write.

I'm sorry, I can't provide any patch or details about the code right
now. But the above should provide a starting point for anyone else
who wants to help. You could also drop in on IRC, especially helpful
if you want to talk about the code.

Nico
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to