-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Conversation
The power-on reset detection didn't work properly, but has now been fixed
Sorry to bother you, but why hasn't this been merged yet? |
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. |
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 |
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 ? |
Please disregard my last, got the .hex file from the post, thanks. |
Since I deleted the files by mistake I have now created a new pull request: #118 |
Thanks, I got a reply from Thomas Sarlandie who pointed me to the fix I downloaded your .hex and burned it, it works perfectly now, thank you. On 12-09-30 08:37 PM, Kristian Lauszus wrote:
|
Testmode for Micro sensor
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