CodeRed IDE Linux version disconnects FTDI USB-Serial

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeRed IDE Linux version disconnects FTDI USB-Serial

1,273 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by suikan on Wed Mar 16 02:41:38 MST 2011
Hi

I have trouble of USB-Serial Interface when I start the debug with LPCXpresso.

[LIST]
[*]OS : Ubuntu Linux 10.04
[*]Platform : AMD Athlon Neo MV-40 / VMware Workstation 7.0
[*]IDE : CodeRed 3.8.2 [Build 129]
[*]Target : LPCXpresso 1769
[/LIST]
Whenever I launch the debug session with LPC-Link, the USB-Serial interface is disconnected. For example, the /dev/ttyUSB0 is disappeared from system.

I checked my stock of USB-Serial interface. Following is the result when I launch the debug session with LPC-Link.

[LIST]
[*]FT232R : Disconnected
[*]FT2232 : Disconnected
[*]CP2102 : Connection kept
[*]PL2303 : Connection kept
[/LIST]
So, I think CodeRed IDE's debug session disconnect only FTDI chip dependent module.

I appreciate if somebody knows workaround.

Regards
Suikan
0 Kudos
Reply
6 Replies

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Mar 18 00:57:34 MST 2011
Thanks for investigating this and finding a fix that works.

This appears to be a bug in the FTDI drivers and thus the only solution will be to update the libftd2xx driver. We do not use libftdi and so it is not possible to have a workaround in our tools for a bug in their drivers. Sorry.
0 Kudos
Reply

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by suikan on Fri Mar 18 00:47:41 MST 2011

Quote: CodeRedSupport
OK, we have now managed to replicate this Linux specific issue and will investigate.



Thanks,

I have confirmed the libftd2xx 1.0.4 can solve this problem. But it is hard to install this driver for usual Ubuntu user. Becaue the libftdi is standard driver of off-the-shelf Ubuntu 10.04, I appreciate if you solve this problem with libftdi.
0 Kudos
Reply

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Mar 17 09:11:18 MST 2011

Quote: suikan
Whenever I launch the debug session with LPC-Link, the USB-Serial interface is disconnected. For example, the /dev/ttyUSB0 is disappeared from system.


OK, we have now managed to replicate this Linux specific issue and will investigate.

Regards,
CodeRedSupport.
0 Kudos
Reply

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Mar 17 08:11:59 MST 2011

Quote: suikan
Hi

I am using FTDI 0.17 which is prebuild in Ubuntu 10.04.

Today, I have uninstalled that version and installed libftdi 0.18 ( newest version ). But still I have same trouble.

What is your linux environment?



Ubuntu 10.04.

We don't use libftdi, we use libftd2xx.so.0.4.16, which is supplied with the product.
0 Kudos
Reply

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by suikan on Thu Mar 17 08:00:29 MST 2011
Hi

I am using FTDI 0.17 which is prebuild in Ubuntu 10.04.

Today, I have uninstalled that version and installed libftdi 0.18 ( newest version ). But still I have same trouble.

What is your linux environment?
0 Kudos
Reply

1,241 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Mar 16 03:48:42 MST 2011
We use a new version of the FTDI driver. It is possible that your existing software is using an older version of the driver. Please try updating the drivers for your FTDI devices.
0 Kudos
Reply