How to set up and run the code for "stlink" zip file from github in ubuntu 20.04

I am new at Ubuntu (20.04) and assembly programming. What I need to do is to set up the "stlink" stlink-1.6.1-1.x86_64.rpm file and/or Source code.zip file in this github link for release version v1.6.1 ( zip files are at the bottom of the explanations): .

(Stlink is a helper program to communicate between the computer and the arm STM32F Discovery board.)

I have double click the zip files and it does not started any kind of set up, it just go into the main folder in the zip file. Can anyone help me settin up this program?

0

2 Answers

After downloading and extracting the zip file, please consult the README. It says, in part:

Linux

We recommend to install stlink-tools from the package repository of the used distribution:

I suggest that you open a terminal and do:

sudo apt update
sudo apt install stlink-tools

You should be all set.

1

A very fast and easy to install on linux is EBlink. EBlink is using a more sophisticated algorithm and is the fastest gdb server (for stlink).

Stlink-org is no longer maintained so for newer devices you have to look for alternatives anyway.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like