USBDemo, something to learn USB a little bit


Closed Thread
Results 1 to 40 of 279

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default



    Hey, It's mister_e's thread.
    I gotta use the dancing WooHoo.

    EDIT: And if it weren't for the 40 posts per page, you'd know why we were dancing ...
    Pevious post
    <br>
    Last edited by Darrel Taylor; - 25th August 2007 at 09:53. Reason: 40 Posts/page
    DT

  2. #2
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Im in trouble again..not detecting my usb device..18F4550(compiled successfully).

    Iam using 20 mhz 22pf so i modified steve's code like this:
    __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L

    __CONFIG _CONFIG1H, _FOSC_XTPLL_XT_1H & _FCMEN_OFF_1H & _IESO_OFF_1H (updated my mplab to 7.60)

    tried :
    __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC3_PLL4_1L & _USBDIV_2_1L
    post # 44(no luck).
    and your "http://www.darreltaylor.com/files/USBDemo2_DT.txt" also but
    INCLUDE "DT_INTS-18.bas" not found error..

    waiting for your reply..

    Thank you...

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    For a 20Mhz crystal ...
    Code:
         __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
         __CONFIG    _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
    >> and your "http://www.darreltaylor.com/files/USBDemo2_DT.txt" also but
    >> INCLUDE "DT_INTS-18.bas" not found error..


    You can download the files from here ...
    http://darreltaylor.com/DT_INTS-18/home.html
    <br>
    DT

  4. #4
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=Darrel Taylor;42974]For a 20Mhz crystal ...
    Code:
         __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
         __CONFIG    _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
    Dear Darrel,
    just tried above code and demo2_dt.txt but no luck..showing "USB DEVICE NOT RECOGNISED"

    i'll send you the schematic 2morrow..plz go through it..
    using PICKIT2 V2.10 PROGRAMMER (NEED TO CHANGE ANY SETTINGS?)

    REGARDS..

  5. #5
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Dear Darrel,

    Iam happy that succeed in 18f2550 4mhz- 22pf..
    Iam still struggling for 18f4550 tried 4mhz-22pf with steves original hex (no luck)... can i have Steve's 4550 code's Schematic.i think its different from my development board..

    Thanks & Regards,

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I think Steve's original circuit was the same as the schematic at the bottom of the EasyHID page.

    http://www.mecanique.co.uk/products/usb/easyhid.html

    At least I don't remember him posting a different one.
    <br>
    DT

  7. #7
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Hi,
    schematic helped...now its working ..

    Thanks to Mister_E for making such a fantastic code..and
    Thanks to Darrel Taylor for great support..

    Best Regards..
    Naga

  8. #8
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    @Darrel,
    Hi,
    circuit becomes very slow when i enable all PORTA<5:2> inputs; i mean it responds after some delay, only when i switch on all push buttons..
    slowing down including AN<1:0> ADC results in the progress bars..otherwise perfect :-)

    Thanks&Regards.

  9. #9
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Question USB to USB PIC18F4550

    Sir:

    I'm also new to USB i was thinking if USB can't handle peer to peer does it mean we can't use newer PICS to interface to one another using USB? I 've learned that USB PICS are only capable of PERIPEHRAL mode but not HOST without any external aid like FTDI? is it possible to daisy-chain 2 or more PICS using onboard USB? I'm starting a project base on easyHID but i need some sort of external controler like hand held control with LCD's, Keypads,-etc. Are other onboard peripherals in the PIC like USART the only way to do it?,with USB already dedicated to PC interface?
    Hoping for anyone's enlightenment!!!

    Yours Trully,
    Ryan

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 08: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, 11:38
  3. Replies: 9
    Last Post: - 31st July 2008, 09:56
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 01:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 02:07

Members who have read this thread : 0

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