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.

Help: Debug LEDS on TMS320C6678 EVM

Other Parts Discussed in Thread: TMS320C6678

Hello, I'm using the TMS320C6678LE Evaluation Module and need some help accessing the FPGA Configuration Registers. I am totally new to the DSP and the board. I want to toggle the Debug LEDS. The address of the LED register is 0x20BF0008. Here is my code:

int main()

{

unsigned int* my_pointer = (unsigned int*)0x20BF0008;

*my_pointer = 1;

BIOS_exit(0);

return(0);

}

The interface to the FPGA is through the SPI. If anyone is familiar with the TMS320C6678 EVM board and has some ideas please let me know.

Thanks,

Joe

  • Hi,

    Please refer MCSDK user guide LED Play example. This example access the FPGA DEBUG LED register via SPI interface.

    Thanks,

  • Hello, thank you very much for pointing me in the right direction. I do not see a Texas Instruments directory in my Program Files directory. Could these mean that the MCSDK has not been installed? My System Administrator installed Code Composer v5 from the Installation DVD and I don't think it included MCSDK. I believe MCSDK is a separate download. How do I tell is the MCSDK has been loaded on my computer? Last, I don't see a platform directory in my C:\TI directory.

    Is the platform directory in the MCSDK? I will find the CD that came with the EVM kit maybe it has that directory.

    Thanks,

    Joe

  • Hi Joe,

    In addition to Ganapathi's suggestion, I would like to point the LED blink example given in the processor SDK for C6678 EVM.

    This is the tested code which works straight away on C6678 EVM.

    This LED program will be located at " ~\ti\pdk_c667x_2_0_0\packages\MyExampleProjects\GPIO_LedBlink_C6678_EVM_c66xTestProject" once processor SDK is installed and PDK examples are generated.

    Steps:

    1. Install processor SDK.

    2. Using the scripts, pdksetupenv.bat and pdkProjectCreate.bat, create the PDK examples which will get created under "~\ti\pdk_c667x_2_0_0\packages\MyExampleProjects"

    For more info, please refer the processor SDK migration guide and the rebuilding guide:

  • Hi,

    Please download the latest MCSDK 2.x for Keystone I devices(C6657/70/78) and the follow user guide here.

    Thanks,

  • Thank you very much for responding to my message. I will download the SDK and try the example. Will the SDK generate the c:\TI\Platform directory?

    Thanks, Joe

  • Hi joe,

    Joe says said:
    Thank you very much for responding to my message. I will download the SDK and try the example. Will the SDK generate the c:\TI\Platform directory?


    When you install mcsdk 2.x, a pdk directory will get created as "C:\ti\pdk_C6678_1_1_2_6" and inside that directory you will find the platform directory located "C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform"

    And also, as I already mentioned in my previous post, please download the processor SDK and use the LED blink example of it.

    Download link for processor SDK :
    http://www.ti.com/lsds/ti/tools-software/processor_sw.page
    http://www.ti.com/lsds/ti/tools-software/processor_sw.page

  • Shankari,

    Hello, thanks for responding to my message. Should I download the MCSDK or the Processor SDK? Correct me if I'm wrong, but as I understand things the MCSDK is replacing the Processor SDK? Will the examples that you listed be in the Processor SDK?

    Thanks,

    Joe

  • Hi Joe,

    Joe says said:
    Should I download the MCSDK or the Processor SDK? Correct me if I'm wrong, but as I understand things the MCSDK is replacing the Processor SDK? Will the examples that you listed be in the Processor SDK?

    Please download the processor SDK. Processor SDK is the latest version of MCSDK.

    Steps:

    1. Download and Install processor SDK from the link mentioned above..

    2. Using the scripts, pdksetupenv.bat and pdkProjectCreate.bat, create the PDK examples which will get created under "~\ti\pdk_c667x_2_0_0\packages\MyExampleProjects"

    Once PDK examples are generated, this LED program will be located at "~\ti\pdk_c667x_2_0_0\packages\MyExampleProjects\GPIO_LedBlink_C6678_EVM_c66xTestProject"

    For more info, please refer the processor SDK migration guide and the rebuilding guide: