完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好!
我是一个年轻的软件开发人员28年5年作为一个专业。(C.net) 我有一个相机(猎户座星际深空成像仪),我正试图编写一个Linux驱动程序。 因为它没有Linux驱动程序。 我从Windows知道它使用EZ-USB FX2。安装程序在我使用软件时安装它。 在Windows中。 如果我打开凸轮(用螺丝刀),我可以看到它有CY7C68013A—100ACX芯片。 我是一个低功耗的商业用芯片。 CAM来自光电子技术。 我试着读一些关于它的文档,但是我有许多未解决的问题。 我认为你聪明的人可以回答他们。 他们来了: 当设备被购买时,EPROM是否充满了固件?还是每次插入时从PC上加载固件? EPROM是固件的固态存储器,在我的例子中是来自光电子的固件吗? 当文档说明有可能上传和下载固件到设备时,这些单词是如何使用的?这个字是从主机PC下载意思到设备,然后从设备上传到主机PC吗? 我已经通过LiBubdotNETs通信到设备。例如获取描述符和改变一些值。但是我可以看到,当我在设备中插入插件(用带有EZUSB软件的XP的虚拟盒子运行Linux)时,VID和PID改变了。如果VirtualBox被关闭,它不执行枚举,而是我启动WindowsXP上的VirtualBox,它进行枚举。我认为,我只是与设备中的默认硬件进行通信,而不是通过软件固件进行通信。 现在我想知道。到CAM的固件改变凸轮行为,比如不同的端点和请求,对吗?但是,这个固件放置在哪里,它放在CAM(EPROM)还是下载。如果它每次都下载到设备上。我在哪里可以找到我的设备的固件?在通过USB命令启动正常通信之前,我可以加载到该设备中吗? 如果我能从Windows到设备,然后在Linux中通过LIB USB发送相同的命令,这将是非常容易的。但这需要来自CAM的相同行为。 你不认为我真的有可能做到这一点吗? 我应该从哪里开始…? 以上来自于百度翻译 以下为原文 Hi I am a young software developer 28 5 years as a pro. (C#.NET) I am having a camera (Orion Starshoot Deep Space Imager) which i am trying to write a linux driver to. Because it dos not have a linux driver. I known from windows that it use the EZ-USB FX2. The installer installs it when I use the software in windows. If i open the cam (with a screwdriver) i can se that it has the CY7C68013A-100ACX chip. Which i a low powered chip for commercial use. The cam is from Optronic Technologies. I have try to read some documentation on it but i have many unsolved questions. I think that you clever people can answer them. Here they come: Is the EPPROM filled with firmware when the device is bought or is the firmware loaded from the PC into the device each time it is pluged in? Is a EPPROM a solid state memory which hold the firmware, in my case the firmware from optronic? When the documentation state that it is possible to upload and download firmware to the device how are the words used? Is the word downloading meaning from the host pc into the device, and uploading from the device to the host pc? I have maneged through LibU***DotNet to communicate to the device. For instance get descriptors and changing a few values. But I can se that the VID and PID is changed when i am plugin in the device into my PC (Running Linux with Virtual Box with XP with EZUSB software) If Virtualbox is closed it does not perform the enumaration, but is I start up VirtualBox with windows XP on, it does the enumeration. I think that I am only communication with the default hardware in the device not through the software firmware. Now I would like to know. The firmware to the cam change the cams behavier, like differents endpoint and requests, right? but where is this firmware placed are it placed in the cam (EPPROM) or is it downloaded. If it is downloaded to the device each time. Where can i find the correct firmware for my device? Which I can load in to the device before i start the normal communication through the u*** command? It will be much more easy if i could just snif the communication from windows to the device and then in linux sending the same command through lib u***. But that requere the same behavier from the cam. Dont you think it is possible for me to actually do it? Where should I start...? |
|
相关推荐
4个回答
|
|
你好,
让我试着逐一回答你的问题: 当你猜到的时候,这个字从主机PC下载意思到设备,然后从设备上传到主机PC。 现在关于枚举和固件的存储:正如你所说的,枚举只发生在你在虚拟箱中打开EZ-USB S/W(如果我误解你的时候请纠正我),我们可以知道固件下载只在打开主机应用程序时才发生。所以,我不认为FW图像驻留在EEPROM中。如果有的话,第一个字节不等于0xC2。为了知道到底发生了什么,我认为在枚举时,你需要对USB流量进行跟踪。如果你可以把它附加在这里,我们可以告诉你到底发生了什么。我认为可能发生的是,FW下载正在发生在USB上,正如由主机应用程序发起的。 -我想知道你所说的EZ-USB软件。如果是柏树提供的S/W,我们可以告诉你到底发生了什么。 此外,USB流量的跟踪将帮助您嗅探总线级别上正在发生的事情,并了解命令/响应流的顺序。 当做, 加亚特里 以上来自于百度翻译 以下为原文 Hello, Let me try to anwer your queries one by one : - As you gueesed, the word downloading meaning from the host pc into the device, and uploading from the device to the host pc. - Now about the enumeration and where the firmware is stored: As you said, the enumeration is happening only when you open the EZ-USB s/w in Virtualbox (please correct me if I misunderstood you), we can make out that the firmware download is happening only as you open that host app. So, I don't think the fw image resides in the EEPROM. If at all, the first byte is not equal to 0xc2. In order to know what exactly is happening I think you will need to take a trace of the USB traffic while enumeration. If you can attach that here, we can tell you exactly what is happening. What I think might be happening is that the fw download is happening over the USB, as is initiated by the host app. - I would like to know which EZ-USB software you metioned about. If it is any Cypress provided s/w, we can tell you what exactly is happening. - Also, USB trace of the traffic would help you in sniffing what is happening at the bus level, and understand what are the sequence of commands/responses flowing. Regards, Gayathri |
|
|
|
你好
谢谢你的回答。 我不知道软件到底是从哪里来的。 我知道Windows中的默认安装程序安装了EZ-USB FX2驱动程序。在凸轮里面我可以找到一个CYC768013A芯片。 我已经从我的Linux安装中嗅到了WiReSARK中的USB流量,而VialAlbox正在运行一些时间。 如果这是不合法的,请说出来。我只是为私人研究院做这件事。 我已经从WiReSARK上附加了捕获的文件。 请帮我解释一下到底发生了什么。我想用LIUSB总线在Linux上做这个。我是一个专业的C·.net开发者。所以我只需要帮助USB通话… 简短描述AF哪些包被接收和发送以及在哪个事件上。 凸轮插入1-43 ViualBox开始于我的Ubuntu 44—1125 在VultualBox 1126—1153中安装USB驱动程序FX2 在XP(内部虚拟盒)1154—1155中打开天文软件 捕获一个1层图像光原始文件1156—1345 希望你能理解…希望你能帮忙 以上来自于百度翻译 以下为原文 Hello Thanks for the answer. I dont know where the software exactly is from. I know the default installer in windows installs the EZ-USB FX2 driver. And inside the cam i can find a CYC768013A chip. I have sniffed the u*** traffic in wireshark from my linux install while virtualbox was running some of the time. If any of this is not legal please say it. I am only doing this for private studie. I have attached the captured file from wireshark Please help me interpret what exactly is happening. I would like to do this in linux with libu***. I am a pro c#.net developer. So i just need solid help with the USB talking.... Short description af which packets is recieved and send and on which event. Cam pluged in 1-43 Virtualbox started in my ubuntu 44 - 1125 Mounting the u*** driver fx2 in virtualbox 1126 - 1153 Opening Astronomy software in xp (inside virtualbox) 1154 - 1155 Capturing a 1 secound image light raw file 1156 - 1345 Hope you understand.... And hope you can help |
|
|
|
对不起,忘记了文件。就在这里!
完全捕获文件 500 K 以上来自于百度翻译 以下为原文 Sorry forget the file. here it is!
|
|
|
|
你好,
你正试图逆向设计别人的设计。我不认为没有合法的制造商的设计是合法的。 当做, 阿南德 以上来自于百度翻译 以下为原文 Hi, You're trying to reverse engineer someone elses design. I don't think it is legal without consent from the manufacturer of the design. Regards, Anand |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2070 浏览 1 评论
1826 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
510浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
360浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
857浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 02:03 , Processed in 0.724288 second(s), Total 52, Slave 46 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号