LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Mtd driver as block device and char device (https://www.linuxquestions.org/questions/linux-kernel-70/mtd-driver-as-block-device-and-char-device-777797/)

Linux_Kid_ 12-23-2009 10:53 PM

Mtd driver as block device and char device
 
Hi All ,

MTD (flash) devices can be access as character device as well as block device.To access flash as char device we can use /dev/mtd<partition number> and if we want to access mtd as block device , we can use /dev/mtdblock<partion number> ...

I am faceing a error
MTD do_write_buffer(): software timeout ..if i am writing mtd device as char device. this error disappear if i use mtd device as block device .

Can any one please tell me reason behind this.

Thanks in advance...

Mara 12-27-2009 12:17 PM

It means that the chip didn't answer in some reasonable time. Are you sure there's no bug in your MTD driver?


All times are GMT -5. The time now is 03:19 PM.