Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Jul 2008 02:22 PM by  durian
USB OTG peripheral mode - anyone got it working?
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
durian
New Member
New Member
Posts:


--
02 Jul 2008 02:22 PM
    Hi, I have a MX27 Lite Kit and I cannot get USB OTG to work in peripheral mode. We are not required to work in host mode.
    So far when I connect the Lite Kit to my Linux FC5 laptop, the PC does not detect it.

    Can someone take a look at my config below to see if I am missing something?

    Also the Lite Kit uses the SMSC USB3311 transceriver chip. Does anyone have the programming manual? I only have the Data Brief. I am not sure how different it is from the Philips 1504 chip, which the MX27ADS board uses. If anyone knows much about the differences between these 2 chips in terms of programming, can you advise?

    Sorry I am posting a MX27 question on the MX31 forum. The MX27 forum does not have much activities.

    Thanks a million!

    Linux version 2.6.21_mobilinux500 (dchou@localhost) (gcc version 4.2.0 (MontaVis
    ta 4.2.0-16.0.10.0704549 2007-12-02)) #1 PREEMPT Tue Jul 1 16:46:13 PDT 2008
    CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
    Machine: Freescale i.MX27ADS
    Memory policy: ECC disabled, Data cache writeback
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    Built 1 zonelists. Total pages: 32512
    Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot=192.1
    68.0.105:/opt/montavista/mobilinux/devkit/arm/v5t_le/target init=/linuxrc ip=192
    .168.0.133:192.168.0.105
    MXC IRQ initialized
    PID hash table entries: 512 (order: 9, 2048 bytes)
    MPLL clock rate=399000080
    MPLL clock rate=266000053
    BUG: at arch/arm/mach-mx27/time.c:201 mxc_init_time()
    MXC GPT timer initialized, rate = 13300002
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 126872KB available (2660K code, 278K data, 96K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    AIPI VA base: 0xd4000000
    CPU is i.MX27 Revision 2.0
    Clock input source is 26000000
    MPLL clock rate=266000053
    MPLL clock rate=399000080
    MXC GPIO hardware
    set_wake_irq: irq=157, gpio=93, gpio_idx=29
    Exit set_wake_irqSD card is absent
    MXC I2C driver
    CSPI: mxc_spi-0 probed
    CSPI: mxc_spi-1 probed
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    mc13783 Rev 3.3 FinVer 0 detected
    Device spi1.0 probed
    PMIC RTC successfully probed
    PMIC Light successfully loaded
    PMIC Power successfully probed
    NET: Registered protocol family 2
    Time: mxc_gpt clocksource has been installed.
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    usb: OTG gadget (isp1504) registered
    MX27: Power management module initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: MXC Internal UART driver
    mxcintuart.0: ttymxc0 at MMIO map 0x1000a000 mem 0xd400a000 (irq = 20) is a Free
    scale MXC
    mxcintuart.1: ttymxc1 at MMIO map 0x1000b000 mem 0xd400b000 (irq = 19) is a Free
    scale MXC
    mxcintuart.2: ttymxc2 at MMIO map 0x1000c000 mem 0xd400c000 (irq = 18) is a Free
    scale MXC
    mxcintuart.4: ttymxc4 at MMIO map 0x1001b000 mem 0xd401b000 (irq = 49) is a Free
    scale MXC
    mxcintuart.5: ttymxc5 at MMIO map 0x1001c000 mem 0xd401c000 (irq = 48) is a Free
    scale MXC
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    FEC ENET Version 0.2
    eth0: ethernet 00:01:02:03:04:05
    i2c /dev entries driver
    fec: PHY @ 0x1f, ID 0x0007c0c3 -- LAN8700
    MXC MTD nor Driver 2.0
    mxc_nor_flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    Intel/Sharp Extended Query Table at 0x0035
    cfi_cmdset_0001: Erase suspend on write enabled
    RedBoot partition parsing not available
    cmdlinepart partition parsing not available
    MXC flash: no partition info available, registering whole flash
    usbmon: debugfs is not available
    usbcore: registered new interface driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    ARC USBOTG Device Controller driver version 1 August 2005 init
    Disable USBOTG power and OC
    ARC USBOTG h/w ID=0x5 revision=0x42
    SSI module loaded successfully
    PMIC Character device: successfully loaded
    PMIC Audio driver loading...
    PMIC Battery successfully probed
    PMIC Connectivity driver loading..
    DPTC controller initialized
    SEC: mxc_sec_mod_init() called
    Sahara HW Version is 0x00000003
    VPU initialized
    MXC MMC/SD driver
    mxcmci-1 found
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    ieee80211: 802.11 data/management/control stack, git-1.1.13
    ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
    eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
    device=eth0, addr=192.168.0.133, mask=255.255.255.0, gw=255.255.255.255,
    host=192.168.0.133, domain=, nis-domain=(none),
    bootserver=192.168.0.105, rootserver=192.168.0.105, rootpath=
    Looking up port of RPC 100003/2 on 192.168.0.105
    Looking up port of RPC 100005/1 on 192.168.0.105
    VFS: Mounted root (nfs filesystem) readonly.
    Freeing init memory: 96K
    Failed to execute /linuxrc. Attempting defaults...
    Mount failed for selinuxfs on /selinux: No such device
    INIT: version 2.86 booting
    Starting the hotplug events dispatcher: udevd.
    Synthesizing the initial hotplug events...done.
    Waiting for /dev to be fully populated...done.
    Activating swap...done.
    Remounting root filesystem...done.
    Calculating module dependencies
    Loading modules:
    Checking all file systems: fsck
    fsck 1.40 (29-Jun-2007)
    Mounting local filesystems: mount nothing was mounted
    umount.nfs: /dev/root: not found or not mounted
    Checking SELinux contexts: selinux-basics.
    Starting network interfaces: done.
    Starting portmap daemon....
    Cleaning: /tmp /var/lock /var/run done.
    Updating /etc/motd...done.
    INIT: Entering runlevel: 3
    Starting system log daemon: syslogdipv6: disagrees about version of symbol struc
    t_module
    klogd.
    Starting NFS common utilities: statd.
    Starting internet superserver: inetd.

    #
    # USB support
    #
    CONFIG_USB_ARCH_HAS_HCD=y
    # CONFIG_USB_ARCH_HAS_OHCI is not set
    CONFIG_USB_ARCH_HAS_EHCI=y
    CONFIG_USB=y
    CONFIG_USB_DEBUG=y

    #
    # Miscellaneous USB options
    #
    CONFIG_USB_DEVICEFS=y
    # CONFIG_USB_DYNAMIC_MINORS is not set
    # CONFIG_USB_SUSPEND is not set
    # CONFIG_USB_OTG is not set

    #
    # USB Host Controller Drivers
    #
    # CONFIG_USB_EHCI_HCD is not set
    # CONFIG_USB_ISP116X_HCD is not set
    # CONFIG_USB_SL811_HCD is not set
    # CONFIG_USB_MUSB_HDRC is not set
    # CONFIG_USB_GADGET_MUSB_HDRC is not set

    #
    # USB Device Class drivers
    #
    # CONFIG_USB_ACM is not set
    # CONFIG_USB_PRINTER is not set

    #
    # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
    #

    #
    # may also be needed; see USB_STORAGE Help for more information
    #
    # CONFIG_USB_LIBUSUAL is not set

    #
    # USB Input Devices
    #
    CONFIG_USB_HID=y
    # CONFIG_USB_HIDINPUT_POWERBOOK is not set
    # CONFIG_HID_FF is not set
    # CONFIG_USB_HIDDEV is not set
    # CONFIG_USB_AIPTEK is not set
    # CONFIG_USB_WACOM is not set
    # CONFIG_USB_ACECAD is not set
    # CONFIG_USB_KBTAB is not set
    # CONFIG_USB_POWERMATE is not set
    # CONFIG_USB_TOUCHSCREEN is not set
    # CONFIG_USB_YEALINK is not set
    # CONFIG_USB_XPAD is not set
    # CONFIG_USB_ATI_REMOTE is not set
    # CONFIG_USB_ATI_REMOTE2 is not set
    # CONFIG_USB_KEYSPAN_REMOTE is not set
    # CONFIG_USB_APPLETOUCH is not set
    # CONFIG_USB_GTCO is not set

    #
    # USB Imaging devices
    #
    # CONFIG_USB_MDC800 is not set

    #
    # USB Network Adapters
    #
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_RTL8150 is not set
    # CONFIG_USB_USBNET_MII is not set
    # CONFIG_USB_USBNET is not set
    CONFIG_USB_MON=y

    #
    # USB port drivers
    #

    #
    # USB Serial Converter support
    #
    # CONFIG_USB_SERIAL is not set

    #
    # USB Miscellaneous drivers
    #
    # CONFIG_USB_EMI62 is not set
    # CONFIG_USB_EMI26 is not set
    # CONFIG_USB_ADUTUX is not set
    # CONFIG_USB_AUERSWALD is not set
    # CONFIG_USB_RIO500 is not set
    # CONFIG_USB_LEGOTOWER is not set
    # CONFIG_USB_LCD is not set
    # CONFIG_USB_BERRY_CHARGE is not set
    # CONFIG_USB_LED is not set
    # CONFIG_USB_CYPRESS_CY7C63 is not set
    # CONFIG_USB_CYTHERM is not set
    # CONFIG_USB_PHIDGET is not set
    # CONFIG_USB_IDMOUSE is not set
    # CONFIG_USB_FTDI_ELAN is not set
    # CONFIG_USB_APPLEDISPLAY is not set
    # CONFIG_USB_LD is not set
    # CONFIG_USB_TRANCEVIBRATOR is not set
    # CONFIG_USB_IOWARRIOR is not set
    # CONFIG_USB_TEST is not set

    #
    # USB DSL modem support
    #

    #
    # USB Gadget Support
    #
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_DEBUG_FILES=y
    CONFIG_USB_GADGET_SELECTED=y
    # CONFIG_USB_GADGET_NET2280 is not set
    # CONFIG_USB_GADGET_PXA2XX is not set
    # CONFIG_USB_GADGET_GOKU is not set
    # CONFIG_USB_GADGET_LH7A40X is not set
    # CONFIG_USB_GADGET_OMAP is not set
    CONFIG_USB_GADGET_ARC=y
    CONFIG_USB_ARC=y
    # CONFIG_USB_GADGET_AT91 is not set
    # CONFIG_USB_GADGET_DUMMY_HCD is not set
    CONFIG_USB_GADGET_DUALSPEED=y
    CONFIG_USB_GADGET_ARC_OTG=y
    # CONFIG_USB_GADGET_FSL_MC13783 is not set
    # CONFIG_USB_GADGET_FSL_1301 is not set
    CONFIG_USB_GADGET_FSL_1504=y
    CONFIG_USB_ZERO=y
    # CONFIG_USB_ETH is not set
    # CONFIG_USB_GADGETFS is not set
    # CONFIG_USB_FILE_STORAGE is not set
    # CONFIG_USB_G_SERIAL is not set
    # CONFIG_USB_MIDI_GADGET is not set
    You are not authorized to post a reply.