2020-07-30 12:15 PM
Hello, I am a novice programmer. I have a problem with EVSPIN32F0601S3.
I cannot compile the program generated by ST Motor Control in any way - whatever I would not do, an error pops up:
"Make: *** No target rule" ../Middlewares/MotorControl/inrush_current_limiter.c ", needed by" Middlewares / MotorControl / inrush_current_limiter.o ". Stop. The problem with the C / C hard drive "
ST MOTOR CONTROL shows no error.
And I can't connect via ST Motor Control to EVSPIN32F0601S3 board (I can via IDE and others).
Can someone help me with this problem or indicate where I can look for a solution?
2020-08-03 12:37 AM
Hi @Kamil Wroński welcome to ST Community.
For a better support, can you share the whole project folder?
2020-08-03 12:24 PM
Hi
I was able to fix this problem, but another one appeared. I am not able to connect to the EVSPIN board via ST Motor Control. The program tells me to check the board's power supply or baud rate. The board is properly powered and the baud rate is set as needed. I also tried to connect via Motor Profiler but in this program I cannot select my board (it is not in the "Select Boards" tab).
I can still connect to the board using the IDE
2020-08-04 06:57 AM
Hi @Kamil Wroński ,
please could you share with the Community how you fixed for the Make issue?
Concerning the missing connection with ST Motor Control workbench, I can suggest that you do some checking:
Let me know if you were able to connect the board to STMCWB.
2020-08-04 07:10 AM
Hi
I checked these options at the beginning and they are all set correctly. ST Motor Control is the only program that does not bind to the board. Other programs, such as the IDE, connect without any problems.
2020-08-05 04:57 AM
Hi @Kamil Wroński ,
What IDE are you using?
Did you upload the firmware generated by the Motor Control workbench to the board?
2020-08-05 05:15 AM
Hi
I am using STM32CubeIDE 1.4.0
Immediately after generating the code, I uploaded it to the board.
2020-08-06 08:19 AM
Hi @Kamil Wroński
the IDE communicates with the device through SWD, whereas the Motor Control WB with UART.
To try to find the causes of missing communication, please share your procedure step-by-step.
2020-08-06 11:57 AM
cześć
Najpierw uruchomiłem St Motor Control i ustawiłem parametry silnika, zasilanie, ustawienia mikrokontrolera itp. Następnie wygenerowałem program i wgrałem go za pomocą STM32CubeIDE. Teraz próbuję połączyć się z płytą przez ST Motor Control. Zauważyłem, że wbudowana płytka ST-link może łączyć się z mikrokontrolerem przez UART. Zgodnie z twoją radą próbowałem połączyć się przez UART. Odłączyłem wbudowane w płytkę łącze St-link i podłączyłem zewnętrzne, ale pojawiły się te same błędy.
2020-10-06 12:54 AM
Dear @Kamil Wroński
Could you translate your last message in English?
Thanks by adavance.
Best regards
Laurent Ca...