cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-ESC001V1 does not start on power up unless manually reset

SRola
Associate III

Both debug and release versions (EWARM 8.4.1) will run on the ESC on debug mode.

With ST-Link Utility if I connect then disconnect, the ESC will start running the program.

But with SWD interface disconnected, and power applied, ESC will not start. If I manually put NRST pin to ground, then program will start. I know is not a HW problem as other program (blinking one LED) build with other compiler will run without this issues.

I got better results by adding HAL_Delay(4000) after HAL_Init() but again when all four ESC (from one quad copter) are powered up from battery, randomly, one or two motors will not start.

Already searched the forum and found two similar topics but they are talking about custom made PCB's and separate RESET IC's.

https://community.st.com/s/question/0D50X00009XkWs4/stm32-controller-need-hard-reset-after-power-on-to-start-booting

https://community.st.com/s/question/0D50X00009XkZwpSAF/stm32-poweron-problem

Any help is appreciated.

Sergiu

6 REPLIES 6
Claire O.
ST Employee

Hello Sergiu,

can you please describe your set up? Which firmware are you using?

Thanks,

Claire

SRola
Associate III

Hello Claire,

Thank you for answering.

I use EWARM 8.4 , MCSDK 5.4.4, STM32 CubeMX 5.6.1, Firmware "latest" or V1.11.0(recommended).

Regards,

Sergiu

PMart.1
Associate III

Hi @SRola​ 

Did you ever get this figured out? I am seeing a similar problem.

Thanks!

Laurent Ca...
Lead II

Dear @SRola​ , dear @PMart.1​ 

Did you start again your project from scratch in applying the patch given in this thread: https://community.st.com/s/question/0D53W00000HwV8RSAV ?

Best regards

Laurent Ca...

Laurent Ca...
Lead II

Dear @SRola​ 

Any news?

Best regards

Laurent Ca...

Laurent Ca...
Lead II

Dear @SRola​ 

As you do not answer, I guess you don't have to solve this problem anymore, therefore I consider this thread closed.

If not, feel free to reopen it by posting a new answer.

Best regards

Laurent Ca...