This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28M35H52C: Simulink C28X configure Debug (External Mode)

Part Number: F28M35H52C

In this website it shows us, that we can per Simulink to run the generated code in the Chip and change the parameters of the components. Just like the Debug function in CCS.

 

https://de.mathworks.com/help/supportpkg/freedomboard/examples/code-verification-and-validation-with-external-mode.html?s_tid=gn_loc_drop

You clicked a link that corresponds to this MATLAB command:

f28m35x_m3_external_mode

 

But in the example, we can just through ARM Cortex M3 core.

I have a question, can man through C28X, to configure a Simulink to run in External mode, to realize change the parameter real time.

 

Thank you

  • Hallo, Mr. Brian.
    Thank you very much for your help. I will try your suggestion a little later.

    "
    You clicked a link that corresponds to this MATLAB command:

    helpview(fullfile(codertarget.internal.tic2000.getDocRoot,'index.html'))
    "
    I am not sure, if F28M35 belong to Texas Instruments C2000 based controlCARDS. Because in the Modeling in the "Embedded Coder Support Package for Texas Instruments C2000 Processors" F28M25 is not found.
    I hope it will success.

    Thank you very much!
  • Yes, there are two, C2000 support packages, one for the regular F28X, (Delfino and Piccolo) and one for the F28M (Concerto). The doc link points to the F28X stuff, but the same concept applies to the F28M stuff.

    If you run across other issues, you can get fast and immediate assistance by contacting MathWorks Technical Support.  

    Cheers,

    -Brian

  • Thank you very much and sorry for reply so late. With the help from www.mathworks.com/.../parameter-tuning-and-signal-logging-with-serial-external-mode.html, I cannot solve the problem.


    the report error is below, i will try an other way later or ask for "contacting MathWorks Technical Support". Thank you

    Error occurred while executing External Mode MEX-file 'ext_serial_win32_comm':
    Failed to connect to the target. Possible reasons for the failure:
    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.

    Caused by:
    ExtOpenSerialConnection() returned an error. More details may be reported in the MATLAB command window.
    Component: Simulink | Category: Model error
    Unable to connect to the 'TI Concerto F28M35x (C28x)' target for 'c28x_serial_ext'.
    Component: Simulink | Category: Model error