I am using the SATA0 Port from DM814X to connect the external Hard disk. Instead of 3Gbps the Target and host is able to communicate only with 1.5Gbps. Sometime Target identifies the link to be 3.0Gbps but during communication the speed is limited to 1.5Gbps. Following are the error messages.
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)ata1: hard resetting linkata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)ata1: hard resetting linkata1: SATA link down (SStatus 0 SControl 300)ata1: hard resetting linkata1: SATA link down (SStatus 0 SControl 300)ata1: limiting SATA link speed to 1.5 Gbpsata1: hard resetting linkata1: SATA link down (SStatus 0 SControl 310)ata1: limiting SATA link speed to 1.5 Gbps
1. Max total length of trace from SOC to HDD is 3.7inch (Pairs length matched within 5mil)
2. SATA passes in 2 modules separated by a B2B connector BSH/BTH Series Samtec Connector.
3. Molex/Foxconn SATA Cable is used to interface Hard Disk.
What can be reason for this?
I am unsure if you are using the latest TI PSP and a 6Gbps capable hard disk, but I notice the following in the release notes:
This section lists known issues observed in this release:
Thanks for you reply Nick Reed.
I have used the latest PSP 04.04.00.01I have not used GEN3 HDD. I used GEN2 (3.0Gbps) Seagate Hard disk of PN: ST9500325AS - 2.5inch 500GBI checked same HDD with DM8168 (Netra) EVM and found working @ 3Gbps all the time. As per my assumption it has to work with DM8148 (Centaurus) also.Let me know if i am wrong. Also suggest me what else can cause this kind of issue.
We further used the latest ezSDK5.4 and found the improvement as we were able to communicate with 3.0Gbps for low size packets. For upto (4MB approx.) we were able to communicate for 3.0Gbps, but for higher data size, the SATA link is reset sometimes, after recovering the SATA link sometimes it recovers to 3.0 GBPS link again and sometimes it settles down to 1.5 GBPS link.
We are using following commands for writing into SATA drive.
dd if=/dev/zero of=/media/sda1/test bs=4096 count=1000
If we increase count value from 1000 to any higher value, SATA link is reset and sometimes it settles down to 3.0 GBPS link again but most of the times it goes to 1.5 GBPS link.
can you please attach console logs showing the exact error messages with the "
dd if=/dev/zero of=/media/sda1/test bs=4096 count=1000" option.
If this post answers your query, consider clicking the Verify Answer button.
Following are the error messages as noted earlier
I need following inputs if any one can provide us.
SATA Test results are needed on DM8148 EVM. Is that working @ 3Gbps in DM8148 EVM or not.Confirmation is required from software team whether SATA workaround (About 100MHz external clock) is there in ezSDK release 5.4 or not
We are discussing this subject also here: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/197523/708355.aspx
Please Note: If this answer solves your question please mark post as "Answered" - Thanks Pavel!
I am posting the latest status here also:
link on external repo corresponding to this:
Thanks for your reply.
We will refer the thread from http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/197523/708355.aspx
The Problem represented in this forum and in above mentioned link are for same project.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.