MyUSB demo and .inf

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

I've been trying to make the USBtoSerial demo of MyUSB work.
Whatever I've done,
installing the .inf file doesn't do anything useful anymore.
How do I fix this mess?

According to the Device manager, what I have is:
under Human Interface Device, 2 USB Human Interface Devices
under Jungo, AVRISP mkII
under Other devices, 2 misconfigured MyUSR USB-RS232 Demo
under Ports (COM & LPT), Communications Port(COM1) and
ECP Printer Port (LPT1)
under Universal Serial Bus contrlllers,
Generic USB Hub, 7 Intel(R) ICH8 Family Universal Host controllers with different numbers,
USB Composite Device and 7 USB Root Hubs

BTW killing Flip with the task manager won't crash Windows XP on my box.
YMMV.

"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods

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

skeeve wrote:
BTW killing Flip with the task manager won't crash Windows XP on my box.
YMMV.
Alas, my mileage sometimes varies also.
The second to last time I tried it, it did crash XP.

"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods

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

I should have mentioned that both green LEDs light on the At90USBKey.

"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods

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

skeeve wrote:
I should have mentioned that both green LEDs light on the At90USBKey.
I can run the CDC demo.
Under Ports (COM & LPT), I had USB Virtual Serial Port (COM5).
It went away when I put the board back in bootloader mode.

"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods

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

Hi Skeeve,

Witch release of MyUsb do you have? I had the same problems with the 1.3.0 release version
Please read Dean his blog; http://fourwalledcubicle.com/blog/
On march 9e he has the answer for your problem.

Quote:

In MyUSB/Demos/USBtoSerial/Descriptors.c, change the value of the class attribute of DeviceDescriptor (first structure in the file) from the value 0x00 to 0x02. This declares the device correctly as being a CDC class device, and allows Windows to use its own drivers for it (once helped along by the INF file located in the USBtoSerial directory).

And then the driver will instal, but the demo is still not working. to get it working please read this thread; https://www.avrfreaks.net/index.p...

or wait a few days until 1.3.1 will be released.

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

Try the 1.3.1 INTERNAL code located here:

http://www.fourwalledcubicle.com...

It should fix your USBtoSerial issues. Let me know if you find any other issues.

EDIT: Edje11, the U2S demo is broken on the 162 and 82 only, due to the endpoint limitations of those devices. The OP's using a USBKEY, and so it should work fine.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

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

abcminiuser wrote:
Try the 1.3.1 INTERNAL code located here:

http://www.fourwalledcubicle.com...

It should fix your USBtoSerial issues. Let me know if you find any other issues.

EDIT: Edje11, the U2S demo is broken on the 162 and 82 only, due to the endpoint limitations of those devices. The OP's using a USBKEY, and so it should work fine.

I got the lights to turn green, both with 1.3.1 and with the change suggested by Edje11.
I can't open the port either with python or with Bray's terminal.
I tell them 9600 baud, one stop bit, no parity and 8 data bits,
all according to USBtoSerial.c .

EDIT:
When I finally get it running, does the virtual serial port
have the same limits as a real RS232 port, e.g. 20Kbaud?
Does it matter what parameters I specify
when I open the port on the host?

"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods