Running TI LaunchPad F28379D in Simulink External Mode
Show older comments
Hello LaunchPad-Fans,
right now I have a challenging problem and I wonder if someone can support me with this tricky issue.
I want to run my F28379D LaunchPad with a C2000 in Matlab/Simulink in external mode but I receive the error message below:
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. Error:Unable to connect to the 'TI Delfino F2837xD' target for 'test_led'.
I have already set the required configurations in Simulink Hardware Configuration:
- Code Generation: Toolchain = Texas Instruments Code Composer Studio
- Hardware Board: F28379D
- Target hardware resources:
- Build options: Device Name = F28379D; don't boot from flash; CPU1; don't use custom linker
- External mode: Serial; COM10
Can you please help me with that issue so I can use the LaunchPad to scope signals in real time and tune parameters online.
Thank you for your valuable time and advice.
Johannes
Answers (1)
Johannes Schnabel
on 9 Mar 2018
2 votes
3 Comments
Antonin
on 15 Jun 2018
In MATLAB R2018a, we made it easier for you by introducing a specific "TI Delphino F28379D Launchpad" which has default settings matching the LaunchPad SCI pins and oscillator frequency.

In previous releases, you have to select the "TI Delphino F2837xD" board that has default settings matching the F28379D ControlCard. If using the F28379D LaunchPad , you have to manually adjust the oscillator frequency and the SCI pins like described above to match the LaunchPad board layout.
Ye Yan
on 21 Feb 2023
I have followed all the above instructions, however it still give me the error for the External mode connect
error information:

Build

Toolchain:

Clocking

Plese help to check and advice
Thanks
德才
on 24 Mar 2023
Hi brother ,Must external crystal oscillator be used? Is it OK to use internal crystal oscillator?
Categories
Find more on Deployment, Integration, and Supported Hardware 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!