This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STR9 USB Enumeration Problem

Hello,

I have a MCBSTR9 dev board and have implemented a USB virtual serial port using the example from ST's website. It works fine as long as the jlink JTAG device is plugged in before I plug the board's usb port into my PC. If the jlink device is not plugged in, the device does not enumerate properly. Windows reports a vender and device id of 0x0000, and no driver will load. I have jumper J4 on the board set to ground. Is there a jumper or setting somewhere I am missing? Has anyone experienced this before? Thanks,

-Steve

Parents Reply Children
  • Hello Steve, Anuradha, and everyone,

    I am a novice for both MCBSTR9 and Keil MDK software. I also compile an virtual communication port example from ST website www.st.com/.../familiesdocs-101.html(UM0290 STR7/STR9 USB developer kit), but the example hangs in the Virtual_Com_Port_init function (when I debug the code)

    exactly here:

    void Virtual_Com_Port_init(void)
    {

    UART0_Config_Default();
    while (pInformation->Current_Configuration == 0) NOP_Process(); <-- here
    bDeviceState = CONFIGURED;

    }

    I saw an unknown device in the system manager.
    Your exmaples seem work fine. Do you modify the code to run the USB CDC example? Could you please do me a favour to take a look at my example and give me a clue where I am wrong?

    Many many thanks for your helps!!!