ya he probado conecciones, tambien he reprogramado el pic. les mando el codigo fuente del programa, para que lo chequen
#include <18F4550.h>
#device adc=8
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL3,CPUDIV1,VREGEN
#use delay(clock=48000000)
#define USB_HID_DEVICE FALSE //disabled HID
#define USB_EP1_TX_ENABLE USB_ENABLE_BULK //turn on EP1(EndPoint1) for IN bulk/interrupt transfers
#define USB_EP1_RX_ENABLE USB_ENABLE_BULK //turn on EP1(EndPoint1) for OUT bulk/interrupt transfers
#define USB_EP1_TX_SIZE 1 //size to allocate for the tx endpoint 1 buffer
#define USB_EP1_RX_SIZE 3 //size to allocate for the rx endpoint 1 buffer
#include <pic18_usb.h> //Microchip PIC18Fxx5x Hardware layer for CCS's PIC USB driver
#include <WinUSB.h> //Descriptors and USB configuration
#include <usb.c> //handles usb setup tokens and get descriptor reports
#define LEDV PIN_B6
#define LEDR PIN_B7
#define LED_ON output_high
#define LED_OFF output_low
void main() {
int8 oBuff[1];
LED_OFF(LEDV);
LED_ON(LEDR);
usb_init();
usb_task();
usb_wait_for_enumeration();
LED_OFF(LEDR);
LED_ON(LEDV);
while (TRUE)
{
oBuff[0] = 0x08;
if(usb_enumerated())
{
if (usb_kbhit(1))
{
}
}
}
}
ya tambien trate de desinstalar los driver y volverlos a instalar y nada, y estoy utilizando el mismo archivo .h del proyecto pic usb
Gracias