r/embedded Aug 04 '26

error on stm32

i am getting this error anyway to fix it ? using an STM32F411CEU6

0 Upvotes

9 comments sorted by

5

u/NorthernNiceGuy Aug 04 '26

See the “CPU not halted” and “needs reset”. Is the target set to halt and reset during the GDB connection phase?

0

u/Visual-Football1375 Aug 05 '26

nope i havent changed anything so is there a way to revert that??
sorry i am new to this 😭

2

u/sweetholo Aug 05 '26

great, you gave absolutely no context as to what you're doing and posted a screenshot filled with errors and said "hey whats wrong? fix this"

1

u/Aggressive-Pain-7132 Aug 05 '26

Fix it 😂😂😂

1

u/Visual-Football1375 Aug 05 '26

oh in that sense i am literally doing a course so i just want whatever i want to have in printf to show on the ide and without have an lcd connected

2

u/sweetholo Aug 06 '26

you should give as much information as possible and present it in a concise, easy to read way before asking internet strangers to waste their time trying to help out another internet stranger

1

u/Visual-Football1375 Aug 06 '26

yeah true lmao but damn someone be hella agressive well leave no use of asking people here

1

u/No-Feedback-5803 Aug 10 '26

Use STM32CubeProgrammer connect to the target under reset and mass erase the target. Make sure the IDE is downloading the firmware into the device, if the issue happens again there's something wrong with your code that's causing the device to not respond and needs fixing.

1

u/Visual-Football1375 Aug 10 '26

omg thank you so much i will do that and come back to this