[flashrom] Programming N25Q256 ?

Cédric Le Goater clg at kaod.org
Sat Jun 11 10:36:22 CEST 2016


Hi,

On 03/31/2016 01:11 AM, David Hendricks wrote:
> On Wed, Mar 30, 2016 at 3:14 PM, Steve Miller <stevem at tanisys.com <mailto:stevem at tanisys.com>> wrote:
> 
>     Hi,____
> 
>     __ __
> 
>     I have the code built and running on a Raspberry PI.  Unfortunately, the target part I am trying to program is a Micron N25Q256.  I don’t see that part in the list.   When I execute the program with –VV   it seems to scan lots of devices.  I see activity on CLK, CS, MOSI with an oscilloscope.  But MISO remains logic low.   When the program terminates,  it just tells me No EEPROM/Flash device found.____
> 
>     __ __
> 
>     Stupid Noob Questions:____
> 
>     __1.       __ Is the static level on MISO to be expected?  Or should it at least toggle?
> 
> You should definitely see some activity on MISO. Flashrom sends identification instructions (RDID, REMS, etc) to the chip and the chip should respond with its JEDEC-assigned manufacturer ID and vendor-specific device info.
> 
> That said, the N25Q256 is not currently added in upstream flashrom. There is limited support in the Chromium branch, though.
> 
>     ____
> 
>     __2.       __ Is there any hope with this device?    Can I perhaps force it to think the chip is smaller?
> 
> Yep, that's what we currently do in the Chromium branch*. The chip uses 24-bit addresses unless either a bit in a nonvolatile config register is set or alternate instructions which accept 32-bit addresses are used.
> 
> *Full 4-byte address support should be ready soon, I just need to find a few spare cycles to finish up what I have written...

Is that any time soon ? Need some spare cycle ? 

Boris Baykov already proposed a 4B patchset some time ago which I have 
been maintaining for the N25Q256. Here is the port :

	https://github.com/legoater/flashrom/commits/0.9.9-n25q256

Cheers,

C.


> -- 
> David Hendricks (dhendrix)
> Systems Software Engineer, Google Inc.
> 
> 
> _______________________________________________
> flashrom mailing list
> flashrom at flashrom.org
> https://www.flashrom.org/mailman/listinfo/flashrom
> 





More information about the flashrom mailing list