你好,我的问题是我可以在CyPress FX3 EZ-USB套件上实现裸金属程序吗? 以上来自于百度翻译 以下为原文Hello, My quetion is that can i implement bare metal program on Cypress FX3 EZ-USB suite?
2019-01-04 14:25
我试着在UVC上添加HID作为一个联机设备,但是在Wi10USB 3.0接口上,HID在挂起时没有工作。回到SDK上的HID演示,我将CYU3pCONTCONSTATE(CyTURE,CyFalse)更改为CYU3pCONTCONSTATE(CyTrand,CyTrue),使USP3.0设备也不工作。有人知道在Wi10USB 3.0环境下工作的HID吗? 以上来自于百度翻译 以下为原文I'm tried to add HID on UVC to be a Comopsitedevice but on WIN10 USB3.0 interface the HID didnt work when suspend occurback to HID demo on SDK, I change CyU3PConnectState(CyTrue,CyFalse) to CyU3PConnectState(CyTrue,CyTrue) make it USB3.0 device doesnt work too anyone get any idea about HID working on WIN10 USB3.0 environment?
2019-01-04 14:24
芯片STM32F103RBT6,APP起始地址:0x8005000IAP程序擦除了 0x800500以后的Flash区域,擦除正常,烧写正常APP,keil设置,Flash起始地址设了 0x8005000,选择了生产 Bin文件APP的main函数一开始就设置了 SCB->VTOR = FLASH_BASE | 0x5000;然后IAP程序中到了这个函数,直接走的是else....//执行用户程序void ExecuteUserPro(void){ //判断用户是否已经下载程序,因为正常情况下此地址是栈地址。 if (((*(__IO uint32_t*)ApplicationAddress) & 0x2FFE0000 ) == 0x20000000) //若没有这一句的话,即使没有下载程序也会进入而导致跑飞。 {debugOUT("Execute user Program !");//跳转至用户代码JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4);Jump_To_Application = (pFunction) JumpAddress;//初始化用户程序的堆栈指针__set_MSP(*(__IO uint32_t*) ApplicationAddress);Jump_To_Application(); } else {debugOUT("no user Program..");debugOUT("Restart the device and");BSP_TimClose(TIM_3);//停止闪烁IO_RESET(eLED_1);//常亮LEDwhile(1){ } }}何故?求解!====================================================================================================谢谢大家原因找到了,就是APP烧录的时候,出错了,无意偏移了64字节,导致比对失败,本想开源的,但是诸多问题在里边,项目紧,放弃了自动更新的功能,以后做好了在拿出来~
2019-02-25 07:06
你好,我正在使用ISOSRCSNK(USB2.0)工作FX3固件,当我在CyfxSISORCSEC.C中使用这条线设置HS设备描述符到ISOD3时:/*生产者EP**端点描述符0x07,/*描述符大小*/CyuU3pU***bEnpNttDESCR,/*端点描述符类型*/CyfxxEP生产者,/*端点地址和描述*/CyuU3PuSbbEpSiso ISO,/*ISO端点类型*/0x00,0x14,/*马克斯分组大小=1024字节,多个CyfxFxISOISOPKPK**0x01,/*数据传输服务间隔*///*消费者EP**端点描述符0x07,/*描述符大小*/CyuU3pU***bEnpNttDESCR,/*端点描述符类型*/CyfxxEppEuthor,/*端点地址和描述*/CyuU3PuSbbEpSiso ISO,/*ISO端点类型*/0x00,0x14,/*马克斯分组大小=1024字节,多个CyfxFxISOISOPKPK**0x01/*数据传输服务间隔*//当我使用LISBUB1.0告诉我“没有可用的Bouwitdh”1时,我从主机控制器那里得到了拒绝。这是不可能的,因为没有任何设备连接到主机控制器,可以占用很多带宽,只有键盘和鼠标。这只发生在使用XHCI主机控制器时。年长的EHCI工作良好。我做错什么了吗?谢谢,塔尔 以上来自于百度翻译 以下为原文Hello,I'm working on a FX3 firmware using isosrcsnk (u***2.0), when I set the HS device descriptor to isod3 using this line incyfxisosrcsink.c: /* Endpoint descriptor for producer EP */ 0x07,/* Descriptor size */ CY_U3P_USB_ENDPNT_DESCR,/* Endpoint descriptor type */ CY_FX_EP_PRODUCER,/* Endpoint address and description */ CY_U3P_USB_EP_ISO,/* ISO endpoint type */ 0x00,0x14,/* Max packet size = 1024 bytes, mult CY_FX_ISO_PKTS */ 0x01,/* Servicing interval for data transfers */ /* Endpoint descriptor for consumer EP */ 0x07,/* Descriptor size */ CY_U3P_USB_ENDPNT_DESCR,/* Endpoint descriptor type */ CY_FX_EP_CONSUMER,/* Endpoint address and description */ CY_U3P_USB_EP_ISO,/* ISO endpoint type */ 0x00,0x14,/* Max packet size = 1024 bytes, mult CY_FX_ISO_PKTS */ 0x01 /* Servicing interval for data transfers */ I get a refusal from Host controller when I do set_Altarnate_Setting 1 using libu***1.0 telling me "no available bandwitdh" .this cannot be the case becuse there aren'nt any devices connected to the host controller that can take much bandwidth, only keyboard and mouse.this happenes only when using xhci host controller. older ehci works fine.am I doing anything wrong ?thanks,Tal
2018-12-28 15:33
你好,我想通过示例固件为EZUSB Explorer套件。如果我把PC连接到EZUSB上的USB2.0端口,运行CyPress EZ USB套件,这样做就足够了吗?如果不是,我需要什么其他的硬件/软件工具?新 以上来自于百度翻译 以下为原文Hi, I would like to step through the example firmware for EZUSB explorer kit. If I just connect PC to the USB2.0 port on EZUSB and run CYPRESS EZ USB suite, is it enough to do this?If not, what other hardware/software tools do I need? Neo
2019-01-07 14:34
你好,从EZ-USB FX3 SDK \ 1.3固件\ BooToFF\GPIFTUSOB的例子接近我的应用需求-连续采样GPIF数据,并将其传输到PC。但在测试过程中,我正在经历从GPIF接口收集的缺失数据。测试是在FX3超高速探索者工具箱上进行的。GPIF接口的数据是由FPGA连接到KIT的。这是一个简单的14位计数器在38兆赫时钟。示例中的DMA被设置为自动模式(MualalSoDMA定义禁用)。为了最小化我这边的错误,为了收集数据,我使用USB控制中心实用程序-传输文件的功能。要传输的字节设置为2MB,结果在文件中。但是每个16KB(0x4000)都有缺失的数据。就像下一张照片:在这种情况下,大约有26个丢失的FPGA时钟。有时它会导致超过400的FPGA时钟丢失。由于USB 3连接,我期待连续的数据流。通过设置CLKDIV=8来减缓GPIF接口是没有帮助的。有什么暗示我忽略了什么,或者如何改进它?最好的问候,斯拉沃米尔 以上来自于百度翻译 以下为原文Hello, example from EZ-USB FX3 SDK\1.3\firmware\boot_fw\gpiftou*** fit close to my application demands - continuously sample GPIF data, and transfer it to PC. But during tests, i am experiencing missing data collected from GPIF interface.Tests was performed on FX3 Superspeed Explorer kit. Data for GPIF interface are produced by FPGA connected to kit. It's a simple 14 bit counter at 38MHz clock.DMA in the example is set to AUTO mode (MANUAL_DMA definition disabled).To minimize errors on my side, for data collecting i use USB control center utility - transfer file-in function. Bytes to transfer is set to 2MB, and result is in the file. But each 16kB (0x4000) there are missing data.Like in the next picture:In this case it's approximately 26 missing FPGA clocks. Sometimes it rise to more than 400 missing FPGA clocks.Because of USB 3.0 connection i am expecting continuous data flow. Slowing down GPIF interface by setting clkDiv=8 doesn't help.Any hint what am i overlook, or how can improve it? Best regards,Slavomir
2018-12-27 15:48