USB: confused idea!

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
I must write in USB key!
I have found some example and documentation...Igor project and doc7631(mass storage) or doc7602(keyboard) but never project in "side PC". :?:
In my project I must write my measure on key usb.
Some help/example or explanation? :oops:
Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Uh... i think you want to write to a usb drive.

Check out the new "Vinculum host controller chip" from FTDI

Link: http://www.vinculum.com/prd_vnc1...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The new usb megas will write to flash memory devices ie usb mem sticks. As the have On The Go function.

Keep it simple it will not bite as hard

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you have the USBKEY ( at90usb1287 ) and want the code that runs on the PC to interface to the USBKEY then you will have to roll your own . It was created in Labview I think .

Pete

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If anybody is talking about USB, I Guess few companies can be named: Cypress (Best), Philips, NEC.
these are for high-speed OTG, others are AP7000 AVR32
, which has a High-Speed USB onboard and AT91SAM.
these are what I'd use.

Good Luck
Nasser

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks a lot!
Another question ...the last :wink:

If I use micro Atmel with USB (example at90usb1287)or other.
If I write in my specification ID Vendor: "Generic USB" or any other device that windows already know, when I insert my device, windows will dialog to device and it insert in "new hardware" device my project!
First question: it's correctly?!

Second question: if this correctly now I think to make a small application similar at Hyper Teminal but...where is a object? I have look at VB.NET, Borland VC++, C++ but there isn't anything?! Why? Nobody have this necessity?

Thansk a lot!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When windows shows a dialog-box mean ur device is
functioning normally.

Unfortunately, USB is not like RS232 or hyperterminal.
USB is a bus, and U need to write a device-drive and
fairly enough windows kernel and Driver programming
experience.

Good Luck
Nasser

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm not sure exactly what you are asking.

Do you have to create a Windows program that can communicate with a USB device that you have constructed??

Maybe you could reverse engineer one of the atmega8 projects that handle USB entirely in firmware on the processor. Just modify the code to do what you need. Then create a simple terminal app for the PC to communicate with the project.

http://www.google.com/search?num...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Gwen:

I've never heard, but if u have such program,
try it. By the way, u can use FTDI chips. They connect
to USB and convert it to RS232 or parallel port on
ur board, and their driver is available from the FTDI
site, which is free. That way, u can work with it like
it's RS232 or Parallel Port.

Good Luck
Nasser

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel provides ready dll library with implemented all needed function to establish communication between AT90USB and PC. There are functions such as findHidDevice, readData, writeData etc.