cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring debug from STM32F4 on Linux-Eclipse

maxzor
Associate II
Posted on October 01, 2017 at 12:57

Hello,

I have a project compiled under Eclipse on Linux Ubuntu with SW4STM32 plugin.

The project was imported from Git.

I have installed STLink udevrules as per

http://embedded-things.blogspot.ru/2016/06/st-linkv2-1-driver-on-linux.html?view=mosaic&_escaped_fragment_=

.

Building was OK, but I have issues setting up debugging.

First target selection is missing

0690X000006047UQAQ.jpg

Second, I get ''ST Link server not installed on this machine''

0690X000006047ZQAQ.jpg

Any clue?

Best regards.

#sw4stm32-eclipse
5 REPLIES 5
maxzor
Associate II
Posted on October 01, 2017 at 17:40

This not being a thread about MCU, feel free to delete it and/or help in the OpenSTM32 topic :

http://www.openstm32.org/forumthread5830?topics_offset=0

 
Posted on October 01, 2017 at 18:54

chambonnet.maxime wrote:

This not being a thread about MCU, feel free to delete it ...

what you want to debug with those tools?

Posted on October 01, 2017 at 19:13

It is not really debugging, I would like to run the code step by step to learn from it (Inavflight project on Github).

Posted on October 01, 2017 at 19:44

I would start with CleanFlight project,

https://github.com/cleanflight/cleanflight

  as it has the basics, sources and a good doc (I guess), then I will move towards the iNav project as it has advanced navigation features. There are also the sources so, I don't see yet the need for a step-by-step execution. I will study the concepts, the way motors are actuated, etc. There is also a forum,

https://www.rcgroups.com/forums/showthread.php?2249574-Cleanflight-firmware-for-STM32F3-based-FCBs-Check-First-Post-Please!

 

So I will start with small projects on STM32, projects that are like puzzle pieces in the CleanFlight project - that is if you want to learn how to do your own in the end from scratch. Making a DIY quadcopter to fly is a first successful step.

Posted on October 01, 2017 at 20:13

I appreciate your advice, but I have much more knowledge about drone software than STM products. I am familiar with most drone stacks, with PID controllers, ESC/radio/video protocols... What I really want to learn is how are working CortexM core, timer channels, bus management, bootloader, HAL/LL differences... hence my will to take a step by step journey rather than looking at static low-level code which I find overwhelming at times!