RE: debug board seems not working
hi, I just ignore the driver section and consider it is only required by flash eeprom part. Thanks a lot! Best Regards, Mac Lin > Date: Tue, 28 Oct 2008 15:14:32 +0330 > From: [EMAIL PROTECTED] > To: community@lists.openmoko.org > CC: [EMAIL PROTECTED] > Subject: Re: debug board seems not working > > On Tue, 28 Oct 2008 17:01:40 +0800 > Lin Mac <[EMAIL PROTECTED]> 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 > > > > -- > > [EMAIL PROTECTED]:~# lsusb > > Bus 007 Device 001: ID : > > Bus 006 Device 002: ID 046d:c018 Logitech, Inc. > > Bus 006 Device 001: ID : > > Bus 005 Device 022: ID 1457:5118 > > Bus 005 Device 021: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub > > Bus 005 Device 001: ID : > > Bus 002 Device 001: ID : > > Bus 001 Device 001: ID : > > Bus 004 Device 002: ID 064e:a101 Suyin Corp. > > Bus 004 Device 001: ID : > > Bus 003 Device 001: ID : > > [EMAIL PROTECTED]:~# lsusb -d 1457:5118 -v > > > > Bus 005 Device 022: ID 1457:5118 > > Device Descriptor: > > bLength18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass0 (Defined at Interface level) > > bDeviceSubClass 0 > > bDeviceProtocol 0 > > bMaxPacketSize0 8 > > idVendor 0x1457 > > idProduct 0x5118 > > bcdDevice5.00 > > iManufacturer 1 OpenMoko > > iProduct2 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 > > bInterfaceNumber0 > > bAlternateSetting 0 > > bNumEndpoints 2 > > bInterfaceClass 255 Vendor Specific Class > > bInterfaceSubClass255 Vendor Specific Subclass > > bInterfaceProtocol255 Vendor Specific Protocol > > iInterface 2 Debug Board for Neo1973 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes2 > > Transfer TypeBulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0040 1x 64 bytes > > bInterval 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 >
Re: debug board seems not working
On Tue, 28 Oct 2008 17:01:40 +0800 Lin Mac <[EMAIL PROTECTED]> 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 > > -- > [EMAIL PROTECTED]:~# lsusb > Bus 007 Device 001: ID : > Bus 006 Device 002: ID 046d:c018 Logitech, Inc. > Bus 006 Device 001: ID : > Bus 005 Device 022: ID 1457:5118 > Bus 005 Device 021: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub > Bus 005 Device 001: ID : > Bus 002 Device 001: ID : > Bus 001 Device 001: ID : > Bus 004 Device 002: ID 064e:a101 Suyin Corp. > Bus 004 Device 001: ID : > Bus 003 Device 001: ID : > [EMAIL PROTECTED]:~# lsusb -d 1457:5118 -v > > Bus 005 Device 022: ID 1457:5118 > Device Descriptor: > bLength18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 8 > idVendor 0x1457 > idProduct 0x5118 > bcdDevice5.00 > iManufacturer 1 OpenMoko > iProduct2 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 > bInterfaceNumber0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass255 Vendor Specific Subclass > bInterfaceProtocol255 Vendor Specific Protocol > iInterface 2 Debug Board for Neo1973 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes2 > Transfer TypeBulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes2 > Transfer TypeBulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber1 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass255 Vendor Specific Subclass > bInterfaceProtocol255 Vendor Specific Protocol > iInterface 2 Debug Board for Neo1973 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes2 > Transfer TypeBulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Endpoint Descriptor: >