Skip to main content
Senior
August 7, 2019
Question

How to update/reflash firmware rather than Debug ?

  • August 7, 2019
  • 3 replies
  • 1198 views

Hi all,

I am using STM32Cube IDE (Eclipse based) and I am trying configure the IDE to reflash the uC using the Run option rather than Debug option, without success.

I always used OpenOCD from shell under Linux for this purpose.

How can I setup the STLink for Run configuration in STM32Cube IDE ?

Is there any small tutorial / user guide / AN available ?

Thanks in advance.

Simon

This topic has been closed for replies.

3 replies

ffabi
Associate II
August 7, 2019

Hello,

in the release notes https://www.st.com/content/ccc/resource/technical/document/release_note/group0/9a/72/48/16/ec/bd/44/5a/DM00603738/files/DM00603738.pdf/jcr:content/translations/en.DM00603738.pdf is stated:

The [Run] button is not yet implemented and is therefore hidden from the toolbar menu and Run menu.

so unfortunately this function is not yet implemented.

Best regards

fabi

simo zzAuthor
Senior
August 8, 2019

Oh, wow...

Thanks.

s.

Markus GIRDLAND
ST Employee
August 9, 2019

You could use the argument "quit" in the Debug Script to achieve a similar result, a sort of workaround.

In the Startup tab there is a box called "Run commands". Having the argument "quit" will immediately terminate the debug session.

ffabi
Associate II
August 9, 2019

@Markus GIRDLAND​ i thought that there is still a difference between building with or without debug symbols, or am I mistaken at that point?