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.

RTOS/TMDSEVM6678: PA emacExample loopback doesn't work...

Part Number: TMDSEVM6678
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello. I'm trying to learn emacExample, but got a problem.

--------------------------------------------------

TMDSEVM6678LE Rev.3B

OS: Windows 7 x64

CCS: 7.3.0.00019

PDK: 04.01.00.06

--------------------------------------------------

I set NO_BOOT mode using switches on my board. then build the project. All files are original. So it is cpswLpbkMode = CPSW_LOOPBACK_INTERNAL; in cpsw_singlecore.c

Here's a log:

[C66xx_0]

**************************************************
******* Ethernet Single Core Example Start *******
**************************************************
QMSS successfully initialized
CPPI successfully initialized
PASS successfully initialized
Ethernet subsystem successfully initialized
Tx setup successfully done
Rx setup successfully done
PASS setup successfully done
Following is the ALE table before transmits.
CSL_CPSW_getStats before Packet Transmission ...
Stats for block number: 0
********************************************
Good Frames Received 0
Good Broadcast Frames Received 0
Good Multicast Frames Received 0
PauseRx Frames Received 0
Frames Received with CRC Errors 0
Frames Received with Alignment/Code Errors0
Oversized Frames Received 0
Jabber Frames Received 0
Undersized Frames Received 0
Rx Frame Fragments Received 0
Total Received Bytes in Good Frames 0
Good Frames Sent 0
Good Broadcast Frames Sent 0
Good Multicast Frames Sent 0
PauseTx Frames Sent 0
Frames Where Transmission was Deferred 0
Total Frames Sent With Collision 0
Frames Sent with Exactly One Collision 0
Frames Sent with Multiple Colisions 0
Tx Frames Lost Due to Excessive Collisions0
Tx Frames Lost Due to a Late Collision 0
Tx Frames Lost Due to Carrier Sense Loss 0
Total Transmitted Bytes in Good Frames 0
Total Tx&Rx with Octet Size of 64 0
Total Tx&Rx with Octet Size of 65 to 127 0
Total Tx&Rx with Octet Size of 128 to 255 0
Total Tx&Rx with Octet Size of 256 to 511 0
Total Tx&Rx with Octet Size of 512 to 1023 0
Total Tx&Rx with Octet Size of >=1024 0
Sum of all Octets Tx or Rx on the Network 0
********************************************
Stats for block number: 1
********************************************
Good Frames Received 0
Good Broadcast Frames Received 0
Good Multicast Frames Received 0
PauseRx Frames Received 0
Frames Received with CRC Errors 0
Frames Received with Alignment/Code Errors0
Oversized Frames Received 0
Jabber Frames Received 0
Undersized Frames Received 0
Rx Frame Fragments Received 0
Total Received Bytes in Good Frames 0
Good Frames Sent 0
Good Broadcast Frames Sent 0
Good Multicast Frames Sent 0
PauseTx Frames Sent 0
Frames Where Transmission was Deferred 0
Total Frames Sent With Collision 0
Frames Sent with Exactly One Collision 0
Frames Sent with Multiple Colisions 0
Tx Frames Lost Due to Excessive Collisions0
Tx Frames Lost Due to a Late Collision 0
Tx Frames Lost Due to Carrier Sense Loss 0
Total Transmitted Bytes in Good Frames 0
Total Tx&Rx with Octet Size of 64 0
Total Tx&Rx with Octet Size of 65 to 127 0
Total Tx&Rx with Octet Size of 128 to 255 0
Total Tx&Rx with Octet Size of 256 to 511 0
Total Tx&Rx with Octet Size of 512 to 1023 0
Total Tx&Rx with Octet Size of >=1024 0
Sum of all Octets Tx or Rx on the Network 0
********************************************
Packet Transmission Start ...
Following is the ALE table after transmits.
Packet Transmission Done.
Wait for all packets to be Received from EMAC port 1...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Received 0 packets so far...
Packets Sent = 10
Packets Received = 0

Example Done!
PA Stats After Packet Transmission BEGIN ********* ...
--- PA STATS ---
C1 number of packets: 22
C1 number IPv4 packets: 10
C1 number IPv6 packets: 0
C1 number custom packets: 0
C1 number SRIO packets: 0
C1 number llc/snap fail: 0
C1 number table matched: 10
C1 number failed table matched: 10
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: 10
C1 number of invalid control: 0
C1 number of invalid states: 0
C1 number of system fails: 0

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

CSL_CPSW_getStats after Packet Transmission ...
Stats for block number: 0
********************************************
Good Frames Received 10
Good Broadcast Frames Received 0
Good Multicast Frames Received 0
PauseRx Frames Received 0
Frames Received with CRC Errors 0
Frames Received with Alignment/Code Errors0
Oversized Frames Received 0
Jabber Frames Received 0
Undersized Frames Received 0
Rx Frame Fragments Received 0
Total Received Bytes in Good Frames 1260
Good Frames Sent 10
Good Broadcast Frames Sent 0
Good Multicast Frames Sent 0
PauseTx Frames Sent 0
Frames Where Transmission was Deferred 0
Total Frames Sent With Collision 0
Frames Sent with Exactly One Collision 0
Frames Sent with Multiple Colisions 0
Tx Frames Lost Due to Excessive Collisions0
Tx Frames Lost Due to a Late Collision 0
Tx Frames Lost Due to Carrier Sense Loss 0
Total Transmitted Bytes in Good Frames 1260
Total Tx&Rx with Octet Size of 64 0
Total Tx&Rx with Octet Size of 65 to 127 20
Total Tx&Rx with Octet Size of 128 to 255 0
Total Tx&Rx with Octet Size of 256 to 511 0
Total Tx&Rx with Octet Size of 512 to 1023 0
Total Tx&Rx with Octet Size of >=1024 0
Sum of all Octets Tx or Rx on the Network 2520
********************************************
Stats for block number: 1
********************************************
Good Frames Received 10
Good Broadcast Frames Received 0
Good Multicast Frames Received 0
PauseRx Frames Received 0
Frames Received with CRC Errors 0
Frames Received with Alignment/Code Errors0
Oversized Frames Received 0
Jabber Frames Received 0
Undersized Frames Received 0
Rx Frame Fragments Received 0
Total Received Bytes in Good Frames 1260
Good Frames Sent 10
Good Broadcast Frames Sent 0
Good Multicast Frames Sent 0
PauseTx Frames Sent 0
Frames Where Transmission was Deferred 0
Total Frames Sent With Collision 0
Frames Sent with Exactly One Collision 0
Frames Sent with Multiple Colisions 0
Tx Frames Lost Due to Excessive Collisions0
Tx Frames Lost Due to a Late Collision 0
Tx Frames Lost Due to Carrier Sense Loss 0
Total Transmitted Bytes in Good Frames 1260
Total Tx&Rx with Octet Size of 64 0
Total Tx&Rx with Octet Size of 65 to 127 20
Total Tx&Rx with Octet Size of 128 to 255 0
Total Tx&Rx with Octet Size of 256 to 511 0
Total Tx&Rx with Octet Size of 512 to 1023 0
Total Tx&Rx with Octet Size of >=1024 0
Sum of all Octets Tx or Rx on the Network 2520
********************************************
**************************************************
******** Ethernet Single Core Example End ********
**************************************************
Core 0 : CPPI CPDMA closed successfully
Core 0 : CPPI exit successful
Instance name: RM_Server
Handle: 0x00800968
Type: Server

Resource Status:

All resources freed successfully

No packets received. As I see PA module discarded all received packets. What is wrong with my configuration?