Hello
I am working with zedboard 7z020 I am transferring data from spi device.
For this I use the ioctl cmmand but it gives me
:Bad address error
after searching I found that different types types of error for ioctl is
E2BIG Arg list too long
EACCES Permission denied
EAGAIN Resource temporarily unavailable
EBADF Bad file descriptor
EBADMSG Bad message
EBUSY Resource busy
ECANCELED Operation canceled
ECHILD No child processes
EDEADLK Resource deadlock avoided
EDOM Domain error
EEXIST File exists
EFAULT Bad address
EFBIG File too large
EINPROGRESS Operation in progress
EINTR Interrupted function call
EINVAL Invalid argument
EIO Input/output error
EISDIR Is a directory
EMFILE Too many open files
EMLINK Too many links
EMSGSIZE Inappropriate message buffer length
ENAMETOOLONG Filename too long
ENFILE Too many open files in system
ENODEV No such device
ENOENT No such file or directory
ENOEXEC Exec format error
ENOLCK No locks available
ENOMEM Not enough space
ENOSPC No space left on device
ENOSYS Function not implemented
ENOTDIR Not a directory
ENOTEMPTY Directory not empty
ENOTSUP Not supported
ENOTTY Inappropriate I/O control operation
ENXIO No such device or address
EPERM Operation not permitted
EPIPE Broken pipe
ERANGE Result too large
EROFS Read-only file system
ESPIPE Invalid seek
ESRCH No such process
ETIMEDOUT Operation timed out
EXDEV Improper link
So this means this is EFAULT Bad address error
How can I get rid off from this problem
thanks in advance