PICcoder.co.uk Forum  


::post new topic::
<< Start < Prev 11 12 13 Next > End >>
Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/08/10 00:40 By: loyd Status: Visitor  
 
Hi,

I am having the same problem as dariog, does anyone have any suggestions.

Thanks for your help
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/08/10 09:43 By: Axel Status: Visitor  
 
That running on vista in XP compatibility mode and fixing the power down check box in the USB driver works. Thanks.
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/08/15 18:02 By: Axel Status: Visitor  
 
Hi
Is someone succed to convert this project on 2455 because I want to try but if you have already find what could be the issues it could hlep me a lot.

Thanks
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/08/29 11:18 By: curly Status: Visitor  
 
Hi,

I am having trouble with the USB device detection. Presently when I connect the PIC to the USB LED2 lights up for a few seconds and then Led1 lights up and stays light. Windows gives me the unkown device possible malfunction message and when i try to point windows in the right direction for the drivers it doesn't install them.

I don't have RA1 connected to anything, but i have tried setting "#define usb_bus_sense" to 1 in the code to simulate it, but this also doesn't help.

I've defined the configuration settings in main.c file using #pragma config, I implemented it just after the #include section, Is this the right place for it?

I am using a 20Mhz crystal and my oscillator settings are

HS Oscillator, PLL enabled, HS Used by USB
96MHZ PLL div 2
Oscillator Divide by 5, 20Mhz
[OSC1/OSC2 Src: /4][96 MHz PLL Src: /6]

I've been stumped on this for a ages now any help would be greatly appreciated, Thanks
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/08/30 14:04 By: dariog Status: User  
Karma: 6  
Posts: 107
graphgraph
loyd wrote:
Hi,

I am having the same problem as dariog, does anyone have any suggestions.



Hi, what were you referring to?
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/09/04 11:10 By: Axel Status: Visitor  
 
hi

With the actual pic software, is it possible to send a data to the pc without start the comunication from the pc?

thanks
reply | quote

Re:PICDEM FS USB Code
Date: 2007/09/05 12:36 By: jonte Status: Visitor  
 
Fauzan wrote:
I just got a PICDEM FS USB board... I was just trying the code in your article...I got a build error

"Executing: "C:MCC18binmcc18.exe" -p=18F4550 /i"C:picusbdemo" "main.c" -fo="C:PICUSB~2main.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- C:picusbdemomain.c:38:Error [1027] unable to locate 'p18cxxx.h'

Where can i find this p18cxxx.h?

Is it important, because the board comes with P18F4550?

Thanks
Fauzan
reply | quote

Re:PICDEM FS USB Code
Date: 2007/10/05 08:42 By: Maui Status: Visitor  
 
Hi,

I'm doing this project and face same problem with the configuration bits.
Can Mat or somebody else show me your configuration bits which is working? I'm using the zip file provided at the beginning of the article without anythings change.


THanks
reply | quote

Re:PICDEM FS USB Code
Date: 2007/10/09 09:11 By: Maui Status: Visitor  
 
Good news, me had successfully built the project. But why the LED only light on for 1-3 seconds after i updated?

THanks
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/11/13 13:50 By: Tam Status: Visitor  
 
Capn wrote:
I am working on a project involving transferring data from a PIC18F4550 to a PC via USB. My board has been set up exactly as the schematic describes (including RA1) and I've done every little tweak I could find while poring over the forums.

So here's the problem:

Upon power-up (plugging in the USB cable), the two lights flash for a little, the "USB Device Not Recognized" message appears, and the board goes into Suspend mode (denoted by simultaneous flashing of LEDs, right?). I've tried to force Windows to install the mchpusb.inf driver, but it tells me "The specified location does not contain information about your hardware." Secondly, the device doesn't seem totally stable; meaning it disappears briefly from the device manager then reappears.

Device Info:
I have a 20MHz external oscillator, so settings are as follows:
Full Speed USB CLock Source Selection: Clock src from 96MHz PLL/2
CPU System Clock Postscaler: [OSC1/OSC2 Src: /1][96MHz PLL Src: /2]
96MHz PLL Prescaler: Divide by 5 (20MHz input)

I'm using Microchip's PICkit 2 programmer (is that going to change how I configure my bits?)

My D+ and D- wires are about 3cm long and wrapped in an anti-static shield, just in case.


Anyhoo, I appreciate any advice you can give me.

Post edited by: Capn, at: 2007/04/19 23:46<br><br>Post edited by: Capn, at: 2007/04/20 01:26
reply | quote

Re:Basic USB - Using Microchip Stack and C#.Net
Date: 2007/11/13 13:53 By: Tam Status: Visitor  
 
Verify that a capacitor is attached to your VUSB pin (try a 470nF) also make sure that the bootloader memory is write protected. When unplugging and plugging in the USB cable, voltage fluctuations can occur which send the PIC into write mode corrupting the bootloader. Let me know if this helps!
reply | quote

<< Start < Prev 11 12 13 Next > End >>
::post new topic::