Skip to main content
EVesi.1
Associate
May 19, 2022
Question

Error message tells me No source available for "__do_global_dtors_aux() at 0x80001ac". I can't seem to solve this problem, does anyone have any ideas?

  • May 19, 2022
  • 1 reply
  • 2317 views

Hello, I want to write/read on the flash memory. For that I made a small program (attached). My program works on Keil5 but when I switch to Atollic TrueStudio when I want to debug an error message tells me No source available for "__do_global_dtors_aux() at 0x80001ac". I can't seem to solve this problem, does anyone have any ideas? (I use an F401RE)

This topic has been closed for replies.

1 reply

Andrew Neil
Super User
May 20, 2022

That sounds like a library function - so wouldn't be expected to have source?

If it worked on Keil, that will be using different libraries from Atollic - so are you sure you have this correctly set up for TrueStudio.

Note that the CubeIDE has replaced TrueStudio ...

0693W00000NqKtqQAF.png

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
May 20, 2022

"That sounds like a library function"

Indeed - A Google search for "__do_global_dtors_aux" finds this (amongst others):

https://stackoverflow.com/questions/6477494/do-global-dtors-aux-and-do-global-ctors-aux

Also note that this is for C++ - so is your project properly configured for C++ ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
EVesi.1
EVesi.1Author
Associate
May 23, 2022

Hi, thanks for your answer, I program in C. But I found an answer in the following link : Integrating STM32CubeProgrammer in Atollic TrueSTUDIO.

I now use STM32CubeProgrammer to load my program on the board and I debug with Atollic. The tutorial is very simple to follow and worked for me the first time.