Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
--- Quote Start --- Hi, On my Ubuntu system, removing the USB-Blaster, then clearing the kernel messages using 'sudo dmesg -c', and then re-inserting the USB-Blaster, I get the following output;
dwh@ubuntu:~$ dmesg
usb 2-1.2: new full speed USB device using ehci_hcd and address 13
--- Quote End --- I try a couple of times and it didn't change, same result. Here my lsusb
lsusb -d 09fb:6001 -v
Bus 001 Device 005: ID 09fb:6001 Altera
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x09fb Altera
idProduct 0x6001
bcdDevice 4.00
iManufacturer 1 EPFL
iProduct 2 USB-Blaster
iSerial 3 00000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
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 USB-Blaster
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 USB-Blaster
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
--- Quote Start --- I'm not sure why you are getting a message indicating 'invalid maxpacket 64', since that packet size is valid. I'd focus on trying to figure out why you are getting that message first. --- Quote End --- Here what I found releated to this We can ignore the messages about "invalid maxpacket 64". It merely states that the FX2 registers endpoint 1 with a buffer size of 64 bytes instead of 512 bytes as required by the USB-2.0 high speed standard. However, there are 2 reasons for using 64 bytes: First, the FX2 internally only supports 64 bytes for EP 1 and second, the ftdi_sio kernel module expects 64 bytes as well since FTDI's USB-to-serial converters are all USB-1.1 "full speed" devices. triplespark.net/elec/periph/USB-FX2/software/advanced_examples.html --- Quote Start --- Plug in a development kit and try jtagconfig too. Cheers, Dave --- Quote End --- ./jtagconfig /home/faky/altera/11.0/quartus/adm/qenv.sh: line 87: warning: setlocale: LC_CTYPE: cannot change locale (en_US): No such file or directory *** The Quartus II software cannot be started because the current platform, 'linux64', does not appear to be installed in: '/home/faky/altera/11.0/quartus'. Error (Server error) when scanning hardware THX