carl-daniel wrote: > On 06.06.2009 00:35, Paul Fox wrote: > > carl-daniel wrote: > > > On 05.06.2009 23:12, Paul Fox wrote: > > > > i'm using one of the module's MPSSE blocks to drive a SPI interface. > > > > > > > > > > Do you have any example code I could look at? Unfortunately, I didn't > > > find docs on how to set polarity, endianness etc for SPI. > > > > i'm getting there, slowly. i can do a RDID command and identify > > our winbond flash part. i can send you that much if you'd like -- i'd > > like to clean it up just a tad. > > > > If you can send RDID and receive the result, the code is already perfect > for me. Nothing else is needed.
i'll send you my code separately. > > i'm fitting > > my changes into flashrom, but as i think you know, it's pretty > > geared toward hosted self-programming, and being able to map in > > the area being programmed. > > You must be working with a pretty old version of flashrom. Over the last > few weeks, external programmer support has been added and we already > have two external programmers working, neither of them requiring any > mapping. maybe i just didn't find them because i didn't know how to look for them -- i'm on current svn (580). paul =--------------------- paul fox, [email protected] (arlington, ma, where it's 56.3 degrees) -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
