Content originally posted in LPCWare by Linas on Fri Feb 08 08:01:28 MST 2013
Hi,
What do you mean program via USB? Rewrite main program?
If you want to connect your device to PC. Then you should use Device drivers for your LPC. There are examples
with USB bootloader.
If you want to connect something to your USB (LPC1766), then you will need to set LPC1766 as USB Host.
So, switching between Host and device mode is possible. There should be pin on the MCU, which could be controlled
with external switch (switch between Host and Device mode).
Linas