Number of CFI chips ?
Hi guys !
I am trying to find out why my 2 AM29LV256M do not work. See before was: Re: JFFS2 with AM29LV256M
I found out that CFI only detects one chip.
What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus. Each AM29LV256 has 16 bit bus with with connected to the 32bit bus. So CFI has to setect 2 chips, am i right ?(wehn interleave is set to 2, and buswith is set to 32)
When it only detects one chip, my problem must be in detecting the chips by CFI, is this correct ?
Thanks, regards manfred
Quoted 7 lines · Manfred Gruber
Hi guys !
I am trying to find out why my 2 AM29LV256M do not work. See before was: Re: JFFS2 with AM29LV256M
I found out that CFI only detects one chip.
Quoted 7 lines
What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus. Each AM29LV256 has 16 bit bus with with connected to the 32bit bus. So CFI has to setect 2 chips, am i right ?(wehn interleave is set to 2, and buswith is set to 32)
When it only detects one chip, my problem must be in detecting the chips by CFI, is this correct ?
Not necessarily. Some of our printks are confusing -- if it claims to have detected only one chip then it might mean one _pair_ of chips. Can you show exactly what it said?
Signature · 1 line
dwmw2
hi !
Am Freitag, 20. August 2004 12:57 schrieben Sie:
Quoted 13 lines · Manfred Gruber
Quoted 12 lines
Hi guys !
I am trying to find out why my 2 AM29LV256M do not work. See before was: Re: JFFS2 with AM29LV256M
I found out that CFI only detects one chip.
What should CFI detect when I have 2 AM29LV256M chips on a 32 bit bus. Each AM29LV256 has 16 bit bus with with connected to the 32bit bus. So CFI has to setect 2 chips, am i right ?(wehn interleave is set to 2, and buswith is set to 32)
Quoted 6 lines
Quoted 2 lines
When it only detects one chip, my problem must be in detecting the chips by CFI, is this correct ?
Not necessarily. Some of our printks are confusing -- if it claims to have detected only one chip then it might mean one _pair_ of chips. Can you show exactly what it said?
this is the output, you see that i have phymaped 64MB, but cfiprobe only detects 32MB. also only one erase region and so on
physmap flash device: 4000000 at 10000000 genprobe_new_chip nr of chips 2
Number of erase regions: 1
Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard) Primary Algorithm Table at 0040
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum: 2.7 V Vcc Maximum: 3.6 V
No Vpp line
Typical byte/word write timeout: 128 s
Maximum byte/word write timeout: 256 s
Typical full buffer write timeout: 128 s
Maximum full buffer write timeout: 4096 s
Typical block erase timeout: 1024 ms
Maximum block erase timeout: 16384 ms
Chip erase not supported
Device size: 0x2000000 bytes (32 MiB)
Flash Device Interface description: 0x0002
- supports x8 and x16 via BYTE# with asynchronous interface
Max. bytes in buffer write: 0x20
Number of Erase Block Regions: 1
Erase Region #0: BlockSize 0x10000 bytes, 512 blocksphys_mapped_flash: Found 2 x16 devices at 0x0 in 32-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Using buffer write methodphys_mapped_flash: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. 6 RedBoot partitions found on MTD device phys_mapped_flash Creating 6 MTD partitions on "phys_mapped_flash":
0x00000000-0x00040000 : "RedBoot"
and number of cfi chips tells :1
thanks regards manfred
Quoted 1 line · Manfred Gruber
phys_mapped_flash: Found 2 x16 devices at0x0in 32-bit bank
It found two devices, in a pair. After that, it treats them as one 'chip' because they're interleaved and so they do everything together.
Quoted 1 line
number of CFI chips: 1
That really means one interleaved _pair_ of chips.
Signature · 1 line
dwmw2
Am Freitag, 20. August 2004 13:13 schrieben Sie:
Quoted 9 lines · Manfred Gruber
Quoted 1 line
phys_mapped_flash: Found 2 x16 devices at0x0in 32-bit bankIt found two devices, in a pair. After that, it treats them as one 'chip' because they're interleaved and so they do everything together.
Quoted 1 line
number of CFI chips: 1
That really means one interleaved _pair_ of chips.
OK.
But the output of device size and erase size?
When it should be then seen as one chips, why is erase size 0x10000 and device size 0x200000 ?? That for one chip ....
thanks, regrads manfred
Quoted 3 lines · Manfred Gruber
But the output of device size and erase size?
When it should be then seen as one chips, why is erase size0x10000and device size0x200000?? That for one chip ....
Yes, that's the debugging dump of the CFI table. You should find different results in /proc/mtd
Signature · 1 line
dwmw2
Re: Number of CFI chips and Re: JFFS2 with AM29LV256M
Am Freitag, 20. August 2004 13:40 schrieben Sie:
Quoted 7 lines · Manfred Gruber
Quoted 3 lines
But the output of device size and erase size?
When it should be then seen as one chips, why is erase size0x10000and device size0x200000?? That for one chip ....Yes, that's the debugging dump of the CFI table. You should find different results in
/proc/mtd
OK. I see that finding the chips is correct.
Writing whith write buffer is also okay.
Then must be my problem in the write_word/write_oneword function be.
Any comment where here could be the problem, or how these functions work ?
Thanks regards manfred