Skip to main content
Visitor II
September 14, 2004
Question

USB stack: HELP

  • September 14, 2004
  • 6 replies
  • 945 views
Posted on September 14, 2004 at 13:09

USB stack: HELP

    This topic has been closed for replies.

    6 replies

    Visitor II
    September 9, 2004
    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
    Visitor II
    September 9, 2004
    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 ]

    Visitor II
    September 9, 2004
    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 !!!

    Visitor II
    September 10, 2004
    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

    Visitor II
    September 13, 2004
    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

    Visitor II
    September 14, 2004
    Posted on September 14, 2004 at 13:09

    RISC,

    it works: thanks !!!!

    regards

    smart