News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

usb in dos

Started by korte, September 05, 2006, 04:44:06 PM

Previous topic - Next topic

korte

How to access usb device i dos.
PCI USB controller detection ok.
Memory and register address found.

I want to send/rececie byte data to/from usb port.

My usb device simple hw converter chip usb<->rs232 (FT232R)


farrier

korte,

These are just some random links and text I have from some research I did a while ago.  The thing I was looking for was the ability to access a USB thumb drive as a regular drive letter from within DOS.  Never tried it, but some of these report success.

hth,

farrier


http://www.bootdisk.com/usb.htm
http://www.computing.net/dos/wwwboard/forum/13447.html
http://www.stefan2000.com/darkehorse/PC/DOS/Drivers/USB/
___________________________________________________________________________________________________________________________________________
    I finally got it to work!! I have the following files on my boot disk:

    himem.sys
    ramrd.sys
    usbaspi.sys
    di1000dd.sys

    And my config.sys is as follows:

    dos=high, umb
    lastdrive=z
    device=himem.sys
    device=ramfd.sys
    devicehigh=usbaspi.sys /w /v
    devicehigh=di1000dd.sys /dG

    The file just above assigns my PNY 128MB thumb drive to the G: drive, and I can then access it through DOS. I don't have anything in my autoexec.bat file (don't really need it since I'm not accessing an external cd-rom.

It is a GOOD day to code!
Some assembly required!
ASM me!
With every mistake, we must surely be learning. (George...Bush)

korte

not.
My device not disk drive. my device simple usb-rs232 physical converter.

farrier

korte,

You're welcome? ::)

Check the links I provided, some info links are there for, software giving providing information about connected devices, and drivers.  Try it.  The text was just from a .txt file I saved from a long time ago.

farrier
It is a GOOD day to code!
Some assembly required!
ASM me!
With every mistake, we must surely be learning. (George...Bush)