完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
嗨,来自CynNythx的Im Eduard,
我们使用标题中提到的USB控制器来访问CMOS。它在Windows上运行很好。现在我们想用LIUSB总线把它移植到Linux和Mac上。在Linux上,我们可以很容易地找到具有LSUB和LIUBSB的连接设备也能够枚举它。但是在不同的MAC计算机上我们看不到设备。我们试图在“StimePrimuleSpsBDATA”中找到它。但它并没有出现在那里。 我们做错什么了? 谢谢, 爱德华 以上来自于百度翻译 以下为原文 Hi, Im Eduard from Cybernetyx, we use the USB controller mentioned in the title to access a CMOS. It works great on Windows. Now we want to port it to Linux and Mac with libu***. On Linux we can easily find the connected device with lsu*** and libu*** is also able to enumerate it. But on different Mac computers we cant see the device. We tried to find it in "system_profiler SPUSBDataType". But its not showing up there. What are we doing wrong? Thanks, Eduard |
|
相关推荐
11个回答
|
|
嗨,Sai Krishna,
谢谢你的链接。我还没试过。 你能告诉我,或者告诉我一些资源,如何应用司机? 谢谢, 爱德华 以上来自于百度翻译 以下为原文 Hi Sai Krishna, thanks for the link. I didnt try this yet. Can you please tell me or point me to some resource, how to apply the drivers? Thanks, Eduard |
|
|
|
我做了一点实验,使用了“USB控制中心”来对RAM进行编程。我已经加载了几个十六进制文件到这个。但不幸的是,在从HTTP://wwwyCysP.COM/加载固件之后?ID=4和;RID=58492,该设备在Windows 7上被检测为“未知设备”。现在我不能使用USB控制中心。
是否有重置RAM的方法?在板子上安装司机是正确的方法吗? 谢谢, 爱德华 以上来自于百度翻译 以下为原文 I have experimented a little bit and used the "USB Control Center" to program the RAM. I have loaded a few hex files into this. But unfortunately after loading the firmware from http://www.cypress.com/?id=4&rID=58492, the device is detected on Windows 7 as "Unkown Device". Now I cant use the USB Control Center. Is there a way to reset the RAM? Was it the right way to install the driver on the board? Thanks, Eduard |
|
|
|
它在控制中心是不可见的,因为它没有绑定到Cy***.系统。在枚举驱动程序作为未知设备之后,您可能需要手动绑定该驱动程序。在设备管理器中检查设备的VID PID,看看VID PID条目是否存在于驱动程序文件夹中的.INF文件中。如果不将VID PID条目添加到“.Update”驱动软件,请手动“指向”。
以上来自于百度翻译 以下为原文 It is not visible in the Control Center because it is not binded to Cyu***.sys. You probably have to bind the drivers manually after it has enumerated as UNKNOWN DEVICE. Check out the VID PID of the device in the device manager and see if that VID PID entry is present in the .inf file in the driver folder. If not add the VID PID entry to the .inf. "Update" the driver software by "manually" pointing to the .inf. Thanks Nikhil |
|
|
|
|
|
|
|
我们从一个供应商那里得到了董事会。我不确定,如果EEPROM上有什么东西的话。供应商没有能力帮助我们。
我如何测试你的建议?有没有额外的硬件,我们可以用来下载固件RAM或EEPROM,以解决USB检测问题? 谢谢, 爱德华 以上来自于百度翻译 以下为原文 We got the board from a supplier, who programmed it. Im not sure, if there is something on the EEPROM. The supplier is not really capable to help us. How can I test what you suggested? Is there any additional hardware we can use to download firmware to RAM or EEPROM to work around the USB detection problem? Thanks, Eduard |
|
|
|
可能EEPROM数据被损坏了。
EEPROM引脚是否暴露? 如果是的话,你可以用一根线暂时中断SCEL和SDA线的EEPROM,然后插入USB。由于EEPROM线路是短的,从EEPROM读取的数据对FX2LP引导加载程序没有意义,它将回落到USB引导(它将启动为“EEPROM”设备)。 之后,您可以加载任何代码,你想RAM或EEPROM。您可以将VANDAYEX代码加载到RAM并擦除EEPROM的第一字节,从而使设备始终用USB引导启动。或者,如果你有你的客户固件的IIC文件,你可以加载它的EEPROM。 我不知道你是多么熟悉EEPROM启动,USB启动,EEPROM读/写功能的FX2LP。我们有关于FX2LP和供应商命令设计的引导选项(有项目,通过它可以通过供应商命令访问EEPROM)。 如果你有疑问,请拍摄更多的问题。 谢谢 尼基尔 以上来自于百度翻译 以下为原文 Probably the EEPROM data got corrupted. Are the EEPROM pins exposed? If yes, you can temporarily short SCL and SDA lines of EEPROM with a wire and then plug in the USB. Since the EEPROM lines are short, the data read from EEPROM will not make sense to FX2LP bootloader and it will fall back to USB boot (It will boot up as "No EEPROM" device) After that you can load any code you want to RAM or EEPROM. You can load Vend_Ex code to RAM and erase the 1st byte of EEPROM, so that the device boots up with USB boot always. Or if you have .iic file of your customer firmware, you can load that ot EEPROM. I am not sure how familiar you are with EEPROM boot, USB boot, EEPROM read/write features of FX2LP. We have ANs on boot options of FX2Lp and Vendor command design (which has project with which you can access EEPROM through Vendor commands). Please shoot more questions if you are in doubt. Thanks Nikhil |
|
|
|
嗨,Nikhil,
谢谢你的详细回答。 事实上,我是这个领域的新成员,如果你能给我指点一些文档(我已经读了一些),然后指导我,我会很感激。 董事会被曝光,我可以看到一个IC,与印记“ATMLH136”。这是EEPROM吗?见附图。我想这是文档:HTTP://www. ATMEL.COM/IVISO/DOC0180.PDF,我看到了SCL和SDA线的原理图。现在的挑战是找出哪条线实际上是SCL和SDA(IC的方向)。你认为试错可以解决吗?还是我会损坏它? 谢谢, 爱德华 Foto 23.0913 14 45 22.JPG 474.5 K 以上来自于百度翻译 以下为原文 Hi Nikhil, thanks for the detailed answer. In fact Im new on this field and would appreciate, if you can point me to some documentations (I have read a few already) and then guide me. The board is exposed and I can see an IC, with the inprint "ATMLH136". Is this the EEPROM? See the pic attached. I guess this is the documentation: http://www.atmel.com/Images/doc0180.pdf , I see the SCL and SDA lines on the schematics. Now the challenge is to find out which of the lines are actually SCL and SDA (orientation of the IC). Do you think trial and error can work out? Or would I damage it somehow? Thanks, Eduard
|
|
|
|
爱德华
不需要尝试n个错误。在第一引脚附近EEPROM上有一个点。你很容易辨认出来。(在图片中也是可见的,图片右下角) 以下是一些你可以参考的应用笔记: 1)FX2LP启动选项 HTTP://www. CyPress?COM/?RID=34253 2)供应商命令设计(在相关项目中有EEPROM读/写供应商命令) HTTP://www. CyPress?COM/?RID=34485 3)你可以从这个链接下载SuiTeUSB:HTTP://wwwyCysP.com?RID=34870 安装此包后,在“驱动程序”文件夹中,您可以找到CysB.PDF,其中有关于编辑INF文件和手动安装驱动程序的提示。 谢谢 尼基尔 以上来自于百度翻译 以下为原文 Eduard No need of trial n error. There is a dot on the EEPROM near the first pin. You can easily make out. (Its visible in the picture as well; bottom right hand side in the picture) Here are a few App notes you can refer: 1) FX2Lp boot options http://www.cypress.com/?rID=34253 2) Vendor command design (has EEPROM read/write Vendor commands in the associated project) http://www.cypress.com/?rID=34485 3) You can download SuiteUSB from this link: http://www.cypress.com/?rID=34870 After installing this pack, in the "drivers" folder you can find cyu***.pdf where in there are tips on editing .inf file and installing the drivers manually. Thanks Nikhil |
|
|
|
我能解决这个问题。使用来自Mac实例的固件运行良好。
以上来自于百度翻译 以下为原文 I could solve the problem. Using a firmware from MAC examples worked fine. |
|
|
|
很高兴知道它已经解决了。你是说只有那个例子才起作用吗?你用了哪个例子?
当做 以上来自于百度翻译 以下为原文 Glad to know that it is solved. Did you mean that it worked only with just that example? Which example did you use? Regards |
|
|
|
我想那是文德斧。其实没多大关系。我的意思是加载这个固件,使设备连接到MAC,下一步是找出什么是在原来的固件丢失。不幸的是,我不能说什么是真正缺少的,因为我没有原始固件。我们的供应商使用这个例子固件。
以上来自于百度翻译 以下为原文 I think it was Vend_ax. Doesnt matter much actually. I mean loading this firmware made the device connect to MAC, next step was to figure out what was missing in the original firmware. Unfortunately I cant say what exactly was missing as I dont have the original firmware. Our supplier fixed it using this example firmware. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2075 浏览 1 评论
1829 浏览 1 评论
3645 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1766 浏览 6 评论
1517 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
516浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
370浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
413浏览 2评论
360浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
868浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 03:30 , Processed in 1.398885 second(s), Total 99, Slave 82 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号