cancel
Showing results for 
Search instead for 
Did you mean: 

USB Bulk transfer.

paulbrown9
Associate II
Posted on January 17, 2006 at 04:00

USB Bulk transfer.

17 REPLIES 17
paulbrown9
Associate II
Posted on November 29, 2004 at 14:51

I have managed to get bulk transfer from host to STR711, but cannot get the other way working. I have set up EP2 as a bulk out in the usb_desc.c file and created a callback Callback_ep2. But the callback does not seem to get called. In fact I can't seem to get any USB interrupt that use EP2.

Do I need to set something else up first. For instance I have initialised a buffer for receiving the data with the following

SetEPRxAddr(ENDP2, ENDP2_RXADDR);

SetEPRxCount(ENDP2, 32);

SetEPRxValid(ENDP2);

but don't know if this is the correct thing to do.

Please help

P.

nopti_albe
Associate II
Posted on August 30, 2005 at 09:28

Could you also give us a version for IAR 4.30? There seems to be quite a lot of code to change and it would be easyer for you to do it... I'll try to do it myself, hope to make it work.

reg007
Associate II
Posted on October 12, 2005 at 10:14

Hi.

Just one question, Risc.

Did you develop the ''RwBulk.exe''?

And if so, may i get the source code,

or better might you give me the programing interface for the Driver?

I am not able not find the documentation fo the driver on www.intel.com.

Thanks for your help.

Regards

re-G

[ This message was edited by: re-G on 12-10-2005 13:45 ]

sjo
Associate II
Posted on October 12, 2005 at 14:07

it all all taken from the windows ddk samples - attached

Regards

sjo

________________

Attachments :

bulkusb-ddk.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtJz&d=%2Fa%2F0X0000000aLa%2FWB9WRyaNySq1H5n3RTZCtioAQA8u4w6SsF4XSd6j5mM&asPdf=false
shangdawei1
Associate II
Posted on October 14, 2005 at 04:58

Quote:

On 30-08-2005 at 13:36, Anonymous wrote:

Hi,

I have attached a version of the USB bulk for EWARM 4.30A

regards,

zouhair

has anybody keil arm version of the USB bulk ?

reg007
Associate II
Posted on October 14, 2005 at 05:06

@ RISC: nevermind :D

@ sjo: thanks for the example.

regards

reg007
Associate II
Posted on November 09, 2005 at 07:34

[EDIT]

Sry. Question answered.

Finaly i've found it.

:-]

[/EDIT]

[ This message was edited by: re-G on 09-11-2005 15:26 ]

fa
Associate II
Posted on December 01, 2005 at 10:12

Hi,

I am trying to get the Bulk example to work, I am able to get the readbulk working once, then no interrupts occurs.

The write functions seems to work, but I havn't been able to verify that the write actually takes place on the MCU.

Best regards,

Frank Andersen

[ This message was edited by: frankandersen on 01-12-2005 15:42 ]

anil23
Associate II
Posted on December 16, 2005 at 18:57

Hi Frank,

I'm stuck at the same problem as you are...Could you get usb work any further...If so...please advise me....

Thanks.....