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.

2806 Frequency test not outputing

We have a new board w/ a 2806.  I've verified all power and xtal is running.  It 'connected' to programmer fine in CCStuido.  Before programming first time we ran the 10kHz 'frequency test' but its not outputting a signal on ANY pin we select.  Have tried two units w/ the same problem.  We're in production on another similar board w/ 28015s and never had an issue.  Do I need to do something different w/ the 2806??

  • It will be helpful if you describe your "frequency test" ... the peripherals are similar and/or same but it is hard to comment about the difference without knowing your functions.

  • Hi smdub,

    This is very similar to the situation I had once. All the code from C2000 Flash programmer plug-in including the 10kHz frequency test (to Arefeen) work like this.

    1. When you click on the execute button, the Flash plug-in loads the executable code into RAM
    2. The CCS automatically sets PC (program counter) at the beginning of this executable code
    3. sets brakepoints where they are needed (maybe the brakepoints are already encoded in the executable code via ESTOP instructions I don't know the details
    4. runs the code until it stop on one of the brakepoints.

    If you have a GEL script installed, the GEL functions "OnPreFileLoaded" and "OnFileLoaded" will execute before and after the code is loaded.

    So if you have witih "OnFileLoaded" call to "GEL_Reset", the CPU will reset after the code was loaded which means that PC is no longer pointing to the beginning of the code that is to be executed. So when the plug-in runs the CPU, the CPU will not execute the plug-in code.

    This might be the reason the frequency test is not working. If it is not and you find what the reason was, please post it so that we can also learn from your mistakes (not just our own as we usually do)

     

    Regards, Mitja

  • Afreen, its the built in flash programmer 10khz 'frequency test'

    Mitja,

    Bingo!  Its been so long since I've setup CCS for a new processor I forgot to do that stuff.  I went back and added a 2806 board in the setup and it updated the GELS (and whatever else it does.)  Freq test and programming work fine now.  Thanks.