AT49BV1614 not detected

Andrew Victor andrew at sanpeople.com
Thu Feb 23 05:42:56 EST 2006


hi,

I'm trying to get the AT49BV1614 flash working on the Atmel
AT91RM9200-DK board.  (2.6.16-rc4)

The kernel log shows the following:
  Search for id:(1f c0) interleave(1) type(2)
  MTD jedec_match(): Check fit 0x00000000 + 0x00200000 = 0x00200000
  MTD jedec_match(): check unlock addrs 0x5555 0x2aaa
  MTD jedec_match(): 0x0555 0x0aaa did not match

In jedec_probe.c I see:
    .name           = "Atmel AT49BV16X",
    .uaddr          = {
           [0] = MTD_UADDR_0x0555_0x0AAA,  /* x8 */
           [1] = MTD_UADDR_0x0555_0x0AAA   /* x16 */
    },

If I change the both 'uaddr' to MTD_UADDR_0x5555_0x2AAA:

   Search for id:(1f c0) interleave(1) type(2)
   MTD jedec_match(): Check fit 0x00000000 + 0x00200000 = 0x00200000
   MTD jedec_match(): check unlock addrs 0x5555 0x2aaa
   MTD jedec_match(): check ID's disappear when not in ID mode reset unlock called 5555 2aaa 
   MTD jedec_match(): return to ID mode
   MTD jedec_probe_chip(): matched device 0x1f,0xc0 unlock_addrs: 0x5555 0x2aaa
   Found: Atmel AT49BV16X
   reset unlock called 5555 2aaa 
   flash:: Found 1 x16 devices at 0x0 in 16-bit bank
   number of JEDEC chips: 1


It previously "just worked" in 2.4:
  Search for id:(1f c0) interleave(1) type(2)
  Found: Atmel AT49BV16X
  Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit mode


What could be the cause / correct fix for this problem?


Regards,
  Andrew Victor






More information about the linux-mtd mailing list