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

    Ha Ha Ha
    That's funny.

    Very close,
    but no cigar.

    should be...
    Code:
       ; __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L 
       ; __CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H 
       ; __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H 
       ; __CONFIG _CONFIG3H, _PBADEN_OFF_3H 
       ; __CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
    DT

  2. #2
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by Darrel Taylor View Post
    Ha Ha Ha
    That's funny.

    Very close,
    but no cigar.

    should be...
    Code:
       ; __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L 
       ; __CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H 
       ; __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H 
       ; __CONFIG _CONFIG3H, _PBADEN_OFF_3H 
       ; __CONFIG _CONFIG4L, _LVP_OFF_4L & _XINST_OFF_4L
    Opearation Success...

    Thank you again, and i look forward to your continued support.

  3. #3
    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

  4. #4
    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...

  5. #5
    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

  6. #6
    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..

  7. #7
    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,

  8. #8
    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

  9. #9
    Join Date
    Jun 2005
    Location
    Penang
    Posts
    40


    Did you find this post helpful? Yes | No

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

    Hello All,

    I'm new in USB.Althought i have tried all the steps necessary steps in order to compile the USB CDC source,i'm not succeeding in doing so.The errors are this :

    Name:  Captureerr.JPG
Views: 9506
Size:  41.0 KB

    What could be the problem?

    Waiting for help

    Regards.

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


    Did you find this post helpful? Yes | No

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

    Quote Originally Posted by NatureTech View Post
    What could be the problem?
    It could be that you are using PBP version 2.46 - 2.50C with MPLAB greater than 8.15a

    Either upgrade PBP, or downgrade MPLAB.

    If you have upgraded PBP, use the new USB files from the USB18 folder.
    DT

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 : 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