|
![]() USB
![]() Problems with RealTerm and CP210x
|
| next newest topic | next oldest topic |
| Author | Topic: Problems with RealTerm and CP210x |
|
f.angelini New Member |
Hello, I need some help to get RealTerm 2.0.0.43 and CP210x virtual COM port working together. I installed latest VCP drivers (5.1.0.0) and if I use HyperTerminal all things seems to be OK and I can send and receive data (but this software is too poor to my purposes, for example there's no CTS/RTS pin management). When I try to open virtual COM port related to USB device in Realterm, I get the "peripheral not working" error. I'm using Windows XP SP2. IP: Logged |
|
Tsuneo Member |
PortMon shows that RealTerm fails IOCTL_SERIAL_SET_QUEUE_SIZE request when it opens CP210x VCP port. RealTerm: v2.0.0.43 IOCTL_SERIAL_SET_QUEUE_SIZE - (maybe issued by SetupComm()) The usual coding manner to change the default IN/OUT queue size is, 2) set the queue size by SetupComm() RealTerm seems not to follow this convention. Unfortunately, we cannot access to the source code of RealTerm. [References] Tsuneo IP: Logged |
|
Tsuneo Member |
Aha, SiLabs VCP driver (v5.1.0.0) doesn't support IOCTL_SERIAL_GET_PROPERTIES (GetCommProperties()) properly, for the queue size. It returns these result in COMMPROP structure, as the default setting. Then, report it to SiLabs also. Tsuneo IP: Logged |
|
f.angelini New Member |
Using the old 4.38 VCP drivers and the same 2.0.0.43 RealTerm version, all is working correctly. Moreover, I noticed another strange thing: using the 5.1 version, when I connect USB connector to my peripheral (before opening COM port), DTR and RTS pin levels goes high and low some times and become steady high only after 4-5 seconds; using the old version of drivers this strange behaviour does not happens. IP: Logged |
|
Tsuneo Member |
Anyway, I don't have the source code of SiLabs VCP driver. There is no way for us to fix the bugs without the source code. The bugs are clear. Report it to SiLabs ( mcutools@silabs.com ). Send the URL of this topic to SiLabs to make them aware of this problem. I posted enough information for bug fix. Tsuneo IP: Logged |
|
xiaofan Member |
Unfortunately, we cannot access to the source code of RealTerm. Report it to the support forum for RealTerm. Realterm installation does come with the Delphi 7 based source codes (you need to choose this option during the installation). But I am not so sure if this helps to identify the problem as it seems to use some external components. IP: Logged |
|
Tsuneo Member |
Hi xiaofan, "Realterm installation does come with the Delphi 7 based source codes (you need to choose this option during the installation)." Ah, thanks. "But I am not so sure if this helps to identify the problem as it seems to use some external components." Ya, RealTerm uses this component. I found it from the source code of RealTerm. "TurboPower Async Professional" As you said, the problem lies in the implementation of the component.
I sent a bug report to SiLabs, as follows. Bug report on CP210x VCP driver Tsuneo IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?