Could not connect to target application: XCP serial port error: open: The system cannot find the file specified

87 views (last 30 days)
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.

Answers (1)

Kautuk Raj
Kautuk Raj on 24 Oct 2024
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.

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!