|
|
View previous topic :: View next topic |
Author |
Message |
geolover
Joined: 08 Feb 2011 Posts: 18
|
|
Posted: Wed Feb 09, 2011 8:40 am |
|
|
Hello! I used the same code but while I'm trying to install the driver I got error code 10. Do you have any idea why?
To be a little bit more specific:
Sometimes the USB CDC could be successfully installed, but however when I try to access it with putty I got unable to configure COM port message, any idea on why this is happening? |
|
|
neohimura
Joined: 08 Feb 2011 Posts: 14
|
|
Posted: Thu Feb 10, 2011 3:24 am |
|
|
Hi,
I was able to install the PIC18F4550 USB CDC driver and it works on my laptop with Windows 7 X64. I'm using Visual Basic 2010 to display the data. My problem is the data will freeze after running for ~1 minute. I tried the same codes on a Windows 7 X32 and had the same problem. But it works fine in Windows XP. I tried different value of capacitor for VUSB but no luck. Anyone had this problem? |
|
|
gmua
Joined: 07 Feb 2011 Posts: 11
|
|
Posted: Fri Feb 11, 2011 1:20 pm |
|
|
Ttelmah wrote: | The USB support with 3.249, differs from that on 4.106, taking less space, but creating the last couple of warnings to do so. The USB libraries for V4, won't work with 3.249. You can turn which warnings are given on/off.
With the standard libraries, these warnings are _normal_.
USB, in Proteus is poor. You _can_ get an occasional small program to work, but more fail than do. I have not got a single 'full scale' program that works in the real world, to work in Proteus. As far as I'm concerned, the USB simulation in Proteus, is not worth wasting time on.
Best Wishes |
Thanks a lot Ttelmah, I guess it was too good to be true about PROTEUS being able to simulate the USB port a 100%, I will have to do it the old fashion way. |
|
|
gmua
Joined: 07 Feb 2011 Posts: 11
|
|
Posted: Wed Feb 16, 2011 7:29 pm |
|
|
Ttelmah wrote: | USB, in Proteus is poor. You _can_ get an occasional small program to work, but more fail than do. I have not got a single 'full scale' program that works in the real world, to work in Proteus. As far as I'm concerned, the USB simulation in Proteus, is not worth wasting time on. |
Proteus 7.4 SP3 works much better than Proteus 7.5 SP3, I modified and recompiled a C source file (made with CCS version 3.227) with version 4.114 and it worked perfectly (I still got the same normal warnings), the Windows application made with Visual C# 2005 turned the LEDs ON and OFF inside the ISIS simulation like it was supposed to.
The project is a slightly modified version of the PicUSB project found at: http://www.hobbypic.com/
Again, thanks a lot Ttelmah |
|
|
Bilal
Joined: 24 Apr 2010 Posts: 75 Location: Islamabad
|
|
Posted: Sat Mar 12, 2011 8:36 am |
|
|
its OK to have a .33nF Capacitance at PIN18 instead of 47uF???? _________________ ... |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19546
|
|
Posted: Sat Mar 12, 2011 3:33 pm |
|
|
The recommended value, is _not_ 47uF. 0.47uF. Factor of 100 different.
The data sheet requires a minimum of 0.22uF.
_But_ historically quite a few people have found the USB to be unreliable, with the minimum value, so have doubled it, and used 0.47uF, but 0.33, if a good quality capacitor, is well in spec.
So 0.33uF _ought_ the be OK.
Best Wishes |
|
|
|
|
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
|