I browsed the forum on this topic but still...
Is there a working GCB code example available for the 18F14K50 chip with USB support?
What is the bare-minimum circuit for this to work?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
just a personal opinion... unless you really need the smaller package you're a LOT better off using an 18F2xK50 or 18F45K50.
The 1xK50 has the PGC/PGD programming pins shared with USB D+/D-, and this causes all sorts of issues while you're trying to do any development. The pins are only rated for 3V3 (not 5V), and you can't attach the programmer while it's connected to a USB host, otherwise it can damage things. Also, forget about doing any hardware debugging while using USB.
In the past I used these 28pins and 40pins chips with PBP but not the 20pins 18F14K50 because of the smaller package I was interested for testing purposes like simple data loggers to USB.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I browsed the forum on this topic but still...
Is there a working GCB code example available for the 18F14K50 chip with USB support?
What is the bare-minimum circuit for this to work?
No problem. Check the USB demos- there are K50 demos https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/USB_Solutions/GreatCowBASIC_Solutions/LIBWINUSB_Solutions
just a personal opinion... unless you really need the smaller package you're a LOT better off using an 18F2xK50 or 18F45K50.
The 1xK50 has the PGC/PGD programming pins shared with USB D+/D-, and this causes all sorts of issues while you're trying to do any development. The pins are only rated for 3V3 (not 5V), and you can't attach the programmer while it's connected to a USB host, otherwise it can damage things. Also, forget about doing any hardware debugging while using USB.
Working with it is a real PITA.
You might want to review the programming spec document for some of the oddities before committing to using it. https://ww1.microchip.com/downloads/en/DeviceDoc/41342E.pdf
Last edit: Jerry Messina 2023-11-14
In the past I used these 28pins and 40pins chips with PBP but not the 20pins 18F14K50 because of the smaller package I was interested for testing purposes like simple data loggers to USB.