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)
Bookmarks