Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

DM648 CPSW - HostPend Interrupt - RX_HDP[0] weird address

$
0
0

Hi All,

I am running a Dm648 based target with Single PHY. The application that works on this hardware is a streaming video client application. This application works fine and has no issues when up. The problem that I am facing is that on few occasions the board boots up and while performing some ethernet loopback tests the CPSW registers a HostPend fatal interrupt. This is a random problem on every other occassion the diagnostics tests passes. I am using the ethernet driver provided along with the ndk2.0  and using all the fixes publicly available.

On occasions when this issue was found the DMASTATUS register of the CPSW read that 0x00002000 which meant "Ownership bit was not set in input buffer". When i looked into other CSPW registers I found that RX_HDP[0] register had a weird address of 0xFFFF2700. This address looked weird to me as this did not fall in the CPPI memory range and in any of the memory map. Further looking into the descriptor queues of the driver I found that it is not the first packet sent over the CPPI that causes the problem its the 4th packet. 

Could anyone here please let me know how the ethernet driver could generate such an address as mentioned above for the RX_HDP?

Regards

Krishna


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>