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: Can we add more AET_JOB_TRIG_ON_DATA_RANGE jog in our project and how?

Tool/software: Code Composer Studio

We are working use Nyqvist DSP TMS320TCI6484 

 

 According http://processors.wiki.ti.com/index.php/C6000_AET_Logic and AetLib/aet.h.

 We have success setup one AET_JOB_TRIG_ON_DATA_RANGE job and it worked in our testing.

Now we want to add another AET_JOB_TRIG_ON_DATA_RANGE job to monitor another memory range.

But AET_setupJob(AET_JOB_TRIG_ON_DATA_RANGE, &aetJobParams), returned AET_FNOTAVAILACMP which means Insufficient Address comparators.

 

We have 4 ADDRESS COMPARATOR from table list in aet.h.

 

   =============================================================================

   |  RESOURCE                                                 |  64x  |  64x+ |

   =============================================================================

   | ADDRESS COMPARATOR                                        |   4   |   6*  |

   | DATA COMPARATOR                                           |   2   |   2   |

   | 1-WIDE TRIGGER BUILDER                                    |   6   |   6   |

   | 3-WIDE TRIGGER BUILDER                                    |   6   |   6   |

   | 7-WIDE TRIGGER BUILDER                                    |   2   |   2   |

   | COUNTER/TIMER                                             |   2   |   2   |

   | AUXILLIARY EVENT GENERATOR                                |   1   |   4   |

   | STATE MACHINE                                             |  1/2**|  1/2**|

   =============================================================================

 

   * On the 64x+, Address Comparators 4 & 5 are Program Address only

   ** The State Machines can be configured as 1 4-state machine or 2 2-state

      Machines

 

I checked the our whole source code, it use 3 times AET_JOB_START_STOP_TRACE_ON_PC already. We not sure AET_JOB_START_STOP_TRACE_ON_PC belongs to ADDRESS COMPARATOR or not.

But anding another AET_JOB_TRIG_ON_DATA_RANGE still failed after remove two AET_JOB_START_STOP_TRACE_ON_PC.

 

So my question is:

   Can we add more AET_JOB_TRIG_ON_DATA_RANGE jog in our project and how?