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)
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 ...
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.
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.
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.