My J-Link works great in Windows XP. I'm now trying to get it to work on my Ubuntu 9.04 32 bit machine. I followed the instructions in the README file that came with the Linux version of J-Link Server. I copied the 45 file, added the group "plugdev", added me as a user, etc...
I have libusb-0.1-4 installed.
I can see the J-Link USB device when I do "lsusb -v"
When I try to run the J-Link program I get an error as follows "file too short". Anyone know how to fix this? Thanks.
Display All
I have libusb-0.1-4 installed.
I can see the J-Link USB device when I do "lsusb -v"
When I try to run the J-Link program I get an error as follows "file too short". Anyone know how to fix this? Thanks.
Source Code
- lsusb -v
- Bus 004 Device 004: ID 1366:0101
- Device Descriptor:
- bLength 18
- bDescriptorType 1
- bcdUSB 2.00
- bDeviceClass 0 (Defined at Interface level)
- bDeviceSubClass 0
- bDeviceProtocol 0
- bMaxPacketSize0 8
- idVendor 0x1366
- idProduct 0x0101
- bcdDevice 1.00
- iManufacturer 1 SEGGER
- iProduct 2 J-Link
- iSerial xxxxxxxxxxxxxxx
- bNumConfigurations 1
- Configuration Descriptor:
- bLength 9
- bDescriptorType 2
- wTotalLength 32
- bNumInterfaces 1
- bConfigurationValue 1
- iConfiguration 0
- bmAttributes 0xc0
- Self 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 0
- 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 1
- 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 1
- Device Status: 0x0001
- Self Powered