Skip to main content
YBAYR.1
Associate III
February 24, 2023
Question

Why do I need to debug my project every time to make it stm32 work?

  • February 24, 2023
  • 3 replies
  • 1818 views

Why do I need to debug my project every time to make it stm32 work?

What is the reason why the system does not work when I turn it off after disconnecting it from the computer?

For the system to work, I need to connect it to the computer, then when I debug, it works without any problems.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 24, 2023

You've built a board that floats BOOT0 pin?

You've coded something with a dependency, perhaps speed, and clock, or reliant on something the debugger sets or configures, and you don't?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
YBAYR.1
YBAYR.1Author
Associate III
February 24, 2023
YBAYR.1
YBAYR.1Author
Associate III
February 24, 2023

I am using nucleo board (302re) my codes are like this

S.Ma
Principal
February 25, 2023

Issues sometime come from the floating pins for the STLink VCP RX/TX, or -if used- the MCO clock gen of STLink to target chip under debug.

YBAYR.1
YBAYR.1Author
Associate III
February 25, 2023

Thank you very much for your comments.How to arrange for a commercial product. how to get debug? @S.Ma​ @Community member​ 

YBAYR.1
YBAYR.1Author
Associate III
February 25, 2023

Yes. It could be because of that point. I'm trying to fix. Do you have any suggestions on how to debug the project to make it a product?