| Details | Message |
|---|
Read-Only Author rajesh shaaw Posted 3-Jan-2009 18:20 GMT Toolset C51 |  not able to connect USB to Serial Adapter rajesh shaaw Hi Everyone, I am using uVision3 for Silicon Lab C8051F020 Microcontroller. As My laptop doesn't have Serial port, I am using an USB to Serial Adapter. When I am trying to connect/debug, it is showing "***Error: C:\Keil\C51\Bin\SiC8051F.Dll" invalid debug Dll. Also, when I am opening uVision3 Debug settings in "Configure Flash Tools" menu, I am not able to select the "USB Debug adapter" option. Can anyone please let me know, how to fix this? Thanks and Regards Rajesh |
|
Read-Only Author erik malund Posted 3-Jan-2009 20:37 GMT Toolset C51 |  oh, so many USB to Serial Adapters .... erik malund .. are not "true RS232", they only hancle the 'common' RS232 uses the FlashMagic forum has a therad where some that do not work, and some that do, are listed. Erik |
|
Read-Only Author rajesh shaaw Posted 4-Jan-2009 07:09 GMT Toolset C51 |  RE: oh, so many USB to Serial Adapters .... rajesh shaaw Dear Erik, I did not get what You are referring to. Please let me know how to fix this problem. I am using BAFO USB to Serial Adapter. Thanks Rajesh |
|
Read-Only Author erik malund Posted 4-Jan-2009 09:31 GMT Toolset C51 |  RE: oh, so many USB to Serial Adapters .... erik malund check the post on the subject here http://forum.flashmagictool.com/index.php?action=unread I have totally given up on the blasted converters and have no idea if the one you use will fully generate RS232 or it one of the many that only handle the 90% the most manufacturers believe is "enough". You can find posts on this subject in most programmers fora. Erik |
|
Read-Only Author Per Westermark Posted 4-Jan-2009 14:47 GMT Toolset C51 |  RE: oh, so many USB to Serial Adapters .... Per Westermark I don't think it is a question of how many percent that is supported. I think it is a question of timing. A USB adapter can not be 100% transparent because of latencies. And it matters how the modem signals are transmitted - bulk or control. |
|
Read-Only Author erik malund Posted 4-Jan-2009 14:57 GMT Toolset C51 |  whatever the reason ... erik malund In the FM forum you will see some that work and many that don't. I GUESS the things it depend on ar the same whetever downloafer you use Erik |
|
Read-Only Author Per Westermark Posted 4-Jan-2009 16:20 GMT Toolset C51 |  RE: whatever the reason ... Per Westermark Yes, some do work wirh with some programs. Some do not work. But most probably, all USB adapters has a "full implementation". But they do not have identical timing. Many programs were written for a serial port maybe having a 16-character FIFO - or possibly for the original serial port that didn't have any FIFO at all. Several USB adapters has hundreds of bytes of FIFO. And it matters a lot if the data is sent using bulk transfers, and the modem signals using control transfer. So I think you shouldn't talk about "incomplete implementation", but instead talk about some USB adapters having timing issues - at least with some programs. |
|
Read-Only Author Al Bradford Posted 4-Jan-2009 22:30 GMT Toolset C51 |  RE: not able to connect USB to Serial Adapter Al Bradford Rajesh; I have had the same problems in the past. 1. Make sure that you have the latest drivers from SiLabs. I don't have the drivers on this computer so I can't give you any help on the latest driver version. 2. Many Laptops will not drive a USB/Serial converter attached to the SiLabs C2 box. I had to go to a self powered USB hub which fixed 90% of my problems. 3. Under the Keil Options -> Debug tab, ensure that you have the TCYG.DLL with options -pCYGF020 loaded. Bradford |
|
Read-Only Author rajesh s Posted 7-Jan-2009 14:16 GMT Toolset C51 |  RE: not able to connect USB to Serial Adapter rajesh s I have the latest driver, and checked the following : Under the Keil Options -> Debug tab, ensure that you have the TCYG.DLL with options -pCYGF020 loaded. Still no connection. I would try with some other version of the driver. Pls suggest if any more information you have. Thanks Rajesh |
|
Read-Only Author Tsuneo Chinzei Posted 7-Jan-2009 16:46 GMT Toolset C51 |  RE: not able to connect USB to Serial Adapter Tsuneo Chinzei "I am using an USB to Serial Adapter.... I am not able to select the "USB Debug adapter" option." Naturally. "USB Debug adapter" means this dongle from SiLabs. https://www.silabs.com/products/mcu/Pages/USBDebug.aspx The USB to Serial Adapter doesn't make your old EC2 (serial debug adapter) to this new one. :-) The USB to Serial Adapter provides a new COM port to your PC. Your EC2 connects to this new COM port. Find the COM port number on the Device Manager, and set it to the option. Tsuneo |
|