2020-07-23 02:41 AM
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/0D50X00009XkZwpSAF/stm32-poweron-problem
Any help is appreciated.
Sergiu
2020-07-23 07:39 AM
Hello Sergiu,
can you please describe your set up? Which firmware are you using?
Thanks,
Claire
2020-07-23 09:23 AM
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
2020-10-14 02:44 PM
Hi @SRola
Did you ever get this figured out? I am seeing a similar problem.
Thanks!
2020-10-15 12:44 AM
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...
2020-10-26 03:00 AM
Dear @SRola
Any news?
Best regards
Laurent Ca...
2020-11-02 12:34 AM
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...