Cypress技术william hill官网
直播中

付华一

7年用户 132经验值
私信 关注
[问答]

请问有没有人用最新的1.2.3SDK运行BulkStices示例固件?

在将SDK1.1.2.1升级到1.2.3之后,看起来像BulkStices示例固件(1.2 固件Basic实例 CyfxBulkFipe)对NRDY/EDY的任何I/ODE事务都没有响应(如观察到较新的VS旧硬件跟踪)。固件的AppToad正在生成调试消息1秒,但它就像流I/O被搞乱了一样。通过使用1.2.1 SDK构建相同的示例,它工作得很好。在我的应用程序/驱动程序中,使用新的固件,HCI正在报告XACT错误,如果NRDY/EDY丢失(1.2.1固件是OK),这似乎是正确的事情。我已经附加了工作1.2.1固件和损坏的1.2.3固件的HWSalver跟踪的屏幕截图。我扫描了两个文件的源并排,但没有看到任何明显的差异,将有功能的影响。
有没有人用最新的1.2.3SDK运行BulkStices示例固件?
谢谢,
佩里
BulkStruthHWSaleStudioStudio.Zip
64.9 K

以上来自于百度翻译


     以下为原文
  After upgrading the SDK from 1.2.1 to 1.2.3, it looks like the BulkStream example firmware (1.2firmwarebasic_examplescyfxbulkstreams) isn't responding to any In/Out transactions with NRDY/ERDY (as observed comparing the newer vs older hardware trace).  The firmware's AppThread is producing debug messages 1/second, but it's like the streams I/O is messed up.  With the same example build using the 1.2.1 SDK, it works beautifully.  In my app/driver, with the new firmware, the HCI is reporting an XACT error, which seems to be the correct thing to do if NRDY/ERDY is missing (1.2.1 firmware is OK).  I've attached screenshots of the HW analyzer trace of the working 1.2.1 firmware and the broken 1.2.3 firmware.  I scanned the source of the two files side by side, but couldn't see any obvious difference that would have a functional impact.
    Is there anyone running the BulkStream example firmware with the latest 1.2.3 SDK?
    Thanks,
    Perry


回帖(1)

付华一

2019-6-11 11:06:14
禁用LPM的工作围绕这个问题(感谢技术支持,Harikrishnan!)下面是对CyfxBulkFiels.c:CyfxBulkStudisAppnSistar()的编辑,它为我解决了这个问题:
CyuU3PySuffi速度:
+ ApIdReStase= CuU3pUsBLPMDabable();
+(如果)!= CYU-U3PY成功){
+ CYU3pDebug(4),“CYU3PUSBLPMDATABLE失败,错误代码= %DN”,APIRSTATION;
+ CyfxPaPrRrand处理程序(ApRestStand);
+}
GLISSWORKS = CyTrand;
尺寸=1024;
断裂;

以上来自于百度翻译


     以下为原文
  Disabling LPM works around the issue (thanks to tech support, Harikrishnan!).  Here is the edit to the example cyfxbulkstreams.c:CyFxBulkStreamsApplnStart() that fixes the issue for me:
            case  CY_U3P_SUPER_SPEED:
    +           apiRetStatus = CyU3PU***LPMDisable();
    +           if (apiRetStatus != CY_U3P_SUCCESS) {
    +                 CyU3PDebugPrint (4, "CyU3PU***LPMDisable failed, Error code = %dn", apiRetStatus);
    +                 CyFxAppErrorHandler (apiRetStatus);
    +           }
                glIsStreams = CyTrue;
                size = 1024;
                break;
举报

更多回帖

发帖
×
20
完善资料,
赚取积分