cancel
Showing results for 
Search instead for 
Did you mean: 

USB stack: HELP

smartpocket
Associate II
Posted on September 14, 2004 at 13:09

USB stack: HELP

6 REPLIES 6
smartpocket
Associate II
Posted on September 09, 2004 at 06:38

Hi,

i have a problem with USB demo on board MB393-2.04: the USB enumeraton dont work correctly . . . or after a correct enumeration the control endpoints is halted !!

In attachment you can find Catc logs . . .

HELP ME !!

smart

________________

Attachments :

USBDemoLogs.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtT9&d=%2Fa%2F0X0000000aQP%2FaFC1Su7ki6lBwCVkNCrqR2i00887JQCbgXhi01kCJAU&asPdf=false
mohamed23
Associate II
Posted on September 09, 2004 at 07:11

Hi smart,

I get a look on your usb catc files, You are right there is something

not working well ... Just after IN Transactions !!

Could you please send your project files to see your code.

Thanks,

[ This message was edited by: Rave on 09-09-2004 11:14 ]

smartpocket
Associate II
Posted on September 09, 2004 at 08:16

Hi Rave,

the code is the Mouse HID Demo from ST in ''Software Library - USB.zip''

I have changed only the scrat file:

FLASH 0x40000000 0x10000

{

FLASH 0x40000000

{

71x_vect.o (Vect, +First)

71x_init.o (Init)

* (+RO)

}

RAM 0x20000000

{

* (+RW)

* (+ZI)

}

}

Thanks for your help !!!

smartpocket
Associate II
Posted on September 10, 2004 at 11:05

HIi RISC

the flash is mapped at 0x00 (User mode).

NOTE - In ''usb_core.c'' on line 730 this comment (in italian) is present:

/* sb questo e' un baco della libreria st9 */

ControlState = pInfo->ControlState; /* may be changed outside the function */

/* sb */

this is a know bug ?

thanks

smart

smartpocket
Associate II
Posted on September 13, 2004 at 05:39

RISC,

sorry, but in your zip file is not present the afx file: this s a project for ST9 and not for ARM STR7.

Have you a working RealView configuration for this demo ?

thanks

smartpocket
Associate II
Posted on September 14, 2004 at 13:09

RISC,

it works: thanks !!!!

regards

smart