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

USB configuration Problem?!?

I have developed a firmware that is working perfectly in the board kit with the uC ST912FA44, when I try to download into my own pcb board it doesn't work as expected.
I have change the IO pin's, clock configurations, everything.

Download the firmware is ok

unplug the JTAG socket from the board is ok

Connect to host with USB cable is ok

The device is recognized by the PC but my software hangs after a few seconds.

Is recognized by the PC only the first time I connect to the PC, after re-plug the cable the device is not recognized anymore ?!?

Does this behaviour tell you something? I have tried several things but without success.

The firmware is working in the workbench kit.
I have a "blink" test firmware that also works in my new pcb board.

Thanks for your help.

Parents
  • Hi Tsuneo,

    I have checked and re-checked all the IO's pins, timeout settings, reset, etc but no news.
    After connecting the device it works for about 2 seconds and hangs. After re-plugging the host says device not recognize... The funny part is that I have two firmwares, A DFU bootloader and a user firmware, and the firmware is working exactly with the same settings?!?

    I have posted both firmwares in the ST forum, and I would like to ask you if you can take a quick look to find a mistake. I have also posted the schematic of my board.

    www.st.com/.../forums-cat-7779-21.html

    Thanks and Merry Xmas and a happy new year!

Reply
  • Hi Tsuneo,

    I have checked and re-checked all the IO's pins, timeout settings, reset, etc but no news.
    After connecting the device it works for about 2 seconds and hangs. After re-plugging the host says device not recognize... The funny part is that I have two firmwares, A DFU bootloader and a user firmware, and the firmware is working exactly with the same settings?!?

    I have posted both firmwares in the ST forum, and I would like to ask you if you can take a quick look to find a mistake. I have also posted the schematic of my board.

    www.st.com/.../forums-cat-7779-21.html

    Thanks and Merry Xmas and a happy new year!

Children
No data