2026-03-20 12:05 AM
I am working on a custom board with STM32F103CBT6TR. Initially, flashing the code resulted in a Hard Fault error, but now it consistently enters a SIGTRAP even after removing all breakpoints. Additionally, the GPIO pins are not toggling as expected. The code is attached as notepad file for reference. Can someone give a solution to this, thank you.
2026-03-22 9:38 PM
I will see to try on this and will update you. Thank you.
2026-03-23 2:37 AM
@suba512 wrote:I tried in NUCLEO-H753ZI development board too,
That's a completely different chip - really doesn't tell you anything about the behaviour of an STM32F103 !
You could try this utility to see what is actually on your Blue Pill:
https://mecrisp-stellaris-folkdoc.sourceforge.io/bluepill-diags-v1.640.html#diags-1-640
2026-03-23 3:55 AM
I will see to it and will update you regarding this, thank you.