|
![]() USB
![]() cp2101 usb protocol???
|
| next newest topic | next oldest topic |
| Author | Topic: cp2101 usb protocol??? |
|
liujyniu405 New Member |
I bought some CP2101 chips,i used it as a device ,and it worked normal when it was connected to the Computer.The driver worked normal too. But now,i want the device worked as a USB SLAVE,discard the PC driver.I developped a USB HOST+MCU DEVICE to operate the USB SLAVE, I do not have the USB PROTOCOL of CP2101,could you provide me some information about the CP2101'S USB PROTOCL by EMIAL? lj405@126.com IP: Logged |
|
Tsuneo Member |
Hello liujyniu405, Linux Kernel 2.6.12 and later has a "cp2101" driver and its source (by Craig Shelley) in the usb section. It may help you to learn on the CP210x driver. The Linux driver source from SiLabs (MCCI) is what never be called a "source code", actually it's a C parser output. Though I'm not a Linux freak, I feel it's a shameful manner, if SiLabs thinks they can cheat GPL by this way. Don't ask me for the protocol, I never do such a troublesome thing. Tsuneo IP: Logged |
|
liujyniu405 New Member |
thanks for your help. I will choose another usb controller instead of CP2101. IP: Logged |
|
Brent W Administrator |
All, As an enhancement to our Linux support, we have undertaken a development effort to update, enhance, and package the existing CP2101 driver that is currently in the public domain at: These enhancements include adding support for CP2102 and CP2103 devices in addition to porting the source to work with Linux kernel version 2.4. The current version supports Linux 2.6. Once the work is completed, the source will be updated and made available in the public domain. The estimated release schedule is before the end of Q1 2006. Regards, Brent IP: Logged |
|
Tsuneo Member |
Brent, Thank you for clarifying the situation of the Linux driver. If this means SiLabs continues to release the Linux driver by themselves, I don't think it's a good way. I suppose following story is better. As a programmer, I highly appreciate Linux and the open-source movement. I've learnt much from their source code, I enjoy benefit from them in daily life. At the same time, however, I don't think they are all of the world. If SiLabs hesitates to open the USB protocol of CP210x on demand, I should say SiLabs fears are utterly groundless. So, I recommend you to reconsider the way SiLabs supports Linux. Tsuneo [This message has been edited by Tsuneo (edited November 20, 2005).] IP: Logged |
|
Tsuneo Member |
I received several e-mails that point out my claim on the above post is not clear. OK, I'll elaborate. 1) Encrypted Linux source code 2) What I meant with the term "on demand" 1) Encrypted Linux source code
This disorder is not caused by the forum engine. It is displayed as it is. Can you understand what this "source code" describes? OK, I'll reformat it as follows #define l111110100 (010304) It seems a little better, still "l111110101" is annoying. Please consider what will happen if many companies would follow the way SiLabs(MCCI) encrypted the source code. It will threaten the open-source community. Therefore, it was accused as an outlaw. If SiLabs still continues to release this kind of encrypted code in future version, it will never be accepted from Linux community. Linux 2.6 adopted the driver written by Craig Shelley instead of SiLabs one. Greg K-H, the maintainer of "USB SERIAL DRIVER" part of the Linux kernel, wrote as follows. "Linux support for SiLabs CP210x devices, take 2" Actually he has authority to decide which driver is included in Linux release.
I suppose the actual case such as the FLASH programming protocol over the JTAG on 'F12x. I received a kind reply when I asked SiLabs about this protocol. If SiLabs provides the correct information on the CP210x protocol to the Linux driver authors, they will make their driver more reliable. Linux 2.6 has "CP2101" driver, independently coded by Craig Shelley. He wrote in the release note as follows.
Surely, even under the prohibition, the protocol would be flowed out to the web. But the prohibition clearly declares the SiLabs right on the information. It is better for SiLabs than current situation in which a reverse-engineered protocol spreads over the web without declaration. Tsuneo IP: Logged |
|
xellos New Member |
Is there are driver package for the CP210x package for Linux 2.6 kernels prior to the 2.6.12 kernel release? I would like to use this driver under the standard release of Red Hat Enterprise Linux 4 which is running a 2.6.9 kernel without native Linux support. Do you have a package that can be compiled and inserted into the kernel? IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?