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.

  • TI Thinks Resolved

RTOS/TMS320C6678: PA simple example not receiving packets from external devices

Intellectual 370 points

Replies: 4

Views: 254

Part Number: TMS320C6678

Tool/software: TI-RTOS

i am working on trying to use packet accelerator to route packets to core 1- 7. 

im using MCSDK 2.1.2.6 , pdk 1.1.2.6, sysbios 6.46.5.55. I can't using Platform SDK due vendor's support package compatibility requirements. 

first step is trying to get Pa_simpleExample_exampleProject to work. 

I have gotten to the point where i was able to receive packet from external device,

BUT that's only if I had loaded an NDK example first. 

without loading the ndk example, the packets were not able to be routed to the host cores. in this case, i sent two udp packets from a remote server. the statics print outs from the example shows that the packets did in fact get to the PA, but it wasn't properly routed to the C2 classify engines. Just to reiterate, using the same code, i was able to receive packets if i loaded an NDK example before loading the PA simple example without resetting the DSP board.  see attachment for my code. so i was wonder what can cause this issue? why is it that loading ndk helps getting PA to work? maybe switch configuration is different? i've been stuck on this issue for quite a while and needs some assistance. 

--- PA STATS ---
C1 number of packets: 98
C1 number IPv4 packets: 0
C1 number IPv6 packets: 0
C1 number custom packets: 0
C1 number SRIO packets: 0
C1 number llc/snap fail: 16
C1 number table matched: 2   //this is the packet i sent from remote server 
C1 number failed table matched: 78
C1 number Ingress IP frags: 0
C1 number IP depth overflow: 0
C1 number vlan depth overflow: 0
C1 number gre depth overflow: 0
C1 number mpls packets: 0
C1 number of parse fail: 0
C1 number invalid IPv6 opts: 0
C1 number of Egress IP frags: 0
C1 number of silent discard: 94
C1 number of invalid control: 0
C1 number of invalid states: 0
C1 number of system fails: 1 //this seems really suspicious

C2 number of packets: 1
C2 number of UDP packets: 0
C2 number of TCP packets: 0
C2 number of custom packets: 0
C2 number of silent discard: 0
C2 number of invalid control: 0

Modify number of command file: 0

paExample.zip

  • just some more info,
    C1 number of system fails: 1 ,
    this is incremented when the first external packet with the specific port and mac address was received by the C1 classifiy engine. after that, subsequent packets doesn't trigger any increment on this entry any more. but i still see "C1 number table matched:" getting incremented when i send more packets into the DSP.
  • In reply to wei chen20:

    Hi,

    Is this the TMDSEVM6678 ? Can you transition to the latest Processor SDK RTOS? MCSDK is outdated and has limited support.

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

  • In reply to Yordan Kovachev:

    Hi Yordan,
    It’s commagilitys DSP board. Not an EVM. The vendor support package has specific compiler and package version dependencies. I am trying to stick to what they want us to use.
    I can try but last time I tired to use the platform SDK, I wasn’t able to import the PA examples.
  • In reply to wei chen20:

    Hi,

    Typically custom application development should look like this:
    1. get TI example application on TI EVM running
    2. platform migration to customer board but still with TI’s application
    3. to get customer application running on customer board.

    I understand that you don't have the TMDSEVM6678, so I suggest to get the PA examples to run on your board. Can you share what problems do you encounter in this case? Have you used CCS + breakpoints to see where your application stops working?

    Best Regards,
    Yordan

     


     Please make sure you read the forum guidelines first.

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.