Am Thursday 13 May 2010 14:38:07 schrieben Sie: > >> Right, I came to the same conclusion based on chip I'm using for the > >> Musicpal model. Working on a proper fix - now that I think to have found > >> a solution for the XIP vs. mode switch conflict. nice :) i'll try it as soon as it's ready.
> > Wait! Access to ident[0..3] is already correct as those fields are > > stored and returned as 16-bit values. I guess you just did not pass the > > proper IDs when registering your pflash_cfi02 instance. > ... or you suffered from a be/le issue. In contrast to data, the ID is > not swapped according to the byte order that was specified during init. > Does your target byte order differ from your host? oh sorry, i wrongly assumed id[0..3] were the bytes for the manufacturer/device id. using the correct 16 bit values for id0 and id2 works perfectly. -- michael