oh2aun/flashforth

Sources for USB code for PIC18F2550

Closed this issue · 5 comments

Hello,

I'm trying FlashForth 5.0 on a PIC18F2550 in USB mode. When I connect the device to a windows machine, I see the device appear as COM5 in the device manager. However, windows flags an error ("This device cannot start (Code 10)").

Looking through the sources for some clues, I find that much of the USB code is in the precompiled FF_USB_18F2550.lib library.

I would like to try and recompile the USB library using Microchip's latest USB library sources, so that I could debug USB problems. However, the git repository doesn't seem to contain any files with the USB CDC endpoint descriptors etc. Where are the sources where the USB descriptors are declared? How do I recompile this library?

Thank you.

I guessed as much. I was hoping that some parts of it (e.g. the parts where you initialize the USB descriptors for USB CDC functions, the USB callbacks etc.) were written by you (i.e. not copyrighted) and could be made available, so that one could rebuild everything by putting them together with the latest MLA libraries from Microchip. Oh well..

Ok, I'll wait till the issue is fixed. Thanks for responding :-)