Hi!
I finally found where the problem was : when the addresses of the
structures which are used by EZ-Host for send or receive USB data, they
are send in reverse order. For exemple, if the structure is at the
address 0x95a, the value stored in EZ-Host is 0x5a09 which is out of bound.
Hope it will help someone with the same problem
Vincent
Vincent Fourvel a écrit :
Hello!
I have a board with a 5208 Coldfire and an EZ-Host used in coprocessor
mode.
I try to make the device driver working using the de1_dev.c
example.for the moment I havent modified it (expect for number of
endpoints and some descriptors)
My uClinux has a 2.4.27 kernel and the device port is on SIE2 of PORT0.
When I connect the board to a PC , it is correctly enumerated. I have
successfully register my driver so I can open and close it.
But when I attempt to read data coming from a PC (using the read
fonction), nothing happens : the recv_urb call back is not called. I
have found that no interrupt is set but the data sent by the PC are
acknowledged by the EZ-Host
I have the same kind of problem on the write function: data are
correctly transmitted to lower layers, but when I try to recover them
from an external PC, data are sent which are not the data I've
prepared and the sent_urb call back, is not called. As for read
function, there are no interrupts set.
I join my test application and the modified de1_dev.c. Perhaps, I do
not used correctly the functions
Thanks in advance for help
Vincent Fourvel
------------------------------------------------------------------------
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev