USBDemo, something to learn USB a little bit


Closed Thread
Results 1 to 40 of 279

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    ...well looking back it appears you can use a 4mhz. I used a 20mhz crystal when I was able to get it working.

    Do you have a schematic.
    Last edited by UnaKRon; - 19th November 2012 at 14:53.

  2. #2
    Join Date
    Dec 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    Name:  4550.jpg
Views: 8315
Size:  173.6 KB

    this is my scheme. i tried it using 20MHZ and 15pF caps. what is wrong with it?

  3. #3
    Join Date
    Jun 2008
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    First thing I do when I'm having trouble is either hook up some Status LEDs or a Serial output to debug the pic. I've had trouble with a program or two..and more than once something was causing a reset. Do you have a compiler so you can add in some debugging code?

    I believe i did 22pf with my 20mhz...which is more than required by the datasheet. :/ I'm not seeing anything right off :/
    Have you verified the usb cable is providing power and works with another device?

  4. #4
    Join Date
    Dec 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    i use pic programmer's usb cable. cable works. can anyone send me a simple pcb layout of a working usb project and hex file. i want to improve myself about pic and usb but i couldn't get result for weeks. thanks

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    How do you dump the .hex file into your PIC, i mean how do you program your PIC?

    Are you sure your device programmer software program the configuration fuses properly?

    Those .HEX files providen here are there since 6 years or so, they're working.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit


  7. #7
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default Re: USBDemo, something to learn USB a little bit

    Hello Steve and Darrel,

    You mangy old farts, how are you all doing? Looks like all as been well for both of you. Its been a while since we have chatted.

    PIC's working ok? Haven't done any programming for a number of years on those chips. I probably should get back into them.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. How to receive stream of bytes using PIC USART
    By unifoxz in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 20th June 2009, 10:38
  3. Replies: 9
    Last Post: - 31st July 2008, 08:56
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts