cancel
Showing results for 
Search instead for 
Did you mean: 

Please tell me how to load the project into stm32

ark2
Associate III

I ran stm32 with cubemx and iar to execute the project, but I have to remove the st-link line and execute it

If I take out the line, the project can't be executed, so how can I only connect the board and power to run the project?

download active application -> download file

I tried it the above way, but it doesn't work when I turn it off and on

1 ACCEPTED SOLUTION

Accepted Solutions

If this is a custom board make sure BOOT0 is pulled low.

H​ave places where it dies in while(1) loops silently output more useful reporting or set GPIO or LEDs so you can debug the issue without a debugger attached.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

If this is a custom board make sure BOOT0 is pulled low.

H​ave places where it dies in while(1) loops silently output more useful reporting or set GPIO or LEDs so you can debug the issue without a debugger attached.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Downloading but server source did not work.

Since you wrote the answer, I'll post that it's the best.