F28069M Simulink Failed to Open COM

조회 수: 7 (최근 30일)
Euan Andrew
Euan Andrew 2018년 5월 16일
댓글: Euan Andrew 2018년 5월 17일
Hi all, I am trying to program a Texas Instruments F28069M LaunchPadXL using simulink. I have started out using a blinky LED type project. The project builds and runs correctly on the board and the LEDs flash as expected. However, I get the following error:
Failed to open serial port COM2. 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 specified port is occupied by another application. e) The previous connection was not closed correctly. If this is the case, you may need to re-start MATLAB.
Can anyone advise how to cure this error. I am satisfied that the connections are correct as the code is running properly on the board and TI's CCS can establish a connection.

채택된 답변

Antonin
Antonin 2018년 5월 17일
Hi Euan,
Your board may be using a different COM port. This page will help you figure out your COM port: http://processors.wiki.ti.com/index.php/Using_the_serial_adapter_of_XDS100
Also, make sure to follow the steps in this example:
I hope it helps,
Thanks,
Antonin.
  댓글 수: 1
Euan Andrew
Euan Andrew 2018년 5월 17일
Thanks for the links. I had most of these things configured correctly bar one. I was using the COM port of Channel A which it turns out was already in use by the JTAG debug probe. I have changed to the COM port of Channel B which in my installation is labelled as "XDS 100 Class Auxiliary Port". Things seem to be working correctly now.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by