|
Hai..
I want to send data through USB port as we can do for a serial port.
Can any one help me in doing so.
Sample codes will be more useful.
I want some stuff regarding the usb host controller driver in a PC and how can we communicate with it as any usb device driver does.
Thanks in advance
Regards
vijay
|
|
|
|
|
There is no generic solution to your problem. Try contacting the device manufacturer and see if they offer an SDK.
There also are USB-to-Serial devices which bring their own drivers.
If you want to build your own device, look into the USBWarrior-IC-series, they offer some great deals and include an SDK and example code with their delivery. There are even pre-manufactured PCBs that you can use to control common "modding"-items like LCD-displays.
You NEED the driver for the device AND access to some kind of source that enables you to compile driver access into your program.
But then, you know that. You have asked the same (slightly reworded) question for several days now, about a zillion times!
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Thanks...Sebastian
Previously i went in a wrong direction so only i asked in different way.
Now i want to develop my own device driver to write data to the pendrive.
So could you help me how to develop the driver..
Thanks
Regards
vijay
|
|
|
|
|
Device drivers are way more complicated to write than user mode code. CP doesn't have a forum for that. You'll need the WDK (Windows Driver Kit) from Microsoft. You may be able to use the new UMDF (User Mode Driver Framework) - it supports some USB stuff but I don't know what specifically since I've never done USB.
Good beginner documentation and tutorials on driver development are just about impossible to find. It's a common question and the answer is always "sorry, doesn't exist." Get the WDK, read through the introductory sections and pour through the samples.
It isn't easy, it takes much much longer than user-mode code to develop and test, and it takes a lot of work trying different things until you understand the "why" of working code.
What are you trying to accomplish that using an existing file system does not work on your pen drive? You've never given anyone a good answer to this question. We might be able to suggest an easier way than writing your own driver / file system.
Judy
|
|
|
|
|
As Judy already said: Writing a device driver is hard work and you will have to find out most of it yourself or from any available MS documentation.
Actually, I remember having seen one driver or so here on CP, but I am neither sure, nor could I give you an URL. Try searching for DDK, WDK and "driver" in any articles.
I still would caution you against reinventing the wheel. If you just want to use an USB pendrive to store data, use the existing driver. If you want to encrypt data, encrypt the files, not the drive, or use third-party software (TrueCrypt, SafeBoot, etc.) to do it.
However, if you just want to be able to say "I wrote a driver for USB PenDrive X", go ahead, but be aware that only a few select CPians have ever written drivers, or so I heard.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Hi All
My friend need basic electronics interview questions .............
Can anybody give me URLS where he can find some good sort of questions
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
sandeep akhare wrote: My friend need basic electronics interview questions .............
Can anybody give me URLS where he can find some good sort of questions
Did you google search 'Electronics interview questions' Sandeep ?
This web site might be what you are looking for:
LINK:
http://www.hitequest.com/Hardware/El_hardware.htm[^]
If it isn't any help google search (or use your favourite search engine)
'Electronics interview questions'
Hope this helps!!!
|
|
|
|
|
Thanks for reply
Ya after searching on web i posted in the forum as i am getting same web pages in google for query string related to Electronics Interview Question
i want some downloadable so that it will be easy instead of one question per page
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Are they the write sort of questions you want?
sandeep akhare wrote: i want some downloadable so that it will be easy instead of one question per page
A downloadable program or downloadable 'electronics interview questions'?
|
|
|
|
|
|
how many file system are available for usb flash drive.list it.
|
|
|
|
|
All of them?
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
|
Depending on the O/S using it, every file system currently in existance.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Do your own homework!
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
Dear all,
Now I have a small program written by Borland C++ 3.1 for Win 16 bits, the function of this program is sent data from external PC Win 98 to another PC that run on Win 95. In fact this program run properly on Win 98, but when I run it on Win Xp thus it always be fault. Anybody please explain to me what is wrong and why it can not run on Win XP. If I want to run this program on Win Xp what I should do?
|
|
|
|
|
It's impossible to say whats wrong without knowing anything about the app or what the error messages are.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Please show me how to post file and imageto Message text? Thank you
|
|
|
|
|
You can't. You can't post a file, but you can post a link to the file uploaded somewhere else.
But, if anyone has a brain in their head, they won't download code they don't trust, and run it.
Like I asked before, got an error message?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I my VC++ program I call a small program written by Borland C++3.1 names: robot0.exe but this program functions to send data from PC to robot controller Win 95 operating system via COM port. However when it is called an error indicates in message box immediately.
16 Bits MS-DOS Subsytem
D:\WINDOWS\system32\cmd.exe
The system cannot open COM1 port requested by the application. Choose "Close" to terminate the application.
I kindly recieve any suggestion form you. many thank for your reply
|
|
|
|
|
It's possible your machine doesn't have a COM1. Look in Device Manager, under the Ports section. Make sure the Communications Port is labeled (COM1). Or the port is already open by another process, like a modem DialUp connection, or some other piece of software talking to the controller.
You can't have two processes using the same COM port at the same time.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
You need to investigate into the Compatibility tab.
|
|
|
|
|
how to make read only usb drive to writable one
|
|
|
|
|
That would depend entirely on what made it "read only" in the first place.
One one of my thumb drives, there's a small, two position switch that makes it ReadOnly.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i am having usb which is paritioned as readonly. now i have to write files into it. how to do this?
|
|
|
|