cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link API in C/C++

Mathias89
Visitor

Hi everyone,

 

My program isn't establishing a connection to the controller.

FlashLoder and Data_Base are located right next to the .exe file in the /x64/Debug folder.

 

I've attached my program; maybe someone can point out where I'm going wrong.

 

It works fine with Example 2.

 

Thanks a lot

Best regards, Mathias89

 

1 REPLY 1
Aziz BRIGUI
ST Employee

Hi @Mathias89

In the way your project is structured, you'll need to put the Data_Base folder at the same level as "STLink_V01_XXX" folder. I also suggest you set the displayCallBacks as done in the main API file to have better logging in case of issues. If that was set you would have had a message like this one:

AzizBRIGUI_0-1780327847326.png

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.