View previous topic :: View next topic |
Author |
Message |
karthickiw
Joined: 09 Aug 2007 Posts: 82 Location: TN, India
|
Problem with RS232 to USB driver in 18F4550 |
Posted: Tue Jul 12, 2011 8:37 am |
|
|
Dear friends,
i used 18F4550 to transmitted data from micrcontroller to PC through usb port. when plug usb pin in laptop, my laptop don't take driver in c:\Pragram file\PICC\drivers\
i installed windows 7 32 bit home basic
help me |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19381
|
|
Posted: Tue Jul 12, 2011 9:13 am |
|
|
Could be anything:
PIC not powered.
Vusb not setup/powered/smoothed.
D+/D- reversed or otherwise connected incorrectly.
Invalid oscillator setup.
Code not actually programmed into the chip.
Code set to use the connection sense pin, and this not connected.
Plus any one of a thousand different possibilities....
Start simpler. Basic LED flash prgram, connect an LED (with current limiting resistor), and run a basic test program to flash this. Verify it does flash at the specified rate.
Then triple check the USB connections, an look at the code you are using. If it requires connection sense verify this is correctly connected.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
karthickiw
Joined: 09 Aug 2007 Posts: 82 Location: TN, India
|
thank you |
Posted: Tue Jul 12, 2011 9:41 pm |
|
|
Thank you friend...
I check on my desktop PC, its work very good. I receive the data from USB virtual port. My problem is when hardware connect in laptop, laptop don't support the virtual port driver. I think driver is not supported on Windows 7.
See below image.
![](http://img52.imageshack.us/img52/9568/screenhay.jpg) |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19381
|
|
Posted: Wed Jul 13, 2011 2:03 am |
|
|
Is this standard Windows7, or Windows7 _64bit_.
How old is your compiler?.
The standard driver should load fine in 32bit releases of Windows7, but for 64bit, you need either a version from a recent compiler (about the last six months), or to patch the standard version
(<http://www.ccsinfo.com/forum/viewtopic.php?t=41272>).
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
karthickiw
Joined: 09 Aug 2007 Posts: 82 Location: TN, India
|
Thank you |
Posted: Wed Jul 13, 2011 3:29 am |
|
|
Thank You Ttelmah.. your link very usefull. i solved the problem....![Smile](images/smiles/icon_smile.gif) |
|
![](templates/subSilver/images/spacer.gif) |
|