|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/13 17:44
|
By: Mat
|
Status: Visitor
|
|
|
|
|
|
|
|
I dont have time to check now, just heading out. But have a play around with the oscillator settings, and try a crystal. Mat
|
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/13 17:46
|
By: HeartRate
|
Status: User
|
|
|
Karma: 0  
|
|
| Posts: 3 |   | |
|
Good news! It was the oscillator settings. It now works. My settings:
 http://www.skifreakz.com/images/NEW_CFG_BITS.JPG
Thanks for your help Mat. You wrote a very helpful article and nice to see you on here supporting it.
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/13 22:37
|
By: Mat
|
Status: Admin
|
|
|
Karma: 7  
|
|
| Posts: 211 |  | |
|
Great! Well done!
Mat
|
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/18 21:36
|
By: Martin
|
Status: Visitor
|
|
|
|
|
|
|
Hi,
I am having the same problem with "USB Device not recognised"
My circuit is the same except i have not connected the LED's and i have connected MCLR & RA1 directly to Vdd
Do you think this could cause the problem?
Thanks
Martin.
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/18 22:18
|
By: Mat
|
Status: Admin
|
|
|
Karma: 7  
|
|
| Posts: 211 |  | |
|
Hi Martin the first thing to check is the config bits, try fiddling with the oscillator settings.
Let me know how it goes,Mat
|
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/18 23:20
|
By: Martin
|
Status: Visitor
|
|
|
|
|
|
|
Hi,
Well i'm using a 20mhz Crystal on a 18F4550 with usb bus power, i've tried both sets of settings mentioned here and no luck, any other ideas?
Thanks
Martin.
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/19 08:01
|
By: Mat
|
Status: Admin
|
|
|
Karma: 7  
|
|
| Posts: 211 |  | |
|
Have a look in the usb forum, there are one or two other suggestions there if you have not found them already. Mat
|
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/19 14:03
|
By: Martin
|
Status: Visitor
|
|
|
|
|
|
|
Hi Mat,
Great i got it working!!!!
Thanks for help, i can see myself using this site a lot, i am doing a great deal of USB development over the coming months, so hopefully i can help contribute a lot, i am also going to be using SPI so once i've got to grips with that it will be great 
Thanks again.
Great articles
|
|
|
|
|
Re:Basic USB - Using Microchip Stack and C#.Net
|
|
Date: 2006/07/19 15:06
|
By: Mat
|
Status: Admin
|
|
|
Karma: 7  
|
|
| Posts: 211 |  | |
|
|
What was wrong in the end? Yeah stick around the site, anything you can contribute would be very welcome. If you need a have with SPI just shout, Mat
|
|
|
|
|
|
Works in #develop too :)
|
|
Date: 2006/07/31 11:45
|
By: Dave
|
Status: Visitor
|
|
|
|
|
|
|
Matt,
Very helpful article. Thanks. Note that #develop (www.sharpdevelop.com) makes for a free open source development environment for C#. I found it made a good environment for your code.
Dave
|
|
|
|
|
Re:Works in #develop too :)
|
|
Date: 2006/08/01 12:01
|
By: Mat
|
Status: Admin
|
|
|
Karma: 7  
|
|
| Posts: 211 |  | |
|
Dave, I've heard about sharpdevelop before but never had a need to use it, due to having access to C#.NET, glad to know it works though. If you want another alternative free dev enviroment try C#.NET express from microsoft, works a treat with the code also.
Mat
|
|
|
|