Hello, project configured for ARM CM55, compiler optimization -Ofast, link time optimizations disabledHere is main functionint main() {
printf("!");
printf("hello!");
/* testAll_flatten();*/
return 0;
}
Debugger can step in main and output printf() in console but when i comment printf() and uncomment testAll_flatten module, that contains different tests, function calls etc i see next errors and warnings and cannot debug my project or just see printf() in console... and after pressing Continue i see only
waitcontinueNORMAL_TERMINATIONExecution stopped in Secure Privileged Thread mode at 0x000010E4 due to application reaching end of execution0x000010E4 BKPT #0xabHere I attach additional info about debug configuration and scatter file
https://drive.google.com/file/d/16Q9u_kfOA9pnwwTqkNLxrN0y0fKmiXom/view?usp=sharing (scatter file)
Similar problems are encountered in other larger projects configured in a similar way, I suspect that there may be something wrong with my scatter file, or that some functions, files, (if I understood correctly) are not in the execution range... How to fix that and how to debug without these problems?
Hi and thanks for the reply, I checked, Arm DS version is 2024.0 and the debug configuration is run from the debug image, not the release${workspace_loc:/flatten/Debug/flatten.axf} So I will create a separate support case, thanks again for your help! Oleksandr