CFI with 4 x8/x16 devices on a 32-bit bus

Brett Carswell BrettC at nulec.com.au
Thu Apr 5 03:32:38 EDT 2001


Hi All,

I'm having problems getting MTD working on a RPXLite board. I'm not having
endian problems as have been discussed recently - that part seems OK. The
board has four AMD 29LV160 chips which are in x8 mode. These chips can also
be in x16 mode but aren't in this case. 

My first question is am I correct in expecting that I should see these chips
detected as 4 x8 Devices in 32-bit mode? I can get them working in this mode
only by shifting all the offset addresses in my mapping functions right by
one. However when I do this and write to the flash every second word is
skipped (not surprisingly).

It's as though I need to shift the addresses for the CFI commands only. I
looked in the archives from a couple of months ago an it seemed as though
the problem was fixed. Perhaps I'm missing a point somewhere.

Thanks in advance,
Brett Carswell

Nu-Lec Industries  (ACN 085 972 425)
35-37 South Street, Lytton, Brisbane, Qld, 4178, Australia
PO Box 761, Wynnum, Qld, 4178, Australia
Direct Dial Phone No:	+61 7 3249 5498
Switchboard Phone No:	+61 7 3249 5444
Facsimile No:		+61 7 3249 5888
Email Address:		BrettC at nulec.com.au
World Wide Web Site:	http://www.nulec.com.au




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list