debug board seems not working

Armin ranjbar zoup at zoup.org
Tue Oct 28 12:44:32 CET 2008


On Tue, 28 Oct 2008 17:01:40 +0800
Lin Mac <mkl23 at hotmail.com> wrote:

you need to connect to DB using openocd ;)

> 
> hi,
> 
> I'm using Freerunner and debug board v3, and trying to use serial
> console, and Ubuntu 8.04 on my PC.
> 
> I have connected the FR and the debug board with the flexible cable.
> The /dev/ttyUSB0 and /dev/ttyUSB1 doesn't show up, but
> only /dev/ttyACM0, when I connected both USB of freerunner and debug
> board to PC, as described in
> http://wiki.openmoko.org/wiki/Debug_Board_v3.
> 
> 1. Should the /dev/ttyUSB0 and /dev/ttyUSB1 show up while no FR
> connected to debug board (and the debug board connected to PC)?
> 2. Should I flash the debug board? 
> Any idea? 
> 
> Thanks in advance.
> 
> ----------------------
> dmesg result: 
>     [22932.304312] usb 5-2: new full speed USB device using uhci_hcd and
> address 18 [22932.487138] usb 5-2: configuration #1 chosen from 2 choices
>     [22932.497342] /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c:
> This device cannot do calls on its own. It is no modem. [22932.497373]
> cdc_acm 5-2:1.0: ttyACM0: USB ACM device [22935.663858] usb 5-1: new
> full speed USB device using uhci_hcd and address 19 [22935.816913] usb
> 5-1: configuration #1 chosen from 1 choice [22935.818759] hub 5-1:1.0:
> USB hub found [22935.820674] hub 5-1:1.0: 4 ports detected
>     [22936.137318] usb 5-1.1: new full speed USB device using uhci_hcd
> and address 20 [22936.297399] usb 5-1.1: configuration #1 chosen from 1
> choice
> 
> --------------
> root at test-laptop:~# lsusb
> Bus 007 Device 001: ID 0000:0000  
> Bus 006 Device 002: ID 046d:c018 Logitech, Inc. 
> Bus 006 Device 001: ID 0000:0000  
> Bus 005 Device 022: ID 1457:5118  
> Bus 005 Device 021: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
> Bus 005 Device 001: ID 0000:0000  
> Bus 002 Device 001: ID 0000:0000  
> Bus 001 Device 001: ID 0000:0000  
> Bus 004 Device 002: ID 064e:a101 Suyin Corp. 
> Bus 004 Device 001: ID 0000:0000  
> Bus 003 Device 001: ID 0000:0000  
> root at test-laptop:~# lsusb -d 1457:5118 -v
> 
> Bus 005 Device 022: ID 1457:5118  
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0         8
>   idVendor           0x1457 
>   idProduct          0x5118 
>   bcdDevice            5.00
>   iManufacturer           1 OpenMoko
>   iProduct                2 Debug Board for Neo1973
>   iSerial                 0 
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           55
>     bNumInterfaces          2
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass       255 Vendor Specific Class
>       bInterfaceSubClass    255 Vendor Specific Subclass
>       bInterfaceProtocol    255 Vendor Specific Protocol
>       iInterface              2 Debug Board for Neo1973
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         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     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass       255 Vendor Specific Class
>       bInterfaceSubClass    255 Vendor Specific Subclass
>       bInterfaceProtocol    255 Vendor Specific Protocol
>       iInterface              2 Debug Board for Neo1973
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x83  EP 3 IN
>         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     0x04  EP 4 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
> Device Status:     0x0000
>   (Bus Powered)
> root at test-laptop:~# 
> 
> --------------
> 
> Best Regards,
> Mac Lin
> 
> _________________________________________________________________
> 聰明搜尋和瀏覽網路的免費工具列 — MSN 搜尋工具列 
> http://toolbar.live.com/
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


-- 
Armin ranjbar , System Administrator




More information about the community mailing list