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.

Getting started with Peripheral Example Quick Start - CCS V3.3

Expert 1800 points


Board :- Custom F2812 (Typically same as F2812 eZdsp).  The 6 jumpers are placed as recommended in page 2-14 of the eZdsp F2812 technical reference.

Emulator :- XDS510LC.  Able to connect and disconnect successfully.

Hi,

I was trying to get started with peripheral examples for CCS V3.3 and has encountered an error while loading the first example - CPU- Timer.gel

I get the following error 

'C:\tidcs\c28\dsp281x\v120\DSP281x_examples\cpu_timer\Example_281xCpuTimer.gel': function 'OnReset()' already defined. 

While investigating I noticed that F2812.gel was already loaded when CCS has started. 

Could I know how to sort this issue and proceed with this example and also the other peripheral examples.

Thx

  • It is very likely that the cc_setup utility that configures Code Composer Studio to the appropriate target platform for emulation has included the F2812.gel file.  You can do one of two things to address this:

    1) Invoke cc_setup and remove the GEL file from the configuration.

    2) Every time you invoke CCS, remove the default GEL file from the project before doing anything else.

  • Brandon,

    Thanks for your support.  I appreciate it.

    As suggested I removed the default GEL file and loaded the CPU-Timer example.  This time around there are no errors.  Thanks for your direction.

    I have a query- would you suggest to try loading all the 25 peripheral examples, any precautions I need to take?.

    Let me know what you suggest.

    Thx

     

     

  • indiantuktuk said:

    I have a query- would you suggest to try loading all the 25 peripheral examples, any precautions I need to take?.

    I don't see an issue with running the peripheral examples, especially if it helps get a feel for some of the capabilities of the device.

    I would suggest that you take time to read and understand what the examples are trying to accomplish and verify intended/expected output before just going through one-by-one and load them on the device.

    Another suggestion is to read the DSP281x_HeaderFiles_QuickStart_Readme.pdf file in the .\doc directory.  This has some information to consider when running these examples from flash.