rewriting scooter firmware in rust is the kind of unnecessary excellence i come here for. how did you debug without bricking it, swd probe or pure faith
Reverse engineering my e-scooter and rewriting the firmware in Rust
41–50 of 113 posts
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#42We need to free up Bosch systems. They use lots of open source libs, but they close the whole chain (like spare batteries) so that you cannot plug external batteries from other suppliers.
Pretty much anything hardware based is like this. Everything is 100% closed source and bolted down such that inspecting it is outright impossible without extensive reverse engineering.
It's disappointing that manufacturers are moving the other way to enable vendor lock-in. But only one manufacturer has to jump the fence and the others will be left behind.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#43We need to free up Bosch systems. They use lots of open source libs, but they close the whole chain (like spare batteries) so that you cannot plug external batteries from other suppliers.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#44I do not know how what the legal context is in your country, but you may need to have a device that uses public roads licensed to do so. In case of any legal issues (accidents, mostly) not only you would not be covered by your insurance, but your situation may worsen for having operated it. Something to keep in mind.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#45My general piece of advice to anyone looking to do this is not to even bother. Just strip the hardware package and replace it with an arduino/bb or an equivalent sbc figure out what the motors are and wire it up yourself. Way faster and less tedious
This is perhaps more of a Maker perspective. I think the article author's approach (What you might classify as embedded engineer) is more suitable broadly. These are categorizations without a fine line, but are IME useful for clustering approaches and preferences.
For another example of an adjacent non-obvious clustering, see embedded vs robotics; they don't have as much overlap as you might guess!
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#46We need to free up Bosch systems. They use lots of open source libs, but they close the whole chain (like spare batteries) so that you cannot plug external batteries from other suppliers.
Also it's very expensive to actually make an ecosystem compared to a close one. The best way to incentivize manufacturers to do it is by creating a competing product that is open and having that differentiating feature drive sales away. That's generally the approach that works best.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#47Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#48Wish I was brainy enough to do this sort of thing!
That's what is nice about LLMs. You CAN do these things now!
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#49First of all, this is impressive. I do not know how what the legal context is in your country, but you may need to have a device that uses public roads licensed to do so. In case of any legal issues (accidents, mostly) not only you would not be covered by your insurance, but your situation may worsen for having operated it. Something to keep in mind.
Re: Reverse engineering my e-scooter and rewriting the firmware in Rust
#50Oh god that's awful. Why would anyone in their right mind do this?