Hi,
Has anybody tried to make a USB project with a PIC16F chip? I'm trying to make the PIC16F1454 work with USB, but I'm getting this error from PBP3 "USBIN/USBOUT/USBINIT/USBSERVICE commands not supported for this device." This chip has USB capabilities. This error makes me think that PBP3 doesn't support USB in PIC16F chips. Any advice or comments are greatly appreciated.
The error in red comes from me trying to include the usbjadem.bas descriptor.
I'm just trying to initialize the USB with usbinit and it is not working. My basic preliminary code below.
Code:
#CONFIG
__config _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_ON & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF
__config _CONFIG2, _WRT_OFF & _CPUDIV_NOCLKDIV & _PLLEN_ENABLED & _STVREN_OFF & _LPBOR_OFF & _LVP_OFF
#ENDCONFIG
TRISA = %00000000
ANSELA = %00000000
TRISC = %00000000
ANSELC = %00000000
usbinit
Bookmarks