Skip to main content
Associate III
December 12, 2024
Question

STM32F411CEU6 via STLINK V2 - C13 (Board LED: on/off) - configuration check under Linux with stlink-gui failed

  • December 12, 2024
  • 1 reply
  • 724 views

Hi there,

 

 

follow the attached picture, an easy question for you, for me an effort.

 

left side:

Compiling procedure for a simple 32-bit binary file, ARM

right side:

program code - board LED should turn on

result:

turn on LED - failed

 

Questions:

A

In my opinion it is a failure regarding the "header-handling".

I work with the present CMSIS-files.

Are there hints to integrate the header in a right way?

Are there program failures?

B

Do you know an exactly openocd-instruction to reach the same result as with stlink-gui?

 

 

Regards,

timbo2023

1 reply

Technical Moderator
December 13, 2024

Hello @timbo2023 

Which compiler you are using please? 

>>Do you know an exactly openocd-instruction to reach the same result as with stlink-gui?

I recommend using the STM32Cube programmer to flash your MCU.

 

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om