Dataflash on IMX51 EVK?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dataflash on IMX51 EVK?

565 Views
N_Coesel
Contributor III

Has anyone ever used the dataflash (AT45DB321) on the IMX51 EVK board?

I have derived my own board from the EVK design but I can't get the dataflash to work as a JFFS2 filesystem. I already discovered (and corrected) a fatal flaw in mxc_dataflash.c but I'm wondering how many more problems there are.

Tags (1)
0 Kudos
2 Replies

485 Views
N_Coesel
Contributor III

I'm not using it as a boot device. It seems I can read/write using mtd_debug but when I try to mount it I get a lot of messages like:

Newly-erased block contained word 0x20031985 at offset 0x00277200

The value after word is always the same. When I dump the flash around 0x00277200 I see it is empty. I think it is some race condition between the PMIC and the flash using the same SPI interface.

When I try to modify a file, the JFFS2 kernel driver produces a kernel bug originating from wbuf.c.

I'm using kernel version 2.6.35.5.

0 Kudos

485 Views
DualDisplayiss1
Contributor I

can you r/w in u-boot?

eric@campro-cctv.com

0 Kudos