完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
目前,最新的SDK是VER 1.1.1,所以我用新的SDK(1.1.1.1)构建了FixLoad,但是它不能正常工作。BurnRead函数不能正常工作,在SDF 1.1到SDK1.1.1的开发中有任何注意点。
以上来自于百度翻译 以下为原文 The firewARM(develop with SDK 1.1) and app are work well.Now the newest SDK is Ver 1.1.1 So I build my firewarm with new sdk(1.1.1.1).But it does not work well .burst read function can not work.It has any notice point in develop from sdf 1.1 to sdk 1.1.1 |
|
相关推荐
10个回答
|
|
你能再多介绍一些你的问题吗?
你在PC中使用什么应用程序。你用FX3使用固件例子。还有什么连接到FX3。 请在你的问题上增加更多的细节。 谢谢, 西克里希纳。 以上来自于百度翻译 以下为原文 Could you please add more description about your problem. What application you are using in the PC. What firmware example you are using with FX3. What else is connected to FX3. Please add more details on your problem. Thanks, sai krishna. |
|
|
|
源代码是相同的。开发工具SDK,SDK VER 1.1构建的固件工作良好,SDK V1.1.1构建的固件工作不正常。
以上来自于百度翻译 以下为原文 The source code are the same. The diffirent is developed tool (sdk).The firmwam that build with sdk ver 1.1 work well .the firmwam that build with sdk ver 1.1.1 does not work well . |
|
|
|
嗨,Ayi,
感谢分享更多关于你的问题的信息。 您使用的是哪一个示例代码?GPIF接口是什么?是否配置为32位模式?. 请让我知道。 谢谢, 西克里希纳。 以上来自于百度翻译 以下为原文 Hi Ayi, Thanks for sharing more information regarding your problem. Which example code are you using?. What is the GPIF interface?. Is it configured in 32-bit mode?. Please let me know. Thanks, sai krishna. |
|
|
|
HRSKV
感谢您的回放。GPIF 2是32位模式。该项目是由我的同事开发的SDK 1。然后我用SDK 1.1构建它,它也很好地工作。一周前,我更新了SDK到V1.1.1,发现当读写大小超过0x330时,*、IMG不能正常工作。我认为源代码没有问题。SDK 1.1和SDK 1.1.1有什么不同?我在SDK1.1.1中尝试示例SLFIFNoC(将我的代码添加到示例中),当StultRead size大于0x330时,它不能正常工作。 以上来自于百度翻译 以下为原文 hi RSKV Thank for your replay .GPIF 2 is 32 bit mode .The project is develop whit sdk 1.0 by my Colleague.Then I build it with sdk 1.1 and it is work well too . A week ago i update the sdk to V 1.1.1 and i found the *,img does not work well when burst read size more than 0x330.I think the source code has no problem .what is different with sdk 1.1 and sdk 1.1.1? And i try the example slfifosync in sdk 1.1.1 (add my code to the example ) then it is does not work well when burst read size more than 0x330 .what can be affect this size ? |
|
|
|
HRSKV
我有一个小发现,一个文件导致了这个问题。文件是“D:CysFX3SDK1.1.1固件 U3Py固件 LIB fx3x发行版 CyfxAPI。A”。我从SDK V1.1复制同一个文件来覆盖它,然后将它构建到GANEA**IMG。ES导致我的问题,但我不知道具体的原因,所以你能帮助我知道具体的原因,并且它还有其他的功能来解决问题而不是覆盖。 以上来自于百度翻译 以下为原文 hi RSKV I have a small discovery,A file lead to the problem.The file is " D:CypressEZ-USB FX3 SDK1.1.1firmwareu3p_firmwarelibfx3_release cyfxapi.a ".I copy the same file from SDK v1.1 to cover it and then build to generae the *.img.Then downloa to ram and it is work well.So i think this file's changes lead to my problem,But I don't know the specific reason ,so can you help me to know the specific reason.and dose it has other function to slove the problem instead of cover
|
|
|
|
Ayi
你能用最近几天发布的最新SDK来尝试你的项目吗?(SDK1.2)。 请告诉我结果。 当做, 西克里希纳。 以上来自于百度翻译 以下为原文 Ayi, Can you try your project with the latest SDK that is released few days back. (SDK1.2). Please let me know the result. Regards, sai krishna. |
|
|
|
SDK V 1.2也不起作用。这也是同样的现象。如果重新调用文件CYFXAPI,A就可以正常工作了。
以上来自于百度翻译 以下为原文 it is doesn't work too with sdk v 1.2 .it is also the same Phenomenon .If replease the file cyfxapi.a and then it is work well |
|
|
|
你好
我解决了这个问题,它是由DMA大小引导的。 DMASLFIFOCONTION.size = size * 16; DMASLFIFOCONTIONCOUNT计数= CyfxfSLFIFOOX-DMAY-Buffl计数; DMASLFIFOCONT.PRODSCKID =(CYU3PDMASKOKTIDIGT)(CyfxxEppSuffelePpPotoSosik); DMASLFIFOCONT.CONSCSCHID =(CYU3PDMASCOKETIGITT)(CYU-U3PYUBIOSoCKION COXY0 0×CyfxxEppEuffier-U***SoCub); DMASLFIFOCOND.DMAMODE=CYU-U3PYDMAYMODEY字节; DMASLFIFOCONTION通知=0;//CyuU3PyDMABCBYPRODYAL事件; //DMASLFIFOCONT.CB=CYFXSLIFOPPOTDMACLABACK DMASLFIFOCONT.CB=NULL; DMASLFIFOCONT.PRODHead=0; DMASLFIFOCONT.PRODHOPTER=0; DMASLFIFOCONT.CONSEDEADER=0; DMASLFIFOCONT.PRODSVIEW COUNT=0; *创建频道*/ ApIdReStase= CYU3PDMACHANNEL CREATION(和GLCHANDACLE LIFOPPOTHOP) CYUU3PYDMAX型汽车, 和DMASLIFOFICOFIG; 第一行dmaslfifoconfig.size =面积×16;大小的USB速度的基础。为了提高传输速度,我做的尺寸更大(16倍),只是(* 16)导致的问题。删除(* 16)然后它工作得很好。但我有犹豫,为什么DMA的大小会影响转移是仅在V1.1.1和V1.2中。外部FPGA写数据到缓冲区中,当缓冲区满,然后将数据提交到PC。如果数据尺寸小于DMA的大小,外部FPGA将提交数据的pkend单。我说的对吗?所以我认为缓冲区大小不会影响传输。你能帮我知道原因吗?我很急 最好的问候 贾德勋 以上来自于百度翻译 以下为原文 hi I have solve the problem,It is leaded by the DMA size .The fallowing is the source code: dmaSlFifoConfig.size = size * 16; dmaSlFifoConfig.count = CY_FX_SLFIFO_DMA_BUF_COUNT; dmaSlFifoConfig.prodSckId = (CyU3PDmaSocketId_t)(CY_FX_EP_PRODUCER_PPORT_SOCKET); dmaSlFifoConfig.consSckId = (CyU3PDmaSocketId_t)(CY_U3P_UIB_SOCKET_CONS_0 | CY_FX_EP_CONSUMER_USB_SOCKET); dmaSlFifoConfig.dmaMode = CY_U3P_DMA_MODE_BYTE; dmaSlFifoConfig.notification = 0;//CY_U3P_DMA_CB_PROD_EVENT; // dmaSlFifoConfig.cb = CyFxSlFifoPtoUDmaCallback dmaSlFifoConfig.cb = NULL; dmaSlFifoConfig.prodHeader = 0; dmaSlFifoConfig.prodFooter = 0; dmaSlFifoConfig.consHeader = 0; dmaSlFifoConfig.prodAvailCount = 0; /* Create the channel */ apiRetStatus = CyU3PDmaChannelCreate (&glChHandleSlFifoPtoU, CY_U3P_DMA_TYPE_AUTO, &dmaSlFifoConfig); the first line dmaSlFifoConfig.size = size * 16;the size is base on the u*** speed.In order to increace the transfer speed I make the size bigger (*16).And just the (*16) lead the problem.Remove the (*16) and then it work well.But I have hesitation ,why the DMA size can affect the transfer and it is just in V1.1.1and v1.2. External FPGA write data to the buffer ,when the buffer is full then the data will be commit to PC .If the data size is smaller than the DMA size ,External FPGA will commit the data by PKEND single. Am i right? So i think the buffer size could't affect the transfer. SO can you help me to know the reason .I am hurry it Best Regards jia decun |
|
|
|
大家好,坏消息,删除(* 16)可以解决这个问题,但用USB 3模式的传输速度将下降,我不想要。谁能帮助我?
以上来自于百度翻译 以下为原文 hello everyone , bad news,Removing (*16) can solve the problem but with u*** 3.0 mode the transfer speed will come down that I don't want .who can help me ? |
|
|
|
Ayi
请在主函数中更改代码的起始部分,如下所示: Cyu3PoMaMatxFixStult IOFCFG;Cyu3PrEntStutsUst状态=CyuU3Py成功;Cyu3PysCyCultFixFig=Cytrug,2, 2, 2,CyFalse,CyuU3PySysLCLK};/*初始化设备*/STATE=CYU3PDEVICIN IT(&;CKKCFG);如果(状态)!= CyuU3pIn成功){Goto HealeY-FATAlLoMealError;}/*初始化缓存。启用指令缓存并保持数据缓存禁用。*只有当存在大量基于CPU的内存访问时,数据缓存才是有用的。当在简单的情况下使用时,由于高速缓存刷新和清除,它可以降低性能,同时也增加了*代码的复杂性。*/ 让我知道修改后的结果。 谢谢, 西基什纳。 以上来自于百度翻译 以下为原文 Ayi, Please change the starting piece of code in the main function as shown below: CyU3PIoMatrixConfig_t io_cfg; CyU3PReturnStatus_t status = CY_U3P_SUCCESS; CyU3PSysClockConfig_t clkCfg = { CyTrue, 2, 2, 2, CyFalse, CY_U3P_SYS_CLK }; /* Initialize the device */ status = CyU3PDeviceInit (&clkCfg); if (status != CY_U3P_SUCCESS) { goto handle_fatal_error; } /* Initialize the caches. Enable instruction cache and keep data cache disabled. * The data cache is useful only when there is a large amount of CPU based memory * accesses. When used in simple cases, it can decrease performance due to large * number of cache flushes and cleans and also it adds to the complexity of the * code. */ Let me know the result after doing this modification. Thanks, sai kirshna. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2100 浏览 1 评论
1846 浏览 1 评论
3665 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1782 浏览 6 评论
1532 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
561浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
413浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
907浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 19:07 , Processed in 1.145897 second(s), Total 95, Slave 79 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号