how to access nand flash from user space
Hi,
I have been trying to access nand flash from user space.
I am using the functions 'mtd_write' and 'mtd_read' in mtdchar.c . when I include the mtd.h file, I get compilation errors pertaining to the mtd.h file. can someone please tell me how to access these functions from user space.
Thanks,
VK
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Contact your Administrator for further information.
Quoted 7 lines · vishalk
Hi,
I have been trying to access nand flash from user space.
I am using the functions 'mtd_write' and 'mtd_read' inmtdchar.c.
when I include themtd.hfile, I get compilation errors pertaining to themtd.hfile. can someone please tell me how to access these functions from user space.
Hmm...could you paste the error log please. That might be of some help to help you.
Quoted 12 lines
Thanks,
VKThe information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Contact your Administrator for further information.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
begin:vcard
fn:Max Stirling
n:Stirling;Max
email;internet:[email protected]
x-mozilla-html:FALSE
version:2.1
end:vcard
Quoted 5 lines · Max Stirling
Quoted 4 lines · vishalk
Hi,
I have been trying to access nand flash from user space. I am using the functions '
mtd_write' and 'mtd_read' inmtdchar.c.
How do you use mtd_read and mtd_write functions when they are static? Are you meaning to say from your user application you open the /dev/mtdchar and do a read and write?
Quoted 16 lines
Quoted 3 lines
when I include the
mtd.hfile, I get compilation errors pertaining to themtd.hfile. can someone please tell me how to access these functions from user space.Hmm...could you paste the error log please. That might be of some help to help you.
Quoted 10 lines
Thanks,
VK The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.Contact your Administrator for further information.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
begin:vcard
fn:Max Stirling
n:Stirling;Max
email;internet:[email protected]
x-mozilla-html:FALSE
version:2.1
end:vcard