Drazen said:
Thank you for your soon reply, I would ask you other questions to best
understand.
Then you confirm that I can directly drive the USB motherboard chipset
bypassing tha USB protocol ?
Why you tell me that USB is a complex beast if I want to completely bypass
the USB protocol ?
Maybe you intend that is difficult to bypass Windows and take a direct
control of the chipset ?
I want to create a device that can be readed by my own controller and by a
PC but I search for a simplified way instead of developing USB protocol. I
don't want to use RS232 because is obsolete and it will quickly disappear
from PC. I wish to use USB port like a serial port using a personalized my
own protocol.
I know that this kind of device will not fit USB standards but is not a
problem. Any PC will use the dedicated USB port only for my device.
Do you have any other suggestion on how to solve this problem ? Also other
kind of suggetion are welcome
!
Regards.
Drazen.
The problem you will have, is that to drive the chipset at the lowest level,
the addresses, instructions etc., needed, will change for different makes of
chipset. The only way I can think of being able to do this, and retain
compatibility on different boards, is to add a third party USB card, and
ensure that you are going to be able to source it for the lifetime of the
project. You can then deal with a single chipset, and write a driver to
operate this.
You are going to need to implement a fairly sophisticated protocol yourself
to do even a basic link, and you will have to cope with the situation of
other people attaching devices that are not the ones you expect.
I'd rate the development 'time', as possibly in the order of perhaps 6 'man
months', to code something to work for a single chipset. Seriously, you'd be
far better off, using an existing USB stack and driver (perhaps XP embedded
as an OS), and then just attaching your device using a USB-RS232 adapter
chipset (like the modules from FTDI). This could be operational in a few
days, and will give less problems, when in a few months time, a revision is
made to the USB chipset silicon, and the drivers need to be re-written...
Best Wishes