Discussion Forum

not able to connect USB to Serial Adapter

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
rajesh shaaw
Posted
3-Jan-2009 18:20 GMT
Toolset
C51
New! not able to connect USB to Serial Adapter

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
New! oh, so many USB to Serial Adapters ....

.. 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
New! RE: oh, so many USB to Serial Adapters ....

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
New! RE: oh, so many USB to Serial Adapters ....

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
New! RE: oh, so many USB to Serial Adapters ....

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
New! whatever the reason ...

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
New! RE: whatever the reason ...

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
New! RE: not able to connect USB to Serial Adapter

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
New! RE: not able to connect USB to Serial Adapter

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
New! RE: not able to connect USB to Serial Adapter

"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

Next Thread | Thread List | Previous Thread Start a Thread | Settings