Skip to main content
STai.2
Associate II
Aug 28, 2020 7:35 AM UTC
Question

Can not find ST-LINK I am using STM32CubeMX to generate IAR project code, but ST-LINK device doesn't work.

..

This topic has been closed for replies.

3 replies

Khouloud OTHMAN
Associate
Aug 28, 2020 10:55 AM UTC

Hello STai.2,

Could you please attach youe .ioc file for further check ?

Regards,

Khouloud.

STai.2
STai.2Author
Associate II
Aug 31, 2020 1:33 AM UTC

​My .ioc file as attached file.

Khouloud OTHMAN
Associate
Aug 31, 2020 2:34 PM UTC

Hello STai.2,

I can't reproduce the issue. Generating code from the attached .ioc file using EWARM IDE, ST-Link can be successfully configured:

0693W000002lttwQAA.png

Under the Debugger section, please make sure that "ST-LINK" is selected as the driver:

0693W000002ltwWQAQ.png

Otherwise check "IAR Embedded Workbench for Arm" installation: You can find IAR's drivers for ST-Link for EWARM (Windows) in "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.5\arm\drivers\ST-Link" . Alternatively, you can change your installation of "IAR Embedded Workbench for Arm", selecting "Modify", and checking the option box for "ST-LINK" during the modify process.

BR,

Khouloud.