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.

CCS/TMS320F28027F: Simulink/CCS/TMS320F28027F: How to flash .OUT file to 28335 with CCSV8 from Simulink

Part Number: TMS320F28027F
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

Hi,

I m using experimenter lanchpad TMS320F28027F and I m using MATLAB/Simulink for the software. The matlab generates .out file and I can debug this .out file using CCSv8. How can I flash this .out file so that the TMS320F28335 can start the code and i can uses it with Instaspin (MotorWare) 

Where can I generate flash based simulink code? What are settings in configuration parameters? What should be the system target file to generate flash based code?

Best regards,

Mouhanned BRAHIM

 

  • The F28335 does not support InstaSPIN. InstaSPIN ROM has to be pre-loaded into the device ROM, and is only available in F2802xF, F2805xF/M, and F2806xF/M devices at this time

    Sean
  • Yes I am asking for F28027F and not F28335,

    my problem that when i copy the .out file from the binaries folder of the CCS project and copied in  GUi composer->webapps->instaspinF280xF and rename it appProgram.out in order to excute the Universal GUI, it is not working.However when I copy the .out file from the flash folder of CCS project, the universal GUI is working.

    Mouhanned

  • I'm trying to better understand your question

    You're using Simulink to generate a .out, which you then copy to CCS? Which Simulink example?
    When you generate the .out in CCS instead, you are able to successfully use it to launch the GUI for F28027F. But when you rename the Simulink .out to appProgram.out, you cannot launch the GUI. Is that correct?

    Sean
  •  I try to generate CCS project from simulink: with C2000 embedded coder:

    it is an example from matlab:

    So i excute the simulation with Simulink in external mode. After that, using CCSV8 and i open the generated ccs project. After building and debuging .c file, I try to use the .out file from the binaries folder to lanch the GUI for F28027F, it is not working.

    However, whith other TI examples projects, when i copy the .out file from the flash Folder (Figure attached), it is working with GUI.

    My problem that the CCS project geberated by simulink not contain flash folder like the ccs projects proposed by TI.

  • I believe you are trying to use a non-InstaSPIN project with the InstaSPIN Universal GUI. This will not work as there are no hooks in the project for the GUI to work with. The MATLAB/Simulink project you linked is not InstaSPIN enabled

    Sean
  • I will also note that MathWorks does not (yet) officially support CCSv8. Table is here: 

    http://processors.wiki.ti.com/index.php/MatLab_and_CCS

    --

    That said, the code generation and import to CCS method still work for CCSv8. Also, I expect official CCSv8 support to added in R2018b; we are finishing up our testing as CCS v8 came out after we had already completed the build for R2018a.

    Cheers,

    -Brian

  • If there are no more questions here, I will close this thread for now

    Sean