External mode data logging XCP/Serial COM port issue with Windows OS
Show older comments
After connecting hardware board over virtual COM port I see in the Windows OS -> Device Manager dialog, that COM7 was used. I set the same COM port in the Simulink Configuration dialog correctly and starting [Monitor & Tune] from the Simulink editor toolstrip menu and get this error:
action: EXT_INIT
Creating Target Handler (XCP on Serial)...
Build directory: C:\matlab\mytest_ert_rtw
Serial Port Name: COM10
Baud Rate: 5000000
action: EXT_CONNECT
Connection to the target...
CAUSED by:
* External Mode Open Protocol Connect Command failed
"...Could not connect to XCP slave: XCP master serial port error: open:
The system cannot find the file specified
Unable to connect to the hardware target...
It seems that the wrong port was used for hardware connection during Simulink build process.
Accepted Answer
More Answers (0)
Categories
Find more on Configure and View Diagnostics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



