Reverse engineering my e-scooter and rewriting the firmware in Rust
21–30 of 113 posts
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#22Earlier quoted context omitted.
Maybe I'm out of touch with the times, but I wouldn't feel safe riding an e-scooter with custom vibe coded firmware.
What make you think it is vibe coded? There is no mention of genAI being used, and the methodology looks more consistent with hand-written code he actually understands.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#23> The updater device then sends 64 byte chunks spread over 9 CAN 0x384 frames Classic CAN uses 8 bytes long frame, so 64 bits. Is it a typo in the post, vor is it using CAN-FD?
My guess is a typo.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#24> The updater device then sends 64 byte chunks spread over 9 CAN 0x384 frames Classic CAN uses 8 bytes long frame, so 64 bits. Is it a typo in the post, vor is it using CAN-FD?
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#25Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#26Earlier quoted context omitted.
What make you think it is vibe coded? There is no mention of genAI being used, and the methodology looks more consistent with hand-written code he actually understands.
What makes you think the original wasn't vibe coded?!
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#27I am also rusting my hw. Last week my mouse, this week my EUC (wish me luck). I would rather risk a crash than memory corruption
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#28Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#29Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#30This is an unbelievably impressive project and a killer write up, very satisfying. I wonder if the author looked into using Slint [1] for the UI, given the codegen bloat issues they had with buoyant (which also looks very cool). I haven't used either, but I've done a few projects with Embassy and am always looking for an excuse to try embedded GUI tools [1] https://slint.rs/