Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hid_bootloader_cli is based on rather older teensy_loader_cli #97
It seems teensy_loader_cli which your hid_bootloader_cli is forked from has been updated to accommodate newer arms with larger buffer allocation etc.
I updated newer teensy_loader_cli to accept LUFA firmware. (Unlike your current approach to try for both, I made USB ID choice to be deterministic. If compiled code is called as hid_bootloader_cli, it only works with LUFA firmware.
See it in the branched teensy_loader_cli repo
Also code itself is
I hope this patch set is more easy to track teensy code in future.
Thank you, this is helpful to me.
that I don't get with teensy's newest version (or osamuaoki's version)
I'd love to see this one fixed if possible since it's basically preventing me from flashing any .hex file I try with the HID bootloader on my Printrboard F5. I posted a $5 bounty on bountysource if anyone's interested in trying to work on this (or at least fix the error reading issue).
As maqifrnswa stated though, I don't see the issue on the newest teensy version of the loader.
Here's the hex file I'm trying to upload on my Printrboard: firmware.zip
If I'm just being dumb and doing something wrong here then please let me know.
Alright, well I took the new Teensy Loader 2.1 and made a quick fix for it using the following from the current loader:
I was able to flash my firmware successfully using it. Here's a gist of my changes: https://gist.github.com/tenten8401/9c575d95c483f64dbf9a378fc0cf9cfb
I'm sure it'll come in useful for someone, unless the main version gets some love.