Improved Leonardo bootloader #93

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

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

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

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 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.

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 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 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 commented Oct 1, 2012

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

Contributor

Lauszus commented Oct 1, 2012

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

Lauszus closed this Oct 1, 2012

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: arduino/Arduino#118
#118


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

@tbowmo tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016

@henrikekblad henrikekblad Merge pull request #93 from tbowmo/master
Testmode for Micro sensor
ce597b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment