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.

How to run the srioChipToChip Producer and Consumer examples?

I want to run the srioChipToChip Producer and Consumer example projects that come with pdk_C6670_1_0_0_17.  It seems to me that the producer binary and the consumer binary need to run at the same time on core 0 of two separate C6670s that are connected via sRIO. I am using a Commagility 2C6670 board that has 2 C6670s connected to an sRIO switch. I am using CCS 5.1 and know how to run the same binary on various combinations of cores from both chips.

How do I run two separate binaries on two chips via the one JTAG connection in CCS 5.1?

Obviously the producer and consumer wont be able to communicate unless the routing of the sRIO switch is properly set up. Does the example assume the two chips are directly connect?

Where in the code should I configure the switch routing?

thanks

Greg

  • Hi Greg,

    srioChipToChip Producer and Consumer example projects, assume two C6670 chips are directly connected to each other. From the README file which comes along with this project, I can see that there is no requirement for running the image on both the chips at the same time. First the producer image can be loaded on Chip1 and then the consumer image can be loaded on chip2. For one chip, either the producer or consumer image should be loaded on all the cores which are grouped together and should be run simultaneously. For grouping cores in CCSv5, select all the cores, right click and chose group cores.

    Do you have a single JTAG connection which connects to both the C6670 devices or each C6670 device has its own JTAG connection? If there is a separate JTAG connection for each of the C6670 devices, then two CCSv5 windows need to be opened. If there is only one JTAG connection and both C6670 devices are daisy chained, then you need to make a separate CCXML target config file for the same.   

    The E2E thread given below contains lot of details about Keystone SRIO (C6670, C6678) --> Switch --> Keystone SRIO (C6670, C6678):

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/170264.aspx#621953