tekati

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: ST-Link v2 device not found #3318
    tekati
    Participant

    I finally got mine to work. This is basically what I had to do or why it did not work to start with.

    First off download and install the STLink V2 Drivers and Utility.
    This is the link for STSW-LINK003 which is the DRIVERS file from ST
    http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/driver/st-link_v2_usbdriver.zip
    This is the link for STSW-LINK004 which is the UTILITY file from ST
    http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/utility/stsw-link004.zip

    Now I uninstalled all my current drivers and then installed both of these files and drivers.

    Then I plugged my board back in.

    Once the drivers installed themselves I went back to Visual Studio and opened up a previous example so I could get to the settings.
    Project > VisualGDB Project Properties > Debug settings. Debug Method: OpenOCD. View Mode: Quick Setup. The device type should be autodetected as STM32F4xxx. Programming Interface: ST-Link v2. Before Debugging: Load the program into FLASH/RAM. Then I clicked on the Test selected OpenOCD settings. Now when it asked me to install the WinUSB drivers I actually just hit cancel. I did not try to install them to see if that worked too but since it worked without them and I fought to get that far I just left it alone and OK’ed out. Have not had a problem since.

    Hope this helps others and if you have questions ask and I will try my best to answer them. Not sure why no one answered this before and for a product that I am expected to purchase I was hoping for better tech support. Now I have 24 days to evaluate the program which should be fine but what else am I going to have issues with and not get any support 🙁

    in reply to: VisualGDB test error. #3288
    tekati
    Participant

    @bazis wrote:

    Hi,
    Based on the log, the clean action fails because there is no project built yet (it should be normally ignored), but the build succeeds. Does the normal build command (not rebuild) work?

    You are right it does build. It threw me because I am showing 100 intellisense errors. Any idea why I am getting a ton of errors?

Viewing 2 posts - 1 through 2 (of 2 total)