Skip to main content
Associate II
June 25, 2025
Solved

Issue in new AutoDevkit studio in flashin

  • June 25, 2025
  • 1 reply
  • 568 views

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

 

Best answer by Max VIZZINI

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

1 reply

ATROI
ST Employee
June 25, 2025

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
June 25, 2025

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
Technical Moderator
June 25, 2025

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