I am trying to develop spi driver  for mpc885 processor 

I am  able to write to the device  , but in master mode when I am trying to
read from the device  We are getting segmentation fault,As it is master  we
are generating the clock by dummy write 

 

If I am  trying to write using memset ,I am not getting any segmentation
fault.

 I think it is the alignment problem 

 

I am attaching the code we are using 

Please give me the suggestion

 

Regards

Bharathi

 

 

 

 

 

_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to