CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Problem with WinXP USB CDC w/CCS USB-Serial drivers

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

Problem with WinXP USB CDC w/CCS USB-Serial drivers
PostPosted: Wed Jan 23, 2008 2:58 pm     Reply with quote

Ok, I had this working once upon a time...

Since I can't get my normal app to work, I backpedaled to ex_usb_serial2.c
and it has the same problem.

Windows Enumerates the device. I can connect via hyperterm no problem.

Printing more than a few lines of information cause the PIC to re-enumerate causing hyperterminal to no longer function...

I must:

Exit hyperterm
re-plug the PIC board (so it can re-enumerate again)
restart hyperterm


And watch it happen over again.

I'm doing this on a PIC18F2550 on an meLabs USB protoboard and both my code and the example worked with previous versions of PCH (I'm now using PCHWD).

-Ben

p.s. I tried this on Fedora Core 8 and have the same problems. (using minicom instead)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 23, 2008 3:03 pm     Reply with quote

Quote:
both my code and the example worked with previous versions of PCH

Use a file comparison utility on the source files for each version of PCH.
See if there's a difference in the new version that breaks your application.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed Jan 23, 2008 3:10 pm     Reply with quote

PCM programmer wrote:

Use a file comparison utility on the source files for each version of PCH.
See if there's a difference in the new version that breaks your application.


I was afraid someone would say that. :|

Yay - time to go look for the needle in the haystack.

I don't know how long ago this broke.. maybe last year sometime... how many versions have there been since then?

(snicker).

Yay me.

-Ben
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group