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
.. 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
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
check the post on the subject here ".
You can find posts on this subject in most programmers fora.
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.
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
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.
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
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
"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. www.silabs.com/.../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