Well, I managed to make it all work... possibly partially but so far so good!
I can send and receive 32 bytes packets. However as you said I may have not modofied everything which makes TX_Ready and RX_Ready non functional. However they are tied to USB registers and should not be dependent to endpoints if my understanding of the datasheet was correct...
I'm pasting here part of the main code that I used:
Code:INCLUDE "cdc_desc.bas" INCLUDE "EEPROM_detect.pbp" '******************************************************* 'Init the interrupt handling system '******************************************************* INCLUDE "DT_INTS-18.bas" ; Base Interrupt System INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts ASM INT_LIST macro ; IntSource, Label, Type, ResetFlag? INT_Handler USB_INT, _DoUSBSERVICE, PBP, yes INT_Handler TMR1_INT, _TempCheck, PBP, Yes INT_Handler INT0_INT, _USBAttached, PBP, Yes endm INT_CREATE ; Creates the Low Priority interrupt processor ENDASM INCLUDE "USB_ASM_Service.pbp"





Bookmarks