IDE on FT232R

Questions and discussion about the ZBasic IDE.
Post Reply
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

IDE on FT232R

Post by GTBecker »

I find that the IDE cannot open an FT232R USB serial converter, claiming the port is "either invalid or already in use".

I notice when using the same device on the Basic-X IDE that incoming data is garbled for about 200mS after starting the processor. I'd not noticed this before since I customarily start my code with a short delay. I only see this garbled period with the FTDI ports.

Is is possible that the IDE, too, is acting on a garbled response from the port driver?
Tom
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Re: IDE on FT232R

Post by stevech »

GTBecker wrote:I find that the IDE cannot open an FT232R USB serial converter, claiming the port is "either invalid or already in use".

I notice when using the same device on the Basic-X IDE that incoming data is garbled for about 200mS after starting the processor. I'd not noticed this before since I customarily start my code with a short delay. I only see this garbled period with the FTDI ports.

Is is possible that the IDE, too, is acting on a garbled response from the port driver?
I have an FTDI-chip-based USB-to-serial dongle - one of those that has the DB9 and USB in one plastic unit, no cable. I just plugged it into my XP Pro PC for the first time since I installed this OS. I told it to look for drivers - I didn't provide it with a specific driver file. It installed as COM3 and shows FTDI drier version 2.0. The ZBasic IDE is able to use COM3 and ID the ZX24a.
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

Post by GTBecker »

It sounds like others use FTDI-based adapters successfully with XP SP2.

I've tried these on three machines here which produced the same behavior. Only one has the development drivers on it; the others just loaded XP's default FTDI drivers when I plugged the adapters in the first time. Other terminal programs and IDEs open the port - with a short suspect pause, it seems, at open - but can use the port.

Still, the ZBasic IDE doesn't like it.
Last edited by GTBecker on 07 January 2007, 16:38 PM, edited 1 time in total.
Tom
mikep
Posts: 796
Joined: 24 September 2005, 15:54 PM

Post by mikep »

GTBecker wrote:It sounds like others use FTDI-based adapters successfully with XP Pro, but the FT232R is relatively new and is not what you have in your dongle, I suspect.
I am running XP SP2. I have several USB adapters that work with the ZBasic IDE. In particular I have a FT232R circuit board that works just fine.

Does it work from the command line but not the IDE? Did you check the installation of the device drivers?
Mike Perks
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

Post by GTBecker »

> ... I have a FT232R circuit board that works just fine.

OK, that's what I needed to hear. I guess it's local...

Thanks.
Last edited by GTBecker on 08 January 2007, 4:16 AM, edited 1 time in total.
Tom
GTBecker
Posts: 616
Joined: 17 January 2006, 19:59 PM
Location: Cape Coral

Post by GTBecker »

Solved. I removed an underlying old version of the IDE (0.27), and the current version, then used FTClean to remove the remnants of FTDI drivers before rebooting and reinstalling the ports and the IDE. All is well.
Tom
Post Reply