Skip to content

Improved Leonardo bootloader #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Improved Leonardo bootloader #93

wants to merge 3 commits into from

Conversation

Lauszus
Copy link
Contributor

@Lauszus Lauszus commented Jun 3, 2012

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

The power-on reset detection didn't work properly, but has now been
fixed
@Lauszus
Copy link
Contributor Author

Lauszus commented Jun 20, 2012

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
Copy link

sarfata commented Aug 24, 2012

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
Copy link

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
Copy link

sarfata commented Oct 1, 2012

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
Copy link

danderso commented Oct 1, 2012

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
Copy link

danderso commented Oct 1, 2012

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

@Lauszus
Copy link
Contributor Author

Lauszus commented Oct 1, 2012

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

@Lauszus Lauszus closed this Oct 1, 2012
@danderso
Copy link

danderso commented Oct 1, 2012

Thanks, I got a reply from Thomas Sarlandie who pointed me to the fix
and the source & instead of ==.

I downloaded your .hex and burned it, it works perfectly now, thank you.

On 12-09-30 08:37 PM, Kristian Lauszus wrote:

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


Reply to this email directly or view it on GitHub
#93 (comment).

tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants