AW: [U-Boot-Users] problem with cfi_flash.c & AT91RM9200DK

Martin Krause Martin.Krause at tqs.de
Mon Oct 4 13:47:06 CEST 2004


Hi Morten,

Morten wrotes on Montag, 4. Oktober 2004 12:40:
> Hello !
> 
> I have exchanged the flash on my AT91RM9200DK with a
> AT49BV320C cfi flash,
> and done all needed mods to the config file, every thing
> seems ok except
> that it get the size of the flash
> incorectly.
> 
> It sayes that it is a 16x16 4m, 71 sector cfi complient
> flash, when it
> should be a 2097 x 16, 32m, 71 sector flash ?

Why should it be 2097 x 16, 32m? The datasheet says the flash is organized 2M x 16. This means 2M (= 2^21 = 2.097.152) Addresses each 16 Bit (= word) wide. And this is a size of 4 MByte.

> size_ratio 1 port 16 bits chip 16 bits
...
> Bank # 1: CFI conformant FLASH (16 x 16)  Size: 4 MB in 71 Sectors

This means U-Boot has detected a flash that is connected to a 16 bit port (bus) and the flash chip itself has also a 16 bit wide interface.

The dirver seems working correctly to me.

Regards,
Martin




More information about the U-Boot mailing list