Problems with cfi_cmdset_0002 and Atmel AT49BV642D

Michael König Michael.Koenig at ipcas.de
Tue May 8 09:04:51 EDT 2007


Hello Vitaly

>> cse0: Probing a 0x04000000 bytes large window at 0xe0000000.
>
> that's b/c you're supplying too large a window, but that's harmless
> AFAICS.

Strange, I don't think I'm supplying that window size anywhere, so it must 
be some preset range by Axis. I just took a look at the output of a device 
with a smaller Flash and it was the same window.

>> Node totlen on flash (0xffffffff) != totlen from node ref (0x00000044)
>
> I'd check if you have the right width set up first.

Both kernelconfig files have the following settings for the Flash:
CONFIG_ETRAX_FLASH_BUSWIDTH=2
CONFIG_ETRAX_FLASH1_SIZE=8

The kernelconfig for Linux 2.6 also adds CONFIG_ETRAX_NANDFLASH_BUSWIDTH, 
which was set to 1. I didn't think it would matter, since we don't have 
NAND Flashes, just NOR ones. I set it to 2 as well, just to see what 
happens, but I still have the same behaviour.

To be totally sure, I changed the FLASH_BUSWIDTH to 1 and still have the 
same effects. It's a bit strange, I didn't expect it to work at all.

It still bugs me that I cannot find the command sequence that is used in 
do_write_buffer() in my Atmel documentation.

-- 
Mit freundlichen Grüßen
Best regards
Michael König

ipcas GmbH
Wetterkreuz 17
91058 Erlangen, Germany
Tel.: +49 9131 7677-31
Fax: +49 9131 7677-78
mailto:Michael.Koenig at ipcas.de

Geschäftsführer: Dipl.-Ing. S. Sutiono
Sitz der Gesellschaft: Erlangen
Registergericht: Fürth, HBR 3676
WEEE-Reg.-Nr. DE 77202473

Hinweis: Diese E-Mail und etwaige Anlagen können Betriebs- oder
Geschäftsgeheimnisse, dem Anwaltsgeheimnis unterliegen oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail
irrtümlich erhalten haben, ist Ihnen der Status dieser E-Mail bekannt.
Bitte benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail
und löschen Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System.
Ebenso dürfen Sie diese E-Mail oder seine Anlagen
nicht kopieren oder an Dritte weitergeben. Vielen Dank.





More information about the linux-mtd mailing list