Skip to main content
Associate II
Jun 25, 2025 7:14 AM UTC
Solved

Issue in new AutoDevkit studio in flashin

I installed newer version of AutoDevKit studio from ST website and imported a project fromm samples.

I tried to flash the generated elf but it is giving following error.

MohitManvar_0-1750835636083.png

 

This topic has been closed for replies.
Max VIZZINI
Max VIZZINIBest answer
ST Technical Moderator
Jun 25, 2025 9:57 AM UTC

Hi Mohit,

Here you are the link to the WIN PC drivers, de-install and install again:

STSW-AEK-SPC5LNK - WinUSB drivers for AEK-MCU-SPC5LNK - STMicroelectronics

Best Regards,

AutoDevKit Team

5 replies

ATROI
ST Employee
Jun 25, 2025 8:03 AM UTC

Hello Mohit,

I just imported the same demo you mentioned in the post using AutoDevKit 2.6.1.

I cleaned and compiled the project. At this point, I flashed the generated Elf file into the board using OpenOCD without any problems. (see image below)

ATROI_0-1750838412893.png

I suggest removing the project from the Project Explorer, re-importing it from scratch, cleaning and recompiling it, and then flashing the compiled code using OpenOCD.

Thanks, 

AutoDevKit Team

Associate II
Jun 25, 2025 8:28 AM UTC

I tried again as per your steps, still it is not flashing.

having same error.


What I understood is if I install Autodevkit studio, then it will install all supporting files.

Additionally, I installed SPC5LNK driver as per instructions on ST site

Max VIZZINI
ST Technical Moderator
Jun 25, 2025 8:52 AM UTC

Hi Mohit,

You need to do a minimum configuration from OpenOCD to be working.

On top of that, you need to make sure there is no previous UDE installed on same machine that it is generating conflicts.

I put in attachment a Quick Start Guide to support you with the correct installation.

Best Regards,

AutoDevKit Team