PC-usb-PIC problem...


Results 1 to 5 of 5

Threaded View

  1. #1

    Default PC-usb-PIC problem...

    Hello

    I have quit a strange problem I can't solve
    Please take a look at the attached files.

    One is the interface running on my PC the second the PIC 4550 pbp code. The origins are outcomes from easyHID.

    All works quit well now when line 45 in pbp code is commented. When things are as you can see them now you can see the same number in the second window (x2=) as in the upper one that is sent to PIC to by pressing Send. You can also see the portA.2 toggle on each Send press. Nothing wrong now.

    But what if you uncomment line 45 and assign 77 to USBBuffer[1], you could expect to see 77 in the second textbox. But that is not the case. You will still see the same number that is in the upper textbox and you can see portA toggle on each Send press. It seems that PIC ignores the uncommented line 45.

    How can this be explained?????
    Can you explain this?
    Please do, if you can

    Please help.......

    I'm using XP and pbp 2.50b (and portB.5 is connected to USB+5V, so we wait there and see the toggling before the USB cable is connected)
    Attached Images Attached Images  
    Attached Files Attached Files

Similar Threads

  1. Reading a slave USB with a pic
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th October 2008, 12:00
  2. Forward Serial Data from pic to pc
    By Muller in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd September 2008, 21:46
  3. PIC to PIC communication problem
    By precision in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st June 2007, 03:51
  4. PIC to USB
    By Christopher4187 in forum General
    Replies: 5
    Last Post: - 26th February 2006, 13:08
  5. PC - PIC problem...
    By menhwa in forum Serial
    Replies: 2
    Last Post: - 20th February 2006, 19:57

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