Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: Leonardo "Blink" contains USB code? on: September 06, 2012, 10:13:16 am
There is a known problem with the Adafruit bootloader and driver (early versions and modifications at least) causing bluescreens.  The early Adafruit stuff was based on a now-obsolete Leonardo bootloader.  Best bet is to do like sth77 suggests and burn the Leonardo bootloader from Arduino 1.0.1 or later.
2  Using Arduino / Installation & Troubleshooting / Re: Issue installing leonardo drivers on: September 06, 2012, 09:56:48 am
Confirming what Clamon and others have said, there does seem to be an issue with Leonardo drivers on a few specific models of Dell and, apparently, HP laptops.  I'm working with one community member now to track down the bug and hope to have a fix soon.
3  Using Arduino / Installation & Troubleshooting / Re: Issue installing leonardo drivers on: July 26, 2012, 10:11:39 am
Clamon, I know it has been some time but did you ever find a solution for this?  I've heard a few other people having this problem on Win7 and am trying to get it solved.  Any information you can provide would be very helpful:
* Win7 architecture (32- or 64-bit)
* make and model of your computer
* are there any hubs between the computer and the Leonardo?
4  Using Arduino / Interfacing w/ Software on the Computer / Re: Leonardo and Excel on: July 25, 2012, 05:06:31 pm
I think he meant having the Leonardo "type" directly into fields in Excel.  Something like this (assumes you start with a fresh Excel sheet in cell A1):
void setup()  {
  Keyboard.print("A1 text");
  Keyboard.print("B1 text");
  Keyboard.print("B2 text");

void loop() {

5  Using Arduino / Installation & Troubleshooting / Re: Loading Blink on the Leonardo error on: July 25, 2012, 04:57:08 pm
funkyguy, what version of Win7 are you running?  Also, can you please open Device Manager and send the Hardware IDs reported for the Leonardo?

What happened when you followed the driver install instructions?  Did it work at all?
6  Using Arduino / Project Guidance / Re: Arduino Leonardo using FTDI module connected to pin0 and pin1...? on: July 02, 2012, 06:48:58 pm
This should be possible but you'll need to recompile the Uno's "optiboot" bootloader for the ATMEGA32U4 (you can change the target in the Makefile). 
7  Using Arduino / Installation & Troubleshooting / Re: Issue installing leonardo drivers on: July 02, 2012, 06:46:11 pm
clamon and alfoe,

Please try this:
0. connect the Leonardo directly to the computer's USB port (not through a hub).  also, disable any virtualization or security software that may intercept USB traffic.
1. open Device Manager and scroll down to the Leonardo icon
2. press reset on the board
3. as soon as the Leonardo icon reappears, double-click to open its dialog
4. this should be the settings dialog for the bootloader not the sketch (the two modes look different to the OS).  confirm by checking that the VID/PID is 0x2341/0x0036 (not 0x8036)
5. try installing the driver for the bootloader by pointing Windows to the drivers/ folder

While you're doing this you'll see the bootloader disconnect and the sketch connect in its place.  That's alright - as long as you leave the bootloader dialog open everything should work fine. 

Once you finish installing the bootloader driver you'll need to install again for the sketch.  It should succeed this time.

8  Using Arduino / Programming Questions / Re: Leonardo baud rate for USB CDC on: July 02, 2012, 06:35:58 pm
mkwired, sorry - had overlooked your message.  I can't take much credit - most of the implementation was done by a brilliant guy named Peter Barrett. 

Almost everything I know about USB has come from working with Dean Camera's LUFA project (, reading Jan Axelson's USB Complete book, and reading the specs until my eyes bled.
9  Using Arduino / Installation & Troubleshooting / Re: Issue installing leonardo drivers on: June 26, 2012, 04:01:28 pm
Can you provide the VID and PID numbers for the board as given by Device Manager?
10  Development / Other Hardware Development / Re: Board Name on: June 26, 2012, 04:00:12 pm
The "iProduct" string sent by the board on enumeration tells the operating system gives the human-readable name.  The value of that string is set near the top of USBCore.cpp in hardware/arduino/cores/arduino/.  It's a Unicode string so you're looking for 'L', 'e', 'o', 'n' [...] not "Leonardo".  The string used depends on the PID number of the device (also sent during enumeration) which is given in boards.txt.

Just be aware that if you'll be distributing your own custom hardware based on the Leonardo that you'll need to provide your own VID.
11  Using Arduino / Installation & Troubleshooting / Re: IDE 1.0.1 Problems with Leonardo, Windows XP and Windows 7 Enterprise on: June 20, 2012, 12:06:20 pm
Thanks for this.  From your results, the bootloader is definitely starting (see the "Found programmer: Id = "CATERIN"; type = S" line) but times out before the upload (see a little later when it gets a write error then reports "Found programmer: Id = "pÿ""; type = ç").  I'm surprised that it takes the Leonardo so long (at least six seconds) to reenumerate after reset - that's much longer than typical. 

How frequently do you get this upload problem on the T410 versus how often does upload work?  Are you running any virtual machine or security software on the T410 that could be interfering with or slowing down the enumeration of new USB devices? 
12  Using Arduino / Installation & Troubleshooting / Re: Leonardo doesn't send to Serial Monitor after software reset on: June 19, 2012, 10:46:24 pm
ScottG, how soon after the reset are you opening the Serial Monitor?  If you open the monitor while the bootloader is running it will happily connect but then be orphaned when the bootloader ends and the sketch starts.  Unfortunately there is no indication that this has happened, you just end up with a monitor window that is attached to a port that doesn't exist anymore.
13  Using Arduino / Installation & Troubleshooting / Re: IDE 1.0.1 Problems with Leonardo, Windows XP and Windows 7 Enterprise on: June 19, 2012, 10:41:44 pm
josto, can you send the status messages after a failed upload attempt (turn on verbose output in preferences first)?  I'd have to see more to be sure, but your timing problem theory may be correct.  Some hubs (and, by extension, the root hub in each computer) introduce their own delay when a USB device is trying to enumerate. 

If nothing else, you should be able to manually reset the Leonardo and get a successful upload every time. 
14  Using Arduino / Programming Questions / Re: Leonardo baud rate for USB CDC on: June 08, 2012, 07:45:10 am
That 1 ms polling rate is true only for HID (the keyboard and mouse) which use the USB interrupt transfer type.  CDC (which Leonardo refers to as Serial) uses the USB bulk transfer type which doesn't guarantee timing but does guarantee that it will transfer the data as fast as possible.  That "fast as possible" depends on what else is happening on the bus AND on the host computer.

In practice this does lead to different maximum transfer speeds for Serial on different computers (and even on the same computer under different workloads).  I don't have a board with me right now but, from memory, you can usually assume at least several tens of kb per second, up to a few hundreds of kbps.

It's not necessary to call Serial.begin() for the Leonardo since the CDC device is initialized elsewhere.  The stub was retained for backwards-compatibility. 

Serial (which talks CDC over USB to the host) and Serial1 (which talks to pins 0 and 1 via the UART) are both definitely available and usable on the Leonardo.
15  Using Arduino / Project Guidance / Re: Modding Xbox Controller with Leonardo? on: June 07, 2012, 09:52:28 pm
Pylon is right.  The Leonardo only works as a USB device - to support a USB joystick/foot pedal/controller you need a USB host.  This USB host shield may do what you want: 

I know the XBox controllers use a protocol similar to USB but is it 100% compatible?
Pages: [1] 2