Could not connect to target application: XCP serial port error: open: The system cannot find the file specified
83 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I am experiencing difficulties when trying to open "Monitor & Tune" in Matlab to read a digital signal from the User button. I am using the NUCLEO-144H723ZG board. While I can successfully "Build and start" the LED control project, clicking "Monitor & Tune" does not work.
I am certain that I have already checked the COM port accurately.
1 个评论
Nithin
2023-11-28
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
回答(1 个)
Kautuk Raj
2024-10-24,6:03
I encountered a similar issue when trying to use "Monitor & Tune" with my NUCLEO-144H723ZG board in MATLAB R2023b.
I found that using an old ‘.ioc’ file caused problems. When I created a new ‘.ioc’ file directly from Simulink, it worked and allowed the board to enter the External Mode.
By generating a new ‘.ioc’ file, I was able to get "Monitor & Tune" to function properly. I suggest giving this a try to see if it resolves your issue.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!