what is the wrong in this ??


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    8

    Default

    Hello Mr.e

    thank you for your advice, but I still have some questions, and here it is ...

    1. I want the HID I/O device schema (using 18F2550).
    2. when I extract USBdemo.zip I'll have two folders (PICBasicPRO and VisualBASIC) in PICBasicPRO there is these files :


    so which file I use to program the PIC 18F2550, and what shall I do with the others'.

    thank you so much.
    Attached Images Attached Images  

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

    Default

    At the very first post of USBDemo, i send you to POST #99, which have the whole schematic in a pdf

    http://www.picbasic.co.uk/forum/show...8&postcount=99

    USBDemo_2550.pbp is the source code. When you compile it, it generate a USBDemo_2550.HEX file, this one will be use to dump in your PIC.
    Last edited by mister_e; - 6th November 2008 at 16:44.
    Steve

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

  3. #3
    Join Date
    Nov 2008
    Posts
    8

    Default

    another question ...

    I opened (USBdemo_2550.asm) I saw a line that confused me and this is it ...

    Code:
    INCLUDE	"C:\PBP\18F2550.INC"
    to make the device work probably do I need PBP installed on my PC?

    if I need PBP installed on my PC, what can I do when I don't have it?

    can any one supply me with these files :

    18F2550.INC , PBPPIC18.RAM , PBPUSB18.LIB

    and what about (USB18.inc).

    thank u Mr.e for your patient and for your helping me thanks alot.

    _____________
    anas

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default

    Quote Originally Posted by alwindawee View Post
    another question ...

    I opened (USBdemo_2550.asm) I saw a line that confused me and this is it ...

    Code:
    INCLUDE	"C:\PBP\18F2550.INC"
    to make the device work probably do I need PBP installed on my PC?

    if I need PBP installed on my PC, what can I do when I don't have it?

    can any one supply me with these files :

    18F2550.INC , PBPPIC18.RAM , PBPUSB18.LIB

    and what about (USB18.inc).

    thank u Mr.e for your patient and for your helping me thanks alot.

    _____________
    anas
    Yes, you need PBP. What is your general location and someone can point you to a dealer or buy direct from http://www.melabs.com/

    With out PBP you can use assembler or C, But the routine you are trying to do will need a re-write.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2008
    Posts
    8

    Default

    Quote Originally Posted by mackrackit View Post
    With out PBP you can use assembler or C, But the routine you are trying to do will need a re-write.
    what do u mean with (I can use assembler)?
    do u mean I can use assembler to write the routine?

    I don't konw any thing about the routine, so how I can write it ?!!

    I'm so confused ... please help me.

    ___________
    anas

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

    Default

    USBDemo, and this forum, use PBP, there's no big chance to make it work unless you don't have PBP.

    If you don't have PBP, you'll have to purchase it to work with my USBDemo.
    Steve

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

  7. #7
    Join Date
    Nov 2008
    Posts
    8

    Default I found PBP so let us contiue

    Hi Mr.e ...

    I have PBP now so let us continue the work.

    what the next step after installing PBP.


    thanks alot.

Similar Threads

  1. LCD Showes Some Wrong Letters
    By sbobowski in forum General
    Replies: 2
    Last Post: - 23rd September 2008, 19:15
  2. Anyone know whats wrong with this code
    By Bonxy in forum Serial
    Replies: 10
    Last Post: - 9th March 2007, 16:29
  3. ADCIN - AD settings are wrong
    By teverett in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th December 2006, 16:32
  4. What am I doing wrong?
    By mankan in forum General
    Replies: 1
    Last Post: - 23rd June 2006, 19:03
  5. HDD IDE ATA 2 interface problems. code wrong?
    By rastan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th March 2005, 16:01

Members who have read this thread : 0

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

Posting Permissions

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