On Wed, Mar 25, 2015 at 3:46 AM, Robert Selby <Robert.Selby@snellgroup.com> wrote:

Hi, just found FlashRom and looks to be a good base to start from for my needs.

I have a USB->SPI bridge device (MCP2210) and on its SPI bus is a S25FL128S device.

It looks as though there is no direct support for accessing via the MCP2210.

I assume that I would need to write a programmer to get this to work ???

Yes, you will need to make flashrom speak to the MCP2210.

I have a MCP2210 access library that seems to work well via /dev/hidraw.

That should work so long as you can wrap generic data into a protocol that MCP2210 will understand.

I'm not sure about the existing library using /dev/hidraw... If you want to use libusb then you might want to check out ft2232_spi.c as an example.
 

Any advice/recommendations very welcome.

It may be that someone has already done this

Regards,
Bob
  _____  

Bob Selby

Senior Engineer, Software - LTV Newbury

Snell a Quantel Company
Innovation in the

Multi-Screen World

 

T +44 (0) 1635 48222 Extn 3753

Turnpike Road, Newbury, Berkshire, RG14 2NX, UK

Routing | Modular Infrastructure | Conversion & Restoration | Live Production | Automation & Media Management | Control & Monitoring


This email and any attachments are confidential, may be legally privileged and are intended for the use of the addressee only. If you are not the intended recipient, please note that any use, disclosure, printing or copying of this email is strictly prohibited and may be unlawful. If received in error, please delete this email and any attachments and confirm this to the sender.

Snell Limited, registered number 1160119
Registered in England, registered office at 31 Turnpike Road, Newbury, Berkshire, RG14 2NX, U.K.

_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom



--
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.