Hi, I'm for a couple of days trying to make my USB project with several Internet examples like PicUSB from J1M and I have always the same problem. When I try the hex file with these examples in Proteus it works fine but when I compile the project myself it doesn't work.
Finally I tried this example ex_usb_serial.c from CCS with PCWHD 4.093 and Proteus 7.4 SP3 for simulation. I took the c file and copied it to a new folder and make a new project with this file, changed __USB_PIC_EXPLORER16__ to 0 then compiled. I try the hex and COF file and it doesn't work. I make a copy of the result with the virtual terminal to see where it stops here.
All three leds are ON but I see the program step by step and he turns it off but the simulator don't do it!!!
The circuit is here.
Please help!!!
I try a lot of usb_cdc.h and other libraries changes and it's still not working.
What could it be??? Could it be a change in the library of new 4 CCS version??
Sorry for my spanglish
I've forget, here i put the compiler output with some warnings and fuses...
Thanks
jmorfeos
Joined: 01 Sep 2009 Posts: 2
USB testing ex_usb_serial.c with Proteus
Posted: Fri Oct 02, 2009 8:13 am
I made a test with CCS version 3.249 and it works fine!!! What could be the diferrence between versions??? Please somebody Help !!!!
gmua
Joined: 07 Feb 2011 Posts: 11
Re: USB testing ex_usb_serial.c with Proteus
Posted: Mon Feb 07, 2011 5:06 pm
jmorfeos wrote:
I made a test with CCS version 3.249 and it works fine!!! What could be the diferrence between versions??? Please somebody Help !!!!
Sorry to bring up an old post, but, Did you ever get it to work with version 4.093? I am using version 4.106 and it doesn't work either.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum