Skip to main content
jennifer_dsilva
Associate II
June 27, 2019
Question

Hi, Kindly help me in solving this issue.

  • June 27, 2019
  • 9 replies
  • 2047 views

..

    This topic has been closed for replies.

    9 replies

    Ozone
    Principal
    June 27, 2019

    Being more descriptive with your issue, already at the headline, would help a lot.

    The STM32 discovery boards use to have ST-Link debug adapters, not OpenOCD.

    Or do you have replaced the ST-Link firmware on your board ?

    jennifer_dsilva
    Associate II
    June 27, 2019

    No..I did not replaced the st-link

    turboscrew
    Senior III
    June 27, 2019

    Looks like you are using wrong setup files for openOCD. Which debug interface are you using?

    At least SWD should work fine with OpenOCD - I've been using the Eclipse-OpenOCD-ST-link-mini for quite a while.

    There could also be ST-link USB-driver missing.

    What's your board? Are you using ST-link-v2? Or maybe an on-board debug HW?

    jennifer_dsilva
    Associate II
    June 27, 2019

    Hello,

    Thanks for the reply .

    my settings are

    board : STM32F407VGTX DISCOVERY BOARD (old)

    I downloaded the latest AC6 system workbench from openstm32.org

    i also installed stlink drivers from here https://www.st.com/en/development-tools/stsw-link009.html

    and interestingly it works on other PC but having issue on mine.

    I dont understand what is missing in my PC ?

    jennifer_dsilva
    Associate II
    June 27, 2019

    I am also using the same. Eclipse-OpenOCD

    Ozone
    Principal
    June 27, 2019

    Can't you configure your project to use the ST-Link debugger instead ?

    Would be the easiest way.

    Brian Kling
    Senior
    June 27, 2019

    @jennifer_dsilva​ you created this post 3 times, so I deleted the other two posts. Please only post a question once; otherwise it is a mess if people start responding in several places, thanks!

    Also as mentioned, when you post a question, please describe:

    1. What the issue is, what product(s) are you using and what are you trying to accomplish
    2. What you have tried, with what results
    3. What do you need
    Ozone
    Principal
    June 27, 2019

    > ... you created this post 3 times, so I deleted the other two posts. Please only post a question once; otherwise it is a mess if people start responding in several places, thanks!

    I use to blame the awkward and un-intuitive forum software.

    Not that it hadn't been mentioned, but there are nice and stable forum platforms available. (Just check some competitiors ... :o )

    Why has ST to come up with something extraordinary each time ?

    turboscrew
    Senior III
    June 30, 2019

    Maybe your OpenOCD configuration file is wrong?

    In debugger tab (don't remember by heart) there should be something like "-f boards/stm32f4discovery.cfg"