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

PC>-USB->PIC

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



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

PC>-USB->PIC
PostPosted: Mon Jul 30, 2012 1:03 pm     Reply with quote

Does anyone knows some program which can help me with the test of my USB microcontroller project. Some simple interface program for my PC to send and receive usb data packages, also it should be able to display the data being transferred.
temtronic



Joined: 01 Jul 2010
Posts: 9226
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Jul 30, 2012 1:48 pm     Reply with quote

Simple ?
It all depends on your level of programming expertise,scope of the project and available time you have.

You could use 'realterm' or some other terminal program. Free, easy to use, though if it's suitable I can't tell. I do know it works though.

You an use Delphi to cut your own 'simple interface',fairly easy to program and understands USB ports. I use it for the more 'complicated' stuff.

Not knowing your details, like amount and type of data (few bytes,mix of strings and floating point,hex,ASCII,etc.?) it is very,very hard to guide you. I do know the two solutions above work for me on a regular basis.

hth
jay



++++++++++++++++++
Temtronic,
Please try to answer OP's specific question
instead of providing generalized answers.
Please offer a specific answer or don't reply.

- Forum Moderator
++++++++++++++++++
Ttelmah



Joined: 11 Mar 2010
Posts: 19513

View user's profile Send private message

PostPosted: Mon Jul 30, 2012 3:08 pm     Reply with quote

Er. But his question _is_ general.

He hasn't even specified what sort of USB device is involved?. CDC etc..
The answers will be different for each, but most (except CDC), will involve writing custom code to do anything significant.

Best Wishes
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

PostPosted: Mon Jul 30, 2012 3:33 pm     Reply with quote

My project herehttp://www.ccsinfo.com/forum/viewtopic.php?t=43374

Even though the project is for controlling a GLCD the cmdline version of the PC software has code that is as simple as it can be for using libusb-win32 and VS2010 C++ express edition that I hoped one could understand enough to be adapted by them for their own needs.

The newest version I have now uses a GUI and runs a Lua script to change what it does no need to recompile the PC program each time you want to make a change. It can also do gfx now even though I don't use it. Some day I will update the git. Getting off topic here.

Yes we do need more info about your project rikotech8

I wonders if forum Moderator will slap me around for this post.
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

PostPosted: Tue Jul 31, 2012 3:44 am     Reply with quote

I understand that you need more information, but I think I found my answer. I realy want to make my own software interface like temtronic said. temtronic can you give me some helpful links about Delphi.
Thank you all guys!
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