View previous topic :: View next topic |
Author |
Message |
rikotech8
Joined: 10 Dec 2011 Posts: 376 Location: Sofiq,Bulgariq
|
PC>-USB->PIC |
Posted: Mon Jul 30, 2012 1:03 pm |
|
|
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: 9241 Location: Greensville,Ontario
|
|
Posted: Mon Jul 30, 2012 1:48 pm |
|
|
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: 19537
|
|
Posted: Mon Jul 30, 2012 3:08 pm |
|
|
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
|
|
Posted: Mon Jul 30, 2012 3:33 pm |
|
|
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
|
|
Posted: Tue Jul 31, 2012 3:44 am |
|
|
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! |
|
|
|