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.

Enabling -mi option

Other Parts Discussed in Thread: TMS320DM6435

I am unable to figure out how to get the CCS GUI to allow me to enable the -mi compiler option.  The related field in the GUI is <project properties> -> Build -> C6000 Compiler -> Advanced Options -> Runtime Model Options -> "Specify maximum disabled interrupt cycles (--interrupt_threshold, -mi)".

My understanding of this option (taken from wiki) is that it has three modes:

1. Absence of -mi

2. -mi (without any = or arguments)

3. -mi=#

By not entering anything into the previously mentioned GUI field, I see under <project properties> -> Build -> C6000 Compiler that there is no -mi option, so akin to mode 1.  By entering a number, I see -mi=<my number>, so akin to mode 3.  However I was not able to configure it so it just used the -mi option (mode 2).

Additionally I tried to use the <project properties> -> Build -> C6000 Compiler -> Set Additional Flags... dialog to add just -mi (or long form) but that didn't seem to work either.

CCS 5.5.0.00077

C6000 compiler 7.4.6

Device TMS320DM6435

Win7

  • I see the same behavior and it looks like a bug in CCS. I have submitted a bug report to have this looked at. The tracking # is SDSCM00049540 which you can track using the SDOWP link in my signature.

    As a work-around you could try adding the option to an options file and pass the file to the compiler via the --cmd_file option (Compiler->Advanced Options->Command Files).

  • Thanks for the info AartiG.

    The --cmd_file option looks like it should give me what I need for now.