STM32F4 External Mode not working
8 views (last 30 days)
Show older comments
Hi,
I am using an STM32F411E board with Simulink. I am trying to use the Monitor and Tune but I keep getting this error. I already tried changing my TTL, changing the COM port, using another USART but still nothing.
I am using MATLAB R2023a.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1531322/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1531327/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1531332/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1531337/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1531342/image.png)
What really bothers me is that it used to work just fine, suddenly it stopped working (Already checked all the physical conectrions as well). Any suggestions will be appreciated.
Thanks!
3 Comments
Nithin
on 28 Nov 2023
You can refer to the following link for external mode debugging steps: https://www.mathworks.com/matlabcentral/answers/2048172-why-am-i-receiving-a-xcp-internal-timeout-error-when-starting-external-mode-on-an-stm32-board-using
An issue with the COM port could also lead to the displayed error. Try changing the COM port in device manager (https://www.startech.com/en-eu/faq/change-com-port-number-windows), and in the Simulink hardware settings.
If the problem still persists, contact MathWorks Technical Support: https://in.mathworks.com/support/contact_us.html
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!