Dymtra
Newbie level 6
Hi, i'm trying to send and receive data from one pc to another via USB, i'm using two PIC's 18F4550 and VC++.
The problem is that it only works once in each pic, what i mean is that i can send from pc and receive in the other one, and do the same in the other PC, but after this i only receive an " í " with the two pics.
I don't know if this is due to a data overflow in the pic or in the PC's. In the case of the pic i'm using the CCS compiler and the usb_hw_layer.h, and i'm using the functions usb_get_packet and usb_put_packet, and it mentions that when you use this you don't have to use usb_flush_in or usb_flush_out.
What could be the problem?
The problem is that it only works once in each pic, what i mean is that i can send from pc and receive in the other one, and do the same in the other PC, but after this i only receive an " í " with the two pics.
I don't know if this is due to a data overflow in the pic or in the PC's. In the case of the pic i'm using the CCS compiler and the usb_hw_layer.h, and i'm using the functions usb_get_packet and usb_put_packet, and it mentions that when you use this you don't have to use usb_flush_in or usb_flush_out.
What could be the problem?