07-12-2011 02:04 PM
hi, people. I'm having some problems with the VISA write module by USB-HID.
I'm been able of receive data from the pic by hid-interrupt, using VISA's particular event, but i cannot send data out (pc-pic); it just get stuck when i asked for it.
i don't know if it is a sync problem between the device and the pc -issue that i have had with USB BULK-, or just bad programming.
particularly i'm using a modified version of the HID MOUSE EXAMPLE SIMPLE, and a pic18f4550.
the structure of the pic firmware is something like this:
if some external event then send data.
then, see if there are some data out pending.
if not, repeat loop.
everything using the same endpoint nº1.
thanks a lot for the help.
08-15-2011 09:36 AM
08-15-2011 05:34 PM
thanks a lot, ill give it a try,
08-16-2011 08:10 AM
Please, let me know if that work!
Regards