F28069M Simulink Failed to Open COM

5 vues (au cours des 30 derniers jours)
Euan Andrew
Euan Andrew le 16 Mai 2018
Commenté : Euan Andrew le 17 Mai 2018
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.

Réponse acceptée

Antonin
Antonin le 17 Mai 2018
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 commentaire
Euan Andrew
Euan Andrew le 17 Mai 2018
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by