using USb with PIC18F4550

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
kirstom14
Posts: 40
Joined: Thu Nov 15, 2007 9:13 am
Contact:

using USb with PIC18F4550

Post by kirstom14 »

Hi,

I am using Flowcode v3 and I am trying to interface the 18F4550 with the PC through the USB.

I saw the video tutorial about the USB and how to install the drivers, etc. But I am having a problem:
Windows Vista is not accepting the driver that I generated from the USB component. It is saying that
"The best driver software for your device is already installed" and that the driver software is up-to-date.
But still the PIC is being seen as an Unkown Device!!

What shall I do??

Thanks
Kirsten
tomcat14

User avatar
Steve
Matrix Staff
Posts: 3427
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: using USb with PIC18F4550

Post by Steve »

Try changing the PID/VID combination in Flowcode and create a new set of drivers.

Alternatively, open Windows device manager and select to uninstall your device and then reinstall it by pointing it manually to your generated INF file.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: using USb with PIC18F4550

Post by Benj »

Hello

The USB serial component in V3 generates a driver that is not compatible with Vista. If you send me the flowcode program then I should be able to create you an up to date driver for your device in Vista.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: using USb with PIC18F4550

Post by Benj »

Here is a Vista compatible driver that will work with the default USB serial settings. Eg keeping the PID, VID, Devicename and manufacturer as is in the USB serial properties.
Attachments
default.zip
(773 Bytes) Downloaded 432 times

kirstom14
Posts: 40
Joined: Thu Nov 15, 2007 9:13 am
Contact:

Re: using USb with PIC18F4550

Post by kirstom14 »

Hi, sorry for the long delay.

The driver that you have sent me didn't work either, and so I bought the ECIO module. And it is working fine.

Now I need to communicate with the ECIO using C# through USB. Do you have any idea of how this can be done??

Thanks
tomcat14

User avatar
Steve
Matrix Staff
Posts: 3427
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: using USb with PIC18F4550

Post by Steve »

There are a number of articles on our forum that may help. The following contains the source code for a VB project:
http://www.matrixmultimedia.com/mmforum ... =26&t=6813

Post Reply