-----Original Message-----
From: Jeff Rosenwald <jeffr...@aol.com>
To: jeffrose <jeffr...@aol.com>; amforth-devel 
<amforth-devel@lists.sourceforge.net>
Sent: Mon, Dec 22, 2014 1:41 pm
Subject: Re: USB Serial Support for AMFORTH 4.6 on Arduino Micro


Trying again...



-----Original Message-----
From: Jeff Rosenwald <jeffr...@aol.com>
To: amforth-devel <amforth-devel@lists.sourceforge.net>
Sent: Mon, Dec 22, 2014 9:00 am
Subject: USB Serial Support for AMFORTH 4.6 on Arduino Micro


All:

I have developed a package for AMFORTH 4.6 that causes the USB engine on the 
ARDUINO Micro to enumerate as a USB ACM Communication Device (CDC 1.2 PSTN). 
The goal is to provide a USB serial port that requires no special driver 
support on any operating system. (That has not yet been achieved with Windows.)

It is however, known to enumerate and work properly on UBUNTU 10.10, 
out-of-the-box. That is without any special driver support. Throughput is about 
390K simplex and 150Kbps full-duplex. It supports the SetLineCoding, 
GetLineCoding request. Dataset signals DTR and RTS are controllable via the 
SetControlLineState command.

lsusb -v -d2431:8037 reports:

Bus 007 Device 003: ID 2431:8037 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x2431
  idProduct          0x8037
  bcdDevice            1.00
  iManufacturer           1 Arduino LLC
  iProduct                2 Arduino Micro  
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      0 None
      iInterface              0
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x01
          call management
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x06
          sends break
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)


Presently, it's pretty large. Last time I looked, free space after loading is 
1800+ cells. It requires multi-task support. AMFORTH 4.6 itself is unmodified.

I would be interested in contributing it to the cause. How do I go about doing 
that?

Regards,
Jeffrey Rosenwald 


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to