CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Problem with RS232 to USB driver in 18F4550

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

Problem with RS232 to USB driver in 18F4550
PostPosted: Tue Jul 12, 2011 8:37 am     Reply with quote

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
Ttelmah



Joined: 11 Mar 2010
Posts: 19498

View user's profile Send private message

PostPosted: Tue Jul 12, 2011 9:13 am     Reply with quote

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
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

thank you
PostPosted: Tue Jul 12, 2011 9:41 pm     Reply with quote

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.

Ttelmah



Joined: 11 Mar 2010
Posts: 19498

View user's profile Send private message

PostPosted: Wed Jul 13, 2011 2:03 am     Reply with quote

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
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

Thank you
PostPosted: Wed Jul 13, 2011 3:29 am     Reply with quote

Thank You Ttelmah.. your link very usefull. i solved the problem....Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group