This content has been marked as final. Show 6 replies
1. Changing the descriptor file does not change the endpoints the device has... there are 7 endpoints ep0 ep1in ep1out ep2 ep4 ep6 and ep8... you will have to stick to that....
2. Direct connection means only the buffer of endpoints 2,4,6 and 8 can be accessed through pins
I want to change the endpoint address.
And there are endpoint descriptor in the 8051 source file dscr.a51(assembly source file).
How can I chage the endpoint address?
you cannot change the endpoint address... it is fixed on the hardware... may i know why you insist on having an endpoint with endpoint address 10..... the main logic behind fixing the endpoint address rather than keeping it programmable is the fact that in a block level communication abstraction only the pipes come into picture (so the endpoint address being addressed doesn't impact the host or device)...
I have many equipments which must use the same driver(actually drivers of different OSs). But the drivers modification and patch proc is not such a easy job. With this environment, I must add the some USB euiqments(cypress CY7C68013) which use the just same drivers, and drivers use the some already fixed endpoint addresss.
If you can, would you mind to tell me some of the reference documents which makes certain about the endpoint address fixed by hard-coded scheme?
In the datasheet there is a separate section on Endpoint RAM which mentions this constraint. I'm not sure whether you can find devices on which the endpoint address can be configured.
To be frank, hardcoding values in driver or application is an bad idea. Not only does it create problems but reusability is also lost...
Thanks for your advice.
Have a nice day~!