AMD - Am29LV160B

Russ Dill Russ.Dill at asu.edu
Mon Mar 3 14:39:39 EST 2003


On Mon, 2003-03-03 at 07:08, Amit.Lubovsky at infineon.com wrote:
> Hi,
> 
> Has anyone used the mtd device with the AMD
> Am29LV160B chips? They are 16 Megabit (2M x 8-Bit/1M x 16-Bit) chips
> and are CFI-compatible.
> 
> I work with kernel 2.4.6 and am trying to detect 4MB,
> 2 x16 bit devices in parallel (32 bit access) at address 0,

they work great on my device (as well as the Am29LV800B, which are not
CFI)

> #define BUSWIDTH 2

I'm away from my code right now, but shouldn't this be 32?

> purple flash device: 400000 at b0000000
> purple_map.map_priv_1=0xb0000000
> -----------------> FLASH #2
> --------------------------->file: chipreg.c name=cfi drv=8020c970
> -----------@@@@@@@@@@ CFIDEV_BUSWIDTH_2 CFIDEV_INTERLEAVE_1
> --------########## func: cfi_probe_chip CFI_DEVICETYPE_X16
> -----------@@@@@@@@@@ CFIDEV_BUSWIDTH_2 CFIDEV_INTERLEAVE_2
> --------########## func: cfi_probe_chip CFI_DEVICETYPE_X8
> --------########## func: cfi_probe_chip CFI_DEVICETYPE_X16
> --------------> file: cfi_probe.c func: cfi_cfi_probe index=-1
> Physically mapped flash: Found no CFI device at location zero
> --------------> file: cfi_probe.c  cfi=0
> mymtd=0x00000000
> 


printing out the addresses and data read/written is helpfull in these
cases.





More information about the linux-mtd mailing list