cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G030C8T6 does not start to run without present reset button

tomasalar
Associate II

Hi all, 

I have a custom board and application using the mentioned MCU, when I use the "run" with the Release option  on STM32CubeIDE and once I use the board alone the FW starts flawless as soon I power up. Now when I use the STM32CumeProgrammer to upload the "Release" bin file the board do not start the FW after powering up the board but need to press reset for it to start. These behavior tells me is not an issues with the NRST's RC circuit. Could anyone help me to solve this issue, cause have a production waiting to solve this issue since all the boards were programmed using the  STM32CumeProgrammer for speed in production and now all of them need to use the reset button to start.

Al OB are as suggested in the forums and documentation nBOOT_SEL=1, nBOOT0=1, nBOOT1=1 

Thank you in advance.

2 REPLIES 2
TDK
Super User

When the device fails to start, attach a debug session to it without downloading or flashing the chip to see where execution is at.

If device was erased prior to the flash, you will need to load option bytes to clear the empty check flag. Resetting does this. See "2.5.4 Empty check" in the reference manual.

If you feel a post has answered your question, please click "Accept as Solution".
mƎALLEm
ST Employee

Hello,

Did you check the option "Run after programming"?:

mALLEm_1-1756207036004.png

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.