finomnis / teensy4-selfrebootor Goto Github PK
View Code? Open in Web Editor NEWA Teensy4 'rebootor' implementation that can reboot itself
License: Apache License 2.0
A Teensy4 'rebootor' implementation that can reboot itself
License: Apache License 2.0
Thanks for this useful utility.
Unfortunately when I follow the instructions, I'm not seeing intended / expected behavior. I see Van Ooijen Technische Informatica Teensy Rebootor
in lsusb, and I get this far:
$ cargo run --release --example teensy4_selfrebootor
Finished release [optimized] target(s) in 0.02s
Running `python3 examples/run.py target/thumbv7em-none-eabihf/release/examples/teensy4_selfrebootor`
Flashing target/thumbv7em-none-eabihf/release/examples/teensy4_selfrebootor ...
Teensy Loader, Command Line, Version 2.2
Read "/tmp/tmpk8p16hp7/firmware.hex": 36952 bytes, 1.8% usage
Hard Reboot performed
Waiting for Teensy device...
(hint: press the reset button)
But then I must press the button to get the rest:
Found HalfKay Bootloader
Read "/tmp/tmpk8p16hp7/firmware.hex": 36952 bytes, 1.8% usage
Programming.....................................
Booting
Teensy successfully flashed.
Without this firmware I don't even get the Hard Reboot performed
line, so something is going right, but I'm not sure what state it's getting into.
This is a Teensy 4.1 if it matters.
The error is consistent with the PORT_SUSPEND message I see on Wireshark USB capture, maybe indicating that the board or the attached USB hub may have trouble waking up from a suspend state. I do get some back and forth, though, so I'm not sure what exactly is going on.
I did capture the entire communication on Saleae with USB 1.1 Full-Speed, but my knowledge of USB isn't deep enough to decypher what's going on. I attached the Saleae log, maybe someone else understands what's going on?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.