Dear all,
I use Matlab 2016 a and i install all package for C2000 from mathwork.
The build is done successfully and I load the generated program on the target with CSSV7 and it work on the target (blinking diode).
I want to make programming and monitoring from Simulink so I focus on external mode but I meet this problem. Each time I receive this error and I look many forum but no answer until now.
This the received error:
Build process completed successfully
Failed to open serial port '\\.\COM3'. The reported error code is: 2 or 0x00000002. Possible causes are:
a) The target is not powered on.
b) The specified port number is not correct.
c) The specified bit rate is not supported by the host machine.
d) The previous connection was not closed correctly. If this is the case, you may need to re-start MATLAB.
Error occurred while executing External Mode MEX-file 'ext_serial_win32_comm':
Failed to connect to the target. Possible reasons for the failure:
a) The target is not switched on.
b) The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
Caused by:
ExtOpenSerialConnection() returned an error. More details may be reported in the MATLAB command window.
Component: Simulink | Category: Model error
Unable to connect to the 'TI Delfino F2833x' target for 'c280x_2833x_adcpwmasynctest_ert'.
Component: Simulink | Category: Model error
Best thanks for your help.
Best regards.
Mohamed Amine