Simulink External Mode not working for TI F280049C "Error occurred while executing External Mode MEX-file 'ext_comm'"

23 次查看(过去 30 天)
I am currently trying to run a simulation via simulink but I am having trouble getting the monitor and tune to work, when simulate I get this error Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. A time-out occurred while waiting for the connection response from the target. Possible reasons for the time-out: 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.
The program is able to build but and load onto the board but getting it to run via monitor and tune does not work
So far I have tried
  1. Changing the UART serial port in hardware implementation to the port other than the Auxiallary port
  2. Changing the OSCCART frequency from 20MHZ to 10Mhz (also tried 25MHz)
  3. Uninstalling and reinstalling the XDS110 drivers
  4. Closed CCS
  5. Changed SCI_A to alternate ports
whats funny is that when i changed the UART ports yesterday it technically "ran" as in it said it was running and didnt give any errors, but the simulation stayed at T=0.00 no matter how long i left it running. but now today it just doesnt work period.
I will include a bunch of relevant screenshots, i also followed this post which had similar issues already but nothing works still

回答(0 个)

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by