Hallo again, I'm working on a small project in where I am building a small device(for sampling ADC) and a windows application(for viewing samples and stuff). But at the moment I'm looking for help.
The device is a small PIC18F24J50, a MCP1802 (3.3V) LDO and some other components(crystal,resistor,capacitor). Hopefully it will be powered by the USB when its done.
Problem: At the moment I'm having problems making the USB work in proteus. (I'm using mikroC PRO for Pic 6.0.0 and proteus 7.10 (but think its with some 7.11 stuff attached..))
The simulation log shows some messages, among other these:
[PIC18 USB] PC=0x167A. SETUP when BD is not owned by SIR
[PIC18 USB] PC=0x167A. SETUP when BD is not owned by SIR
[PIC18 USB] PC=0x167A. SETUP when BD is not owned by SIR
USB device initialization failed.
The simulation also crashes sometimes...... not sure what that is about.
I've looked for a solution, but found none.
So I'll attach some code and schematics now.
And hope that a solution will be found.
Hope thats enough info.. Thanks