Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Improved Leonardo bootloader #93

Closed
wants to merge 3 commits into from

3 participants

@Lauszus

The power-on reset detection didn't work properly, but has now been fixed.
With the original firmware my board always ran the bootloader. But the updated version works perfectly. The upload process (without needing to press the reset button) also works as intended.

The .hex file is compiled using the version of LUFA as originally used ("LUFA 111009").
The VID and PID are the same as the original ones, as defined in the the makefile:

#USB vendor ID (VID)
#official Arduino LLC VID
#VID = 0x2341

#USB product ID (PID)
#official Leonardo PID
#PID = 0x0036

@Lauszus Lauszus Improved Leonardo bootloader
The power-on reset detection didn't work properly, but has now been
fixed
692de00
@Lauszus

Sorry to bother you, but why hasn't this been merged yet?
I'm okay if you want to compile the .hex file yourself, but I think a lot of people will miss the auto-rest functionality like this guy: http://www.sparkfun.com/products/11286#comment-4fd2c8bace395f680e000000
Or is it only a few that is having this issue?

@sarfata

I agree with Lauszus that this bugfix should be merged in upstream. I just spent 3 hours debugging the same problem and with the same fix. It works.

@danderso

Was the fix to properly sense the power on reset, made in the bootloader code or elsewhere. If it was in a change to the bootloader can you please send me a link to the fixed code.

@sarfata

The fix is in the bootloader (Caterina.c). It is in Lauszus pull-request in : 692de00 (scroll to the bottom of the page to see the source code diff).

thomas

@danderso

Thanks I see the difference. Rather than recompile (and get all the dependancies) is there a place I can easily download the new Caterina-Leonardo.hex ?

@danderso

Please disregard my last, got the .hex file from the post, thanks.

@Lauszus

Since I deleted the files by mistake I have now created a new pull request: #118

@Lauszus Lauszus closed this
@danderso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 3, 2012
  1. @Lauszus

    Improved Leonardo bootloader

    Lauszus authored
    The power-on reset detection didn't work properly, but has now been
    fixed
Commits on Jun 22, 2012
  1. @Lauszus
  2. @Lauszus
Something went wrong with that request. Please try again.