So a follow-up for anyone finding the same issue and ending up here.. This is expected behavior. Using the first tab to program will/may cause a Hard Fault on exit (even if you don't see it). Most likely all versions up to V2.11.0. So don't panic,...
I am using Cosmic C, but should be the same issue.I think this is a 'bug' in the linker.. it would seem that if you follow segment after segment, each one takes the attribute of the previous(?) or the mere fact it starts in .bsct range (i.e. page0) ...
Posted on April 06, 2018 at 04:231/ When the STM32F411 powers down, its input diodes will try to power its internal PSU circuits. This shouldn't be an issue as the 411 will take more current than is available. You may however get hick-ups... the r...