perhof:
If TX is on all the time you're most likely locking the USB interface with to much serial data. It sounds an awful lot like a problem with the firmware.
Run this:
lsusb -v -d 2341: | grep -i bcdDevice
A good board should have version 0.01
A board that needs a new firmware would have 0.00
I have 0.01 version. But I'm getting this message: Couldn't open device.
bizancio@bizancio-Aspire-5720Z:~/Escritorio/arduino-1.0.1$ lsusb -v -d 2341: | grep -i bcdDevice
Couldn't open device, some information will be missing
bcdDevice 0.01
If I do a complete dump I got this data:
bizancio@bizancio-Aspire-5720Z:~/Escritorio/arduino-1.0.1$ lsusb -v -d 2341:
Bus 005 Device 003: ID 2341:0042
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x2341
idProduct 0x0042
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 220
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 62
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 10.01
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 255
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 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 1
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 1
perhof:
If it's not the firmware,
do you have access to a Windows computer? You could try connecting your board to that one and install the drivers. See if that makes a difference.
Maybe you could upload some other sketch (blink?) from Windows to see if it has anything to do with serial data from the sketch you have in flash.
In Windows XP worked! I could be able to load a program on my Arduino (the blinking LED example). But... the reality is that I'm not confortable working with Windows and I'll keep trying to make it work in my Kubuntu install. By the way, my Kernel version is "3.2.0-24-generic".
perhof:
Is there a way to debug the program? Should I download the source and try tu run it from source?
I'm not sure which program you are talking about.
If you mean the Arduino IDE, yes if the one you have is installed from some repository then download the latest version from arduino.cc instead, unpack it and just run it from the unpacked dir.
Which version are you using now?
I'm using arduino IDE 1.0.1.
Now I've loaded a script into the board using Windows, TX light is off all the time. Just L light is blinking every second (the same for the Led on PIN 13). But, I'm still having the menu grayed.