Launchxl2 - RM57L Texas Instrument
    3 views (last 30 days)
  
       Show older comments
    
I'm trying use external mode simulation (https://it.mathworks.com/help/supportpkg/armcortexr/ug/parameter-tuning-with-external-mode-simulation.html), in order to runs the generated code on a TI™ RM57L843 microcontroller.
I've already installed the Embedded Coder Support Package for ARM Cortex-R Processors and Embedded Coder toolbox. Then, I've connected the board through the USB cable to the PC and I've followed the steps. However, when I start the simulation using the Monitor & Tune button on the panel I get these on the diagnostic viewer:
"Build process completed successfully
Top model targets built: Model                       Action                       Rebuild Reason                                     =========================================================================================================== arm_cortex_r_external_mode  Code generated and compiled  Code generation information file does not exist.   1 of 1 models built (0 models already up to date) Build duration: 0h 0m 30.815s
- The following error was encountered during evaluation of the external mode callback 'Connect': The timeout of 10 seconds for connecting to the target application has been exceeded.
Component:Simulink | Category:Model warning
- Error occurred while executing External Mode MEX-file 'sendToCommService': ExtSetTargetPkt() call failed on EXT_CONNECT. Ensure target is still running
Component:Simulink | Category:Block diagram error
- Unable to connect to the 'TI Hercules RM57Lx LaunchPad' target for 'arm_cortex_r_external_mode'."
This simulink example should be already configured to runs on this board.
Thank you in advice if someone can help me.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!