i encountered the same issue when using j-link to debug my board(stm32f407zg), after changing the startup_stm32f407xx.s into startup_stm32f407xx.s(with uppercase 's' ), the problem disappeared. the reason might be gcc handles .s and .s in different ways

change your startup_xx.s file suffix to uppercase.


your issue might be caused by a missing startup file. check your compilation console for this message: "warning: cannot find entry symbol reset_handler". if you find it, then refer to this other answer:

Related Query

More Query from same tag