Is this for USB HID (your board is a device) or USB MSD (your board is a ho= st=20 connecting to a thumb drive). I guess it is the former since you also want = to=20 be able to power the board from USB.... You need VBUS, D+ and D- from the host. You also need to provide 3.3V (VDD)= to=20 VUSB. That's it. /Ruben > Been searching around but am a bit overwhelmed... > I've been working with the PIC24FJ64A for a little while, gradually makin= g > a custom PCB layout for my project; several incarnations now, keep making > silly mistakes. Anyway, I started investigating USB bootloaders with the > thought that I might need the ability for user firmware updates in the > future, and discovered that the 24FJ64A has a very closely related > brother, the 24FJ64B! Main difference being inbuilt USB. >=20 > Now I'm a fair ways from getting around to doing any bootloading stuff, > but thought I might try to swap chips now and allow room for USB on my > next PCB design, preferably changing only the location of some tracks and > adding some extra components in unused areas; I've got a cheapie > laser-cut solder stencil, so would prefer to be able to still use it, at > least until the next _major_ revision. It's almost pin for pin, I can > rearrange some tracks to other pins where required, but what I'm really > unsure of is which exact physical connections are REQUIRED for using USB > for ONLY re-writing the firmware? >=20 > I'm guessing D+ and D- are givens, but what about the likes of VUSB, > pull-ups...? Has anyone found a good diagram of what is required? >=20 > I'd like eventually to be able to upgrade firmware via USB, and also > provide power via the USB port for internal recharging (helpful thread a > few weeks back for that). >=20 > A datasheet (pins on page 6): > ww1.microchip.com/downloads/en/DeviceDoc/39881e.pdf >=20 > B datasheet (pins on page 6): > ww1.microchip.com/downloads/en/DeviceDoc/39940d.pdf >=20 > Thanks for any input > Lee >=20 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .